[Legacy] ircII EPIC For Windows
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

epic5.nsi 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. ;Title Of Your Application
  2. Name "ircII EPIC5 For Windows 0.3.2 Build 4"
  3. CompletedText "You have successfully installed ircII EPIC5 for Windows. Enjoy!"
  4. CRCCheck On
  5. SetCompress Auto
  6. SetCompressor lzma
  7. SetOverwrite IfNewer
  8. SetDatablockOptimize on
  9. ;Output File Name
  10. OutFile "installers\epic5-installer-0.3.2-build4.exe"
  11. ;License Page Introduction
  12. LicenseText "Please read the following license information before using this program:"
  13. ;License Data
  14. LicenseData "C:\epic5\docs\copyright.txt"
  15. ;The Default Installation Directory
  16. InstallDir "C:\epic5"
  17. ;The text to prompt the user to enter a directory
  18. DirText "Please select the folder below you wish to install to. Do not change it unless you absolutely need to."
  19. Section "Install"
  20. ;Install Files
  21. SetOutPath $INSTDIR
  22. SetCompress Auto
  23. SetOverwrite IfNewer
  24. File /r "C:\epic5\bin"
  25. File /r "C:\epic5\libexec"
  26. File /r "C:\epic5\share"
  27. File /r "C:\epic5\docs"
  28. File /r "C:\epic5\terminfo"
  29. File /r "C:\epic5\identd"
  30. File "C:\epic5\ircservers.txt"
  31. File "C:\epic5\menu.exe"
  32. ; Write the uninstall keys for Windows
  33. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ircII epic5 For Windows" "DisplayName" "ircII epic5 For Windows (remove only)"
  34. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ircII epic5 For Windows" "UninstallString" "$INSTDIR\Uninst.exe"
  35. WriteUninstaller "Uninst.exe"
  36. SectionEnd
  37. Section "Shortcuts"
  38. ;Add Shortcuts
  39. CreateDirectory "$SMPROGRAMS\ircII epic5"
  40. CreateShortCut "$SMPROGRAMS\ircII epic5\Uninstall.lnk" "$INSTDIR\uninst.exe" "" "$INSTDIR\uninst.exe" 0
  41. CreateShortCut "$SMPROGRAMS\ircII epic5\ircII epic5.lnk" "$INSTDIR\menu.exe" "" "$INSTDIR\menu.exe" 0
  42. CreateShortCut "$SMPROGRAMS\ircII epic5\ircII epic5 License.lnk" "$INSTDIR\docs\copyright.txt" "" "$INSTDIR\docs\copyright.txt" 0
  43. CreateShortCut "$SMPROGRAMS\ircII epic5\Identd Daemon.lnk" "$INSTDIR\identd\identd_win32.exe" "" $INSTDIR\identd\identd_win32.exe" 0
  44. CreateShortCut "$SMPROGRAMS\ircII epic5\Identd Source Code.lnk" "$INSTDIR\identd\src" "" "$INSTDIR\identd\src" 0
  45. CreateShortCut "$SMPROGRAMS\ircII epic5\Identd License.lnk" "$INSTDIR\identd\license.rtf" "" "$INSTDIR\identd\license.rtf" 0
  46. SectionEnd
  47. UninstallText "This will uninstall ircII epic5 from your system"
  48. Section Uninstall
  49. ;Delete Files
  50. RMDir /r "$INSTDIR"
  51. ; Additional Files To Remove During Uninstall
  52. RMDir /r "$SMPROGRAMS\ircII epic5"
  53. ;Delete Uninstaller And Unistall Registry Entries
  54. Delete "$INSTDIR\Uninst.exe"
  55. DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\ircII epic5 For Windows"
  56. DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ircII epic5 For Windows"
  57. RMDir "$INSTDIR"
  58. SectionEnd