File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Rubberduck.Deployment/InnoSetup Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,11 @@ Source: "{#IncludesDir}Rubberduck.RegisterAddIn.reg"; DestDir: "{app}"; Flags: i
103
103
; Use [Code] section (RegisterAddIn procedure) to register the entries instead.
104
104
#include <Rubberduck.reg.iss>
105
105
106
- [UninstallDelete]
107
- Type : filesandordirs ; Name : " {userappdata}\{#AppName}"
106
+ ; Commneted out because we don't want to delete users setting when they are just
107
+ ; uninstalling to install another version of Rubberduck. Considered prompting to
108
+ ; delete but not for right now.
109
+ ; [UninstallDelete]
110
+ ; Type: filesandordirs; Name: "{userappdata}\{#AppName}"
108
111
109
112
[CustomMessages]
110
113
; TODO add additional languages here by adding include files in \Includes folder
@@ -1063,5 +1066,8 @@ end;
1063
1066
// /</remarks>
1064
1067
procedure CurUninstallStepChanged (CurUninstallStep: TUninstallStep);
1065
1068
begin
1066
- if CurUninstallStep = usUninstall then UnregisterAddin();
1069
+ if CurUninstallStep = usUninstall then
1070
+ begin
1071
+ UnregisterAddin();
1072
+ end ;
1067
1073
end ;
You can’t perform that action at this time.
0 commit comments