create menu entries and desktop icon
This commit is contained in:
parent
52a54e85b2
commit
098312d72e
@ -103,16 +103,12 @@ del -sf "$InstallDir64$\"
|
|||||||
; deletekey [HKEY_LOCAL_MACHINE\Software\$ProductId$]
|
; deletekey [HKEY_LOCAL_MACHINE\Software\$ProductId$]
|
||||||
|
|
||||||
[LinkFolder_uninstall]
|
[LinkFolder_uninstall]
|
||||||
; Example of deleting a folder from AllUsers startmenu:
|
set_basefolder common_programs
|
||||||
;
|
delete_subfolder "OpenVPN Manager"
|
||||||
; set_basefolder common_programs
|
|
||||||
; delete_subfolder $ProductId$
|
set_basefolder common_desktopdirectory
|
||||||
;
|
set_subfolder ""
|
||||||
; Example of deleting a shortcut from AllUsers desktop:
|
delete_element "OpenVPN Manager"
|
||||||
;
|
|
||||||
; set_basefolder common_desktopdirectory
|
|
||||||
; set_subfolder ""
|
|
||||||
; delete_element $ProductId$
|
|
||||||
|
|
||||||
[Sub_check_exitcode]
|
[Sub_check_exitcode]
|
||||||
comment "Test for installation success via exit code"
|
comment "Test for installation success via exit code"
|
||||||
|
@ -80,7 +80,7 @@ else
|
|||||||
comment "Patch Registry"
|
comment "Patch Registry"
|
||||||
Registry_install /32Bit
|
Registry_install /32Bit
|
||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install32
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
||||||
@ -94,7 +94,7 @@ else
|
|||||||
comment "Patch Registry"
|
comment "Patch Registry"
|
||||||
Registry_install /64Bit
|
Registry_install /64Bit
|
||||||
comment "Create shortcuts"
|
comment "Create shortcuts"
|
||||||
LinkFolder_install
|
LinkFolder_install64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
@ -131,39 +131,61 @@ copy -s "%ScriptPath%\ALL\*.*" "$InstallDir64$"
|
|||||||
; set "name2" = REG_DWORD:0001
|
; set "name2" = REG_DWORD:0001
|
||||||
; set "name3" = REG_BINARY:00 af 99 cd
|
; set "name3" = REG_BINARY:00 af 99 cd
|
||||||
|
|
||||||
[LinkFolder_install]
|
[LinkFolder_install32]
|
||||||
; Example of deleting a folder from AllUsers startmenu:
|
set_basefolder common_programs
|
||||||
|
delete_subfolder "OpenVPN Manager"
|
||||||
|
|
||||||
|
set_basefolder common_programs
|
||||||
|
set_subfolder "OpenVPN Manager"
|
||||||
;
|
;
|
||||||
; set_basefolder common_programs
|
set_link
|
||||||
; delete_subfolder $ProductId$
|
name: "OpenVPN Manager"
|
||||||
;
|
target: "$InstallDir32$\OpenVPNManager.exe"
|
||||||
; Example of creating an shortcut to the installed exe in AllUsers startmenu:
|
parameters:
|
||||||
;
|
working_dir: $InstallDir32$
|
||||||
; set_basefolder common_programs
|
icon_file:
|
||||||
; set_subfolder $ProductId$
|
icon_index:
|
||||||
;
|
end_link
|
||||||
; set_link
|
|
||||||
; name: $ProductId$
|
set_basefolder common_desktopdirectory
|
||||||
; target: <path to the program>
|
set_subfolder ""
|
||||||
; parameters:
|
|
||||||
; working_dir: $InstallDir$
|
set_link
|
||||||
; icon_file:
|
name: "OpenVPN Manager"
|
||||||
; icon_index:
|
target: "$InstallDir32$\OpenVPNManager.exe"
|
||||||
; end_link
|
parameters:
|
||||||
;
|
working_dir: $InstallDir32$
|
||||||
; Example of creating an shortcut to the installed exe on AllUsers desktop:
|
icon_file:
|
||||||
;
|
icon_index:
|
||||||
; set_basefolder common_desktopdirectory
|
end_link
|
||||||
; set_subfolder ""
|
|
||||||
;
|
[LinkFolder_install64]
|
||||||
; set_link
|
set_basefolder common_programs
|
||||||
; name: $ProductId$
|
delete_subfolder "OpenVPN Manager"
|
||||||
; target: <path to the program>
|
|
||||||
; parameters: <some_param>
|
set_basefolder common_programs
|
||||||
; working_dir: $InstallDir$
|
set_subfolder "OpenVPN Manager"
|
||||||
; icon_file: <path to icon file>
|
|
||||||
; icon_index: 2
|
set_link
|
||||||
; end_link
|
name: "OpenVPN Manager"
|
||||||
|
target: "$InstallDir64$\OpenVPNManager.exe"
|
||||||
|
parameters:
|
||||||
|
working_dir: $InstallDir64$
|
||||||
|
icon_file:
|
||||||
|
icon_index:
|
||||||
|
end_link
|
||||||
|
|
||||||
|
set_basefolder common_desktopdirectory
|
||||||
|
set_subfolder ""
|
||||||
|
|
||||||
|
set_link
|
||||||
|
name: "OpenVPN Manager"
|
||||||
|
target: "$InstallDir64$\OpenVPNManager.exe"
|
||||||
|
parameters:
|
||||||
|
working_dir: $InstallDir64$
|
||||||
|
icon_file:
|
||||||
|
icon_index:
|
||||||
|
end_link
|
||||||
|
|
||||||
[Sub_check_exitcode]
|
[Sub_check_exitcode]
|
||||||
comment "Test for installation success via exit code"
|
comment "Test for installation success via exit code"
|
||||||
|
Loading…
Reference in New Issue
Block a user