# HG changeset patch # User Herman Bloggs # Date 1040686041 0 # Node ID e8f2fdf78662f58e914d57338d83fd753200a81a # Parent 6ba49fc29d67dca473d17f99f1c64b1df21658b0 [gaim-migrate @ 4343] Gaim installed to all users Start Menu (on multi-user systems) committer: Tailor Script diff -r 6ba49fc29d67 -r e8f2fdf78662 gaim-installer.nsi --- a/gaim-installer.nsi Mon Dec 23 23:22:47 2002 +0000 +++ b/gaim-installer.nsi Mon Dec 23 23:27:21 2002 +0000 @@ -73,11 +73,15 @@ Call AddSharedDLL ; Set Start Menu icons + SetShellVarContext "all" SetOutPath "$SMPROGRAMS\Gaim" CreateShortCut "$SMPROGRAMS\Gaim\Gaim.lnk" \ "$INSTDIR\gaim.exe" CreateShortCut "$SMPROGRAMS\Gaim\Unistall.lnk" \ "$INSTDIR\gaim-uninst.exe" + ; Set Desktop icon + CreateShortCut "$DESKTOP\Gaim.lnk" \ + "$INSTDIR\gaim.exe" ; write out uninstaller WriteUninstaller "$INSTDIR\gaim-uninst.exe" @@ -89,7 +93,11 @@ Section Uninstall ; Delete Gaim Dir RMDir /r "$INSTDIR" + + ; Delete Start Menu group & Desktop icon + SetShellVarContext "all" RMDir /r "$SMPROGRAMS\Gaim" + Delete "$DESKTOP\Gaim.lnk" ; Read in Aspell install path ReadRegStr $R0 HKEY_LOCAL_MACHINE "Software\Gaim" "AspellPath"