navpoint/windows_installer.nsi

24 lines
683 B
Plaintext
Raw Permalink Normal View History

2024-07-30 10:05:32 -07:00
Name "Navpoint <<version>>"
OutFile "dist\<<distName>>-installer.exe"
2024-07-23 19:31:04 -07:00
InstallDir $PROFILE\Navpoint
RequestExecutionLevel user
Section
# set the installation directory as the destination for the following actions
SetOutPath $INSTDIR
File dist\navpoint.exe
2024-07-30 10:05:32 -07:00
CreateShortcut "$SMPROGRAMS\Navpoint.lnk" "$INSTDIR\navpoint.exe"
CreateShortcut "$DESKTOP\Navpoint.lnk" "$INSTDIR\navpoint.exe"
2024-07-23 19:31:04 -07:00
WriteUninstaller "$INSTDIR\uninstall.exe"
CreateShortcut "$SMPROGRAMS\Uninstall Navpoint.lnk" "$INSTDIR\uninstall.exe"
SectionEnd
Section "uninstall"
Delete "$SMPROGRAMS\Uninstall Navpoint.lnk"
Delete $INSTDIR\uninstaller.exe
RMDir $INSTDIR
SectionEnd