feat(win): add registry for silent uninstall
Entry is recommended to support the silent uninstall process without knowing the arguments. https://nsis.sourceforge.io/Add_uninstall_information_to_Add/Remove_Programs#Recommended_values
This commit is contained in:
@@ -42,6 +42,7 @@ Section -InstallData
|
||||
${EndIf}
|
||||
|
||||
WriteRegStr SHCTX ${APP_UNINST_KEY} "UninstallString" '"$INSTDIR\${SETUP_UNINSTALLER}"'
|
||||
WriteRegStr SHCTX ${APP_UNINST_KEY} "QuietUninstallString" "$\"$INSTDIR\${SETUP_UNINSTALLER}$\" /S"
|
||||
WriteRegStr SHCTX ${APP_UNINST_KEY} "DisplayVersion" "${APP_VERSION}"
|
||||
WriteRegStr SHCTX ${APP_UNINST_KEY} "DisplayIcon" "$INSTDIR\${APP_RUN}"
|
||||
WriteRegStr SHCTX ${APP_UNINST_KEY} "URLUpdateInfo" "${APP_WEBPAGE}"
|
||||
|
||||
Reference in New Issue
Block a user