summaryrefslogtreecommitdiffstats
path: root/application/palemoon/installer/windows/nsis/installer.nsi
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-21 15:47:12 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-21 15:47:12 +0200
commitd7359c38b197c221c43def1e24cb48d4aee51bba (patch)
tree133fbe3ef3eb0f7ce6b151db1ed86bfd9c4abb60 /application/palemoon/installer/windows/nsis/installer.nsi
parent2a5466cfbaab490c9abd96ff166689ad8a6d2121 (diff)
downloadUXP-d7359c38b197c221c43def1e24cb48d4aee51bba.tar
UXP-d7359c38b197c221c43def1e24cb48d4aee51bba.tar.gz
UXP-d7359c38b197c221c43def1e24cb48d4aee51bba.tar.lz
UXP-d7359c38b197c221c43def1e24cb48d4aee51bba.tar.xz
UXP-d7359c38b197c221c43def1e24cb48d4aee51bba.zip
Clean up the nsis installer script a litte.
- remove stub installer leftovers - remove maintenance service leftovers - remove unused macros
Diffstat (limited to 'application/palemoon/installer/windows/nsis/installer.nsi')
-rw-r--r--application/palemoon/installer/windows/nsis/installer.nsi6
1 files changed, 0 insertions, 6 deletions
diff --git a/application/palemoon/installer/windows/nsis/installer.nsi b/application/palemoon/installer/windows/nsis/installer.nsi
index 9216bb6e1..9f61c9cbb 100644
--- a/application/palemoon/installer/windows/nsis/installer.nsi
+++ b/application/palemoon/installer/windows/nsis/installer.nsi
@@ -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