@@ -66,7 +66,7 @@ PrivilegesRequired=lowest
6666
6767UninstallFilesDir = {app} \Installers
6868UninstallDisplayName = {code:GetUninstallDisplayName}
69- UninstallDisplayIcon = {app } \Ducky.ico
69+ UninstallDisplayIcon = {group } \Ducky.ico
7070Uninstallable = ShouldCreateUninstaller()
7171CreateUninstallRegKey = ShouldCreateUninstaller()
7272
@@ -92,7 +92,7 @@ Source: "{#BuildDir}{#AddinDLL}"; DestDir: "{app}"; Flags: ignoreversion replace
9292
9393; Used for customizing the Start menu folder appearance
9494Source : " desktop.ini" ; DestDir : " {group} " ; Attribs: hidden system; Flags : ignoreversion replacesameversion ; Check : CheckShouldInstallFiles;
95- Source : " ducky .ico" ; DestDir : " {group} " ; Attribs: hidden system; Flags : ignoreversion replacesameversion ; Check : CheckShouldInstallFiles;
95+ Source : " Ducky .ico" ; DestDir : " {group} " ; Attribs: hidden system; Flags : ignoreversion replacesameversion ; Check : CheckShouldInstallFiles;
9696
9797; Makes it easier to fix VBE registration issues
9898Source : " {#IncludesDir}Rubberduck.RegisterAddIn.bat" ; DestDir : " {app} " ; Flags : ignoreversion replacesameversion ;
@@ -1033,6 +1033,21 @@ begin
10331033 result := output;
10341034end ;
10351035
1036+ // /<remarks>
1037+ // /Allow customization of the uninstall form
1038+ // /Specificallly, show the version in the form
1039+ // /</remarks>
1040+ procedure InitializeUninstallProgressForm ();
1041+ var
1042+ TempString: string;
1043+ begin
1044+ TempString := UninstallProgressForm.Caption;
1045+ Log(' Original Uninstall caption: ' + TempString);
1046+ StringChange(TempString, ' {#AppName}' , ' {#AppName} {#AppVersion}' );
1047+ Log(' Modified Uninstall caption: ' + TempString);
1048+ UninstallProgressForm.Caption := TempString;
1049+ end ;
1050+
10361051// /<remarks>
10371052// /Called during uninstall, once for each step but for our purpose, we are
10381053// /interested in only one step doing the actual uninstall.
0 commit comments