1 ; Installer script for win32 Gaim
2 ; Generated NSIS script file (generated by makensitemplate.phtml 0.21)
3 ; Herman on Sep 11 02 @ 21:52
5 ; NOTE: this .NSI script is designed for NSIS v1.8+
7 Name "Gaim 0.60 alpha 2 (Win32)"
8 OutFile "Install-Gaim0.60a2.exe"
9 Icon .\pixmaps\gaim
-install
.ico
11 ; Some default compiler settings (uncomment and change at will):
12 ; SetCompress auto ; (can be off or force)
13 ; SetDatablockOptimize on ; (can be off)
14 ; CRCCheck on ; (can be off)
15 ; AutoCloseWindow false ; (can be true for the window go away automatically at end)
16 ; ShowInstDetails hide ; (can be show to have them shown, or nevershow to disable)
17 ; SetDateSave off ; (can be on to have files restored to their orginal date)
19 InstallDir "$PROGRAMFILES\Gaim"
20 InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" ""
21 DirShow show
; (make this hide to not let the user change it)
22 DirText "Select the directory to install Gaim in:"
25 Section "" ; (default section)
27 ; add files / whatever that need to be installed here.
28 File /r
.\win32
-install
-dir\
*.*
29 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Gaim" "" "$INSTDIR"
30 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" "DisplayName" "Gaim (remove only)"
31 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gaim" "UninstallString" '"$INSTDIR\uninst.exe"'
32 ; write out uninstaller
33 WriteUninstaller "$INSTDIR\uninst.exe"
34 SectionEnd ; end of default section
36 Section "Gaim Start Menu Group"
37 SetOutPath "$SMPROGRAMS\Gaim"
38 CreateShortCut "$SMPROGRAMS\Gaim\Gaim.lnk" \
40 CreateShortCut "$SMPROGRAMS\Gaim\Unistall.lnk" \
46 ; begin uninstall settings/section
47 UninstallText "This will uninstall Gaim from your system"
50 ; add delete commands to delete whatever files/registry keys/etc you installed here.
51 RMDir /r
"$SMPROGRAMS\Gaim"
52 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Gaim"
53 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gaim"
55 SectionEnd ; end of uninstall section