View Single Post
  #6  
Old 09-01-2014, 03:12
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
Yup. i try that, buy its only unninstall when for example there's not bin in the src .. when i click in cancel button dont delete anything. All in my installer work ok, but cancel button delete not :d
for this error i suggested this fix.. is this fine?

under this lineprocedure CurStepChanged(CurStep: TSetupStep);

Code:
  if (CurStep=ssInstall) and (ISDoneError = True) then begin
    DelTree(ExpandConstant('{app}'), True, True, True);
  end;
Reply With Quote