comparison gaim-installer.nsi @ 4126:e8f2fdf78662

[gaim-migrate @ 4343] Gaim installed to all users Start Menu (on multi-user systems) committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Mon, 23 Dec 2002 23:27:21 +0000
parents 85980320d468
children cb0681cfb9f2
comparison
equal deleted inserted replaced
4125:6ba49fc29d67 4126:e8f2fdf78662
71 Call AddSharedDLL 71 Call AddSharedDLL
72 Push "$R0\pspell-15.dll" 72 Push "$R0\pspell-15.dll"
73 Call AddSharedDLL 73 Call AddSharedDLL
74 74
75 ; Set Start Menu icons 75 ; Set Start Menu icons
76 SetShellVarContext "all"
76 SetOutPath "$SMPROGRAMS\Gaim" 77 SetOutPath "$SMPROGRAMS\Gaim"
77 CreateShortCut "$SMPROGRAMS\Gaim\Gaim.lnk" \ 78 CreateShortCut "$SMPROGRAMS\Gaim\Gaim.lnk" \
78 "$INSTDIR\gaim.exe" 79 "$INSTDIR\gaim.exe"
79 CreateShortCut "$SMPROGRAMS\Gaim\Unistall.lnk" \ 80 CreateShortCut "$SMPROGRAMS\Gaim\Unistall.lnk" \
80 "$INSTDIR\gaim-uninst.exe" 81 "$INSTDIR\gaim-uninst.exe"
82 ; Set Desktop icon
83 CreateShortCut "$DESKTOP\Gaim.lnk" \
84 "$INSTDIR\gaim.exe"
81 85
82 ; write out uninstaller 86 ; write out uninstaller
83 WriteUninstaller "$INSTDIR\gaim-uninst.exe" 87 WriteUninstaller "$INSTDIR\gaim-uninst.exe"
84 SectionEnd ; end of default section 88 SectionEnd ; end of default section
85 89
87 UninstallText "This will uninstall Gaim from your system" 91 UninstallText "This will uninstall Gaim from your system"
88 92
89 Section Uninstall 93 Section Uninstall
90 ; Delete Gaim Dir 94 ; Delete Gaim Dir
91 RMDir /r "$INSTDIR" 95 RMDir /r "$INSTDIR"
96
97 ; Delete Start Menu group & Desktop icon
98 SetShellVarContext "all"
92 RMDir /r "$SMPROGRAMS\Gaim" 99 RMDir /r "$SMPROGRAMS\Gaim"
100 Delete "$DESKTOP\Gaim.lnk"
93 101
94 ; Read in Aspell install path 102 ; Read in Aspell install path
95 ReadRegStr $R0 HKEY_LOCAL_MACHINE "Software\Gaim" "AspellPath" 103 ReadRegStr $R0 HKEY_LOCAL_MACHINE "Software\Gaim" "AspellPath"
96 104
97 ; Delete Gaim Registry Settings 105 ; Delete Gaim Registry Settings