comparison gaim-installer.nsi @ 3630:9682c0e022c6

[gaim-migrate @ 3753] Yeah this will probably break a lot of shit knowing my luck. But hey, I really don't care what people thnk. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Fri, 11 Oct 2002 03:14:01 +0000
parents
children a3093efd9027
comparison
equal deleted inserted replaced
3629:afc5bb164c5a 3630:9682c0e022c6
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
4
5 ; NOTE: this .NSI script is designed for NSIS v1.8+
6
7 Name "Gaim 0.60 alpha 2 (Win32)"
8 OutFile "Install-Gaim0.60a2.exe"
9 Icon .\pixmaps\gaim-install.ico
10
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)
18
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:"
23
24
25 Section "" ; (default section)
26 SetOutPath "$INSTDIR"
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
35
36 Section "Gaim Start Menu Group"
37 SetOutPath "$SMPROGRAMS\Gaim"
38 CreateShortCut "$SMPROGRAMS\Gaim\Gaim.lnk" \
39 "$INSTDIR\gaim.exe"
40 CreateShortCut "$SMPROGRAMS\Gaim\Unistall.lnk" \
41 "$INSTDIR\uninst.exe"
42 SectionEnd
43
44
45
46 ; begin uninstall settings/section
47 UninstallText "This will uninstall Gaim from your system"
48
49 Section Uninstall
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"
54 RMDir /r "$INSTDIR"
55 SectionEnd ; end of uninstall section
56
57 ; eof
58