IDEA-135417 Add an "Uninstall Feedback" page to the IntelliJ IDEA uninstaller for Windows

This commit is contained in:
Vladimir.Orlov
2015-03-13 12:41:51 +03:00
parent 2d1e383026
commit b2f0886148
2 changed files with 15 additions and 3 deletions
+10 -1
View File
@@ -1,5 +1,5 @@
[Settings]
NumFields=5
NumFields=6
[Field 1]
Type=label
@@ -38,3 +38,12 @@ Top=70
Bottom=80
State=0
[Field 6]
Type=checkbox
Text=Uninstall Feedback
Left=5
Right=-1
Top=95
Bottom=105
State=0
+5 -2
View File
@@ -1181,6 +1181,9 @@ remove_IntelliJIdeaProjectFile:
done:
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_WITH_VER}"
; UNCOMMENT THIS IN RELEASE BUILD
; ExecShell "" "https://www.jetbrains.com/idea/uninstall/"
!insertmacro INSTALLOPTIONS_READ $R3 "DeleteSettings.ini" "Field 6" "State"
StrCmp "$R3" "0" end_of_uninstall
StrCmp "${UNINSTALL_WEB_PAGE}" "NotRequired" end_of_uninstall
ExecShell "" "${UNINSTALL_WEB_PAGE}"
end_of_uninstall:
SectionEnd