Skip to content

Commit

Permalink
fix #1476 installer not remove old installer registry keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 6, 2023
1 parent 0d16088 commit d4e028c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packaging/windows/shotcut.iss
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,12 @@ begin
WizardForm.ProgressGauge.Left +
((WizardForm.ProgressGauge.Width - CustomStatusLabel.Width) div 2);
end;
procedure CurPageChanged(CurPageID: Integer);
begin
if CurPageID = wpInstalling then
begin;
RegDeleteKeyIncludingSubkeys(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shotcut');
RegDeleteKeyIncludingSubkeys(HKEY_LOCAL_MACHINE, 'SOFTWARE\Shotcut');
end;
end;

0 comments on commit d4e028c

Please sign in to comment.