Quote:
Originally Posted by ShadowEagle
If an error happens while installing the rolling back feature delete the whole folder what`s not so good for using this script as on update installer. That`s my last wish, tell me what to delete that the rolling back feature won`t delete the whole folder.
I`ve to edit this line
to
,right?
Best regards
|
Add your line here:
if (CurPageID = wpFinished)
and ISDoneError
then
begin
UnBtn.Hide;
CustomCancelBtn.Enabled:=False;
DelTree(ExpandConstant('{app}'), True, True, True);
end;
That answer your question?