setup progrann and config.ini are conflicting so just use the setup and the registry

This commit is contained in:
Mario Fetka 2013-04-30 19:37:25 +02:00
parent c136d1c491
commit ed69185918
2 changed files with 2 additions and 7 deletions

View File

@ -110,7 +110,6 @@ endif
[Files_install_32]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir32$"
copy "%ScriptPath%\ccleaner.ini" "$InstallDir32$"
[Winbatch_install_64]
"$InstallExe$" /S /D="$InstallDir64$" /L=$LanguageId$
@ -118,7 +117,6 @@ copy "%ScriptPath%\ccleaner.ini" "$InstallDir32$"
[Files_install_64]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir64$"
copy "%ScriptPath%\ccleaner.ini" "$InstallDir64$"
[Registry_install]
; Example of setting some values of an registry key:
@ -127,6 +125,8 @@ copy "%ScriptPath%\ccleaner.ini" "$InstallDir64$"
; set "name1" = "some string value"
; set "name2" = REG_DWORD:0001
; set "name3" = REG_BINARY:00 af 99 cd
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Piriform\CCleaner]
set "UpdateCheck" = "0"
[LinkFolder_install]
; Example of deleting a folder from AllUsers startmenu:

View File

@ -24,8 +24,3 @@ function cleanup() {
builder_cleanup
}
function create() {
echo "Create"
builder_create
cp $INST_DIR/CLIENT_DATA/opsi-${PN}.ini $INST_DIR/CLIENT_DATA/ccleaner.ini
}