Thread: App installer
View Single Post
  #7  
Old 22-05-2025, 13:08
crachlow's Avatar
crachlow crachlow is offline
Registered User
 
Join Date: Nov 2017
Location: Eka-burg
Posts: 22
Thanks: 44
Thanked 11 Times in 7 Posts
crachlow is on a distinguished road
Quote:
Originally Posted by Dunnowho69 View Post
Thank you both for the suggestions but none of them worked for me unfortunately. It seems the only option is to schedule a proper removal during next startup.
Code:
[Setup]
AppVersion=1.5
AppName=My Prog
DefaultDirName=My Prog
ChangesAssociations=false
SolidCompression=no
OutputDir=.


[_Code]
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep = usPostUninstall then
DelTree(ExpandConstant('{app}'), True, True, True);
end;
Reply With Quote
The Following User Says Thank You to crachlow For This Useful Post:
Dunnowho69 (23-05-2025)