Disable UpdateCheck

This commit is contained in:
Mario Fetka 2013-04-04 12:25:37 +02:00
parent 1a48e2145f
commit 68a8cc37dc
3 changed files with 12 additions and 8 deletions

View File

@ -105,10 +105,7 @@ endif
[Files_install_32]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir32$"
; Example of recursively copying some files into the installation directory:
;
; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$"
copy "%ScriptPath%\ccleaner.ini" "$InstallDir32$"
[Winbatch_install_64]
"$InstallExe$" /S
@ -116,10 +113,7 @@ copy "$IniCfgFile$" "$InstallDir32$"
[Files_install_64]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir64$"
; Example of recursively copying some files into the installation directory:
;
; copy -s "%ScriptPath%\files\*.*" "$InstallDir64$"
copy "%ScriptPath%\ccleaner.ini" "$InstallDir64$"
[Registry_install]
; Example of setting some values of an registry key:

View File

@ -32,3 +32,7 @@ OPSI_INI_VALUE[0]="uninst.exe"
OPSI_INI_SECTION[1]="X86_64"
OPSI_INI_OPTION[1]="UninstallProg64"
OPSI_INI_VALUE[1]="uninst.exe"
OPSI_INI_SECTION[2]="Options"
OPSI_INI_OPTION[2]="UpdateCheck"
OPSI_INI_VALUE[2]="0"

View File

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