|
|
|
@ -34,7 +34,6 @@ RequestExecutionLevel user
|
|
|
|
|
Var TmpVal |
|
|
|
|
Var InstallType |
|
|
|
|
Var AddStartMenuSC |
|
|
|
|
Var AddTaskbarSC |
|
|
|
|
Var AddQuickLaunchSC |
|
|
|
|
Var AddDesktopSC |
|
|
|
|
Var InstallMaintenanceService |
|
|
|
@ -92,7 +91,6 @@ VIAddVersionKey "OriginalFilename" "setup.exe"
|
|
|
|
|
!insertmacro InitHashAppModelId |
|
|
|
|
!insertmacro IsHandlerForInstallDir |
|
|
|
|
!insertmacro IsPinnedToTaskBar |
|
|
|
|
!insertmacro IsUserAdmin |
|
|
|
|
!insertmacro LogDesktopShortcut |
|
|
|
|
!insertmacro LogQuickLaunchShortcut |
|
|
|
|
!insertmacro LogStartMenuShortcut |
|
|
|
@ -391,12 +389,10 @@ Section "-Application" APP_IDX
|
|
|
|
|
|
|
|
|
|
; If we are writing to HKLM and create either the desktop or start menu |
|
|
|
|
; shortcuts set IconsVisible to 1 otherwise to 0. |
|
|
|
|
; Taskbar shortcuts imply having a start menu shortcut. |
|
|
|
|
${StrFilter} "${FileMainEXE}" "+" "" "" $R9 |
|
|
|
|
StrCpy $0 "Software\Clients\StartMenuInternet\$R9\InstallInfo" |
|
|
|
|
${If} $AddDesktopSC == 1 |
|
|
|
|
${OrIf} $AddStartMenuSC == 1 |
|
|
|
|
${OrIf} $AddTaskbarSC == 1 |
|
|
|
|
WriteRegDWORD HKLM "$0" "IconsVisible" 1 |
|
|
|
|
${Else} |
|
|
|
|
WriteRegDWORD HKLM "$0" "IconsVisible" 0 |
|
|
|
@ -410,12 +406,10 @@ Section "-Application" APP_IDX
|
|
|
|
|
|
|
|
|
|
; If we create either the desktop or start menu shortcuts, then |
|
|
|
|
; set IconsVisible to 1 otherwise to 0. |
|
|
|
|
; Taskbar shortcuts imply having a start menu shortcut. |
|
|
|
|
${StrFilter} "${FileMainEXE}" "+" "" "" $R9 |
|
|
|
|
StrCpy $0 "Software\Clients\StartMenuInternet\$R9\InstallInfo" |
|
|
|
|
${If} $AddDesktopSC == 1 |
|
|
|
|
${OrIf} $AddStartMenuSC == 1 |
|
|
|
|
${OrIf} $AddTaskbarSC == 1 |
|
|
|
|
WriteRegDWORD HKCU "$0" "IconsVisible" 1 |
|
|
|
|
${Else} |
|
|
|
|
WriteRegDWORD HKCU "$0" "IconsVisible" 0 |
|
|
|
|