From ed691859183d20d6e8dc9e10eb657569caac0829 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 30 Apr 2013 19:37:25 +0200 Subject: [PATCH] setup progrann and config.ini are conflicting so just use the setup and the registry --- CLIENT_DATA/setup3264.ins | 4 ++-- builder-targets-cb.sh | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index 73bcead..ac03f5c 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -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: diff --git a/builder-targets-cb.sh b/builder-targets-cb.sh index 4dc7103..1deae7a 100644 --- a/builder-targets-cb.sh +++ b/builder-targets-cb.sh @@ -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 -} \ No newline at end of file