Skip to content

Commit

Permalink
installer: uninstall key add DisplayIcon, display the weasel icon i…
Browse files Browse the repository at this point in the history
…n the system uninstall entry (#1311)
  • Loading branch information
3gf8jv4dv authored Jun 15, 2024
1 parent 0d20317 commit 8621ed2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions output/install.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,12 @@ program_files:

; Write the uninstall keys for Windows
WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayName" "$(DISPLAYNAME)"
WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayIcon" '"$INSTDIR\WeaselServer.exe"'
WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayVersion" "${WEASEL_VERSION}.${WEASEL_BUILD}"
WriteRegStr HKLM "${REG_UNINST_KEY}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayVersion" "${WEASEL_VERSION}.${WEASEL_BUILD}"
WriteRegStr HKLM "${REG_UNINST_KEY}" "Publisher" "式恕堂"
WriteRegStr HKLM "${REG_UNINST_KEY}" "URLInfoAbout" "https://rime.im/"
WriteRegStr HKLM "${REG_UNINST_KEY}" "HelpLink" "https://rime.im/docs/"
WriteRegStr HKLM "${REG_UNINST_KEY}" "Publisher" "式恕堂"
WriteRegStr HKLM "${REG_UNINST_KEY}" "URLInfoAbout" "https://rime.im/"
WriteRegStr HKLM "${REG_UNINST_KEY}" "HelpLink" "https://rime.im/docs/"
WriteRegDWORD HKLM "${REG_UNINST_KEY}" "NoModify" 1
WriteRegDWORD HKLM "${REG_UNINST_KEY}" "NoRepair" 1
WriteUninstaller "$INSTDIR\uninstall.exe"
Expand Down

0 comments on commit 8621ed2

Please sign in to comment.