Skip to content

Commit

Permalink
Add Version to Uninstall Info (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trenly authored Mar 23, 2024
1 parent de63213 commit d32221a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mk/windoze/Installer/MegaGlestInstaller.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ Section "${APNAME} (required)"

; Write the uninstall keys for Windows
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APNAME}" "DisplayName" "${APNAME} v${APVER}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APNAME}" "DisplayVersion" "${APVER}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APNAME}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APNAME}" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APNAME}" "NoRepair" 1
Expand Down

0 comments on commit d32221a

Please sign in to comment.