Quote:
Originally Posted by Logrim
I have a problem when cancel the install.. when cancel i want the install delete the folder inno created, i think my code is right but for some reason dont work.. i post my cancel button code.. someone help me please  .. thanks.
P.D. y_thelasknight, form problem solved,, thanks for your help.
|
did you try with this line under
procedure CurStepChanged(CurStep: TSetupStep);
Code:
if (CurStep=ssPostInstall) and ISDoneError then begin
Exec(ExpandConstant('{uninstallexe}'), '/VERYSILENT','', sw_Hide, ewWaitUntilTerminated, ResultCode);
end;