Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
fix: nsi script, icon location
Browse files Browse the repository at this point in the history
  • Loading branch information
hasauino committed Apr 11, 2023
1 parent 81b68a0 commit da526d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 67 deletions.
6 changes: 3 additions & 3 deletions docs/distribution/new.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ section "install"

# Start Menu
createDirectory "$SMPROGRAMS\${APPNAME}"
createShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" "$INSTDIR\StampQR.exe" "" "$INSTDIR\icon.ico"
createShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" "$INSTDIR\StampQR.exe" "" "$INSTDIR\qr_stamp\assets\icon.ico"

# Desktop shortcut
CreateShortCut "$DESKTOP\StampQR.lnk" "$INSTDIR\StampQR.exe" "" "$INSTDIR\icon.ico" 0
CreateShortCut "$DESKTOP\StampQR.lnk" "$INSTDIR\StampQR.exe" "" "$INSTDIR\qr_stamp\assets\icon.ico" 0

# Registry information for add/remove programs
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME} - ${DESCRIPTION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "InstallLocation" "$\"$INSTDIR$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayIcon" "$\"$INSTDIR\icon.ico$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayIcon" "$\"$INSTDIR\qr_stamp\assets\icon.ico$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "Publisher" "$\"${PUBLISHER}$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "HelpLink" "$\"${HELPURL}$\""
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "URLUpdateInfo" "$\"${UPDATEURL}$\""
Expand Down
64 changes: 0 additions & 64 deletions docs/distribution/old.nsi

This file was deleted.

0 comments on commit da526d6

Please # to comment.