[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.

epic4.nsi 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. ;Title Of Your Application
  2. Name "ircII EPIC4 For Windows 2.6 Build 238"
  3. CompletedText "You have successfully installed ircII EPIC4 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\epic4-installer-2.6-build238.exe"
  11. ;License Page Introduction
  12. LicenseText "Please read the following license information before using this program:"
  13. ;License Data
  14. LicenseData "C:\epic4\docs\copyright.txt"
  15. ;The Default Installation Directory
  16. InstallDir "C:\epic4"
  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:\epic4\bin"
  25. File /r "C:\epic4\libexec"
  26. File /r "C:\epic4\share"
  27. File /r "C:\epic4\docs"
  28. File /r "C:\epic4\terminfo"
  29. File /r "C:\epic4\identd"
  30. File "C:\epic4\ircservers.txt"
  31. File "C:\epic4\menu.exe"
  32. ; Write the uninstall keys for Windows
  33. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ircII EPIC4 For Windows" "DisplayName" "ircII EPIC4 For Windows (remove only)"
  34. WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ircII EPIC4 For Windows" "UninstallString" "$INSTDIR\Uninst.exe"
  35. WriteUninstaller "Uninst.exe"
  36. SectionEnd
  37. Section "Shortcuts"
  38. ;Add Shortcuts
  39. CreateDirectory "$SMPROGRAMS\ircII EPIC4"
  40. CreateShortCut "$SMPROGRAMS\ircII EPIC4\Uninstall.lnk" "$INSTDIR\uninst.exe" "" "$INSTDIR\uninst.exe" 0
  41. CreateShortCut "$SMPROGRAMS\ircII EPIC4\ircII EPIC4.lnk" "$INSTDIR\menu.exe" "" "$INSTDIR\menu.exe" 0
  42. CreateShortCut "$SMPROGRAMS\ircII EPIC4\ircII EPIC4 License.lnk" "$INSTDIR\docs\copyright.txt" "" "$INSTDIR\docs\copyright.txt" 0
  43. CreateShortCut "$SMPROGRAMS\ircII EPIC4\Identd Daemon.lnk" "$INSTDIR\identd\identd_win32.exe" "" $INSTDIR\identd\identd_win32.exe" 0
  44. CreateShortCut "$SMPROGRAMS\ircII EPIC4\Identd Source Code.lnk" "$INSTDIR\identd\src" "" "$INSTDIR\identd\src" 0
  45. CreateShortCut "$SMPROGRAMS\ircII EPIC4\Identd License.lnk" "$INSTDIR\identd\license.rtf" "" "$INSTDIR\identd\license.rtf" 0
  46. SectionEnd
  47. UninstallText "This will uninstall ircII EPIC4 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 EPIC4"
  53. ;Delete Uninstaller And Unistall Registry Entries
  54. Delete "$INSTDIR\Uninst.exe"
  55. DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\ircII EPIC4 For Windows"
  56. DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ircII EPIC4 For Windows"
  57. RMDir "$INSTDIR"
  58. SectionEnd