Add CCEnhancer
This commit is contained in:
@@ -85,7 +85,7 @@ else
|
||||
comment "Patch Registry"
|
||||
Registry_install /32Bit
|
||||
comment "Create shortcuts"
|
||||
LinkFolder_install
|
||||
LinkFolder_install_64
|
||||
endif
|
||||
|
||||
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
||||
@@ -99,7 +99,7 @@ else
|
||||
comment "Patch Registry"
|
||||
Registry_install /64Bit
|
||||
comment "Create shortcuts"
|
||||
LinkFolder_install
|
||||
LinkFolder_install_32
|
||||
endif
|
||||
|
||||
endif
|
||||
@@ -111,6 +111,9 @@ endif
|
||||
; copy the ini file to the InstallDir
|
||||
copy "$IniCfgFile$" "$InstallDir32$"
|
||||
|
||||
copy -s "$CCEnhancerPath$" "$InstallDir32$"
|
||||
|
||||
|
||||
[Winbatch_install_64]
|
||||
"$InstallExe$" /S /D="$InstallDir64$" /L=$LanguageId$
|
||||
|
||||
@@ -118,6 +121,8 @@ copy "$IniCfgFile$" "$InstallDir32$"
|
||||
; copy the ini file to the InstallDir
|
||||
copy "$IniCfgFile$" "$InstallDir64$"
|
||||
|
||||
copy -s "$CCEnhancerPath$" "$InstallDir64$"
|
||||
|
||||
[Registry_install]
|
||||
; Example of setting some values of an registry key:
|
||||
;
|
||||
@@ -128,43 +133,39 @@ copy "$IniCfgFile$" "$InstallDir64$"
|
||||
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Piriform\CCleaner]
|
||||
set "UpdateCheck" = "0"
|
||||
|
||||
[LinkFolder_install]
|
||||
[LinkFolder_install_32]
|
||||
set_basefolder common_desktopdirectory
|
||||
set_subfolder ""
|
||||
delete_element "CCleaner"
|
||||
|
||||
; Example of deleting a folder from AllUsers startmenu:
|
||||
;
|
||||
; set_basefolder common_programs
|
||||
; delete_subfolder $ProductId$
|
||||
;
|
||||
; Example of creating an shortcut to the installed exe in AllUsers startmenu:
|
||||
;
|
||||
; set_basefolder common_programs
|
||||
; set_subfolder $ProductId$
|
||||
;
|
||||
; set_link
|
||||
; name: $ProductId$
|
||||
; target: <path to the program>
|
||||
; parameters:
|
||||
; working_dir: $InstallDir$
|
||||
; icon_file:
|
||||
; icon_index:
|
||||
; end_link
|
||||
;
|
||||
; Example of creating an shortcut to the installed exe on AllUsers desktop:
|
||||
;
|
||||
; set_basefolder common_desktopdirectory
|
||||
; set_subfolder ""
|
||||
;
|
||||
; set_link
|
||||
; name: $ProductId$
|
||||
; target: <path to the program>
|
||||
; parameters: <some_param>
|
||||
; working_dir: $InstallDir$
|
||||
; icon_file: <path to icon file>
|
||||
; icon_index: 2
|
||||
; end_link
|
||||
set_basefolder common_programs
|
||||
set_subfolder CCleaner
|
||||
|
||||
set_link
|
||||
name: CCleaner Enhancer
|
||||
target: $InstallDir32$/CCEnhancer.exe
|
||||
parameters:
|
||||
working_dir: $InstallDir32$
|
||||
icon_file: $InstallDir32$/CCEnhancer.exe
|
||||
icon_index: 0
|
||||
end_link
|
||||
|
||||
[LinkFolder_install_64]
|
||||
set_basefolder common_desktopdirectory
|
||||
set_subfolder ""
|
||||
delete_element "CCleaner"
|
||||
|
||||
set_basefolder common_programs
|
||||
set_subfolder CCleaner
|
||||
|
||||
set_link
|
||||
name: CCleaner Enhancer
|
||||
target: $InstallDir64$/CCEnhancer.exe
|
||||
parameters:
|
||||
working_dir: $InstallDir64$
|
||||
icon_file: $InstallDir64$/CCEnhancer.exe
|
||||
icon_index: 0
|
||||
end_link
|
||||
|
||||
[Sub_check_exitcode]
|
||||
comment "Test for installation success via exit code"
|
||||
|
||||
Reference in New Issue
Block a user