I am creating the installer for my Windows application via Inno Setup. The application itself writes some configuration data to the user home folder, into its own sub-direct
There's no explicit support for this in Inno Setup. But you can code it in pascal script using CurUninstallStepChanged event function:
[Code]
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep = usUninstall then
begin
if MsgBox('Do you want to delete?', mbConfirmation, MB_YESNO) = idYes then
begin
DelTree(ExpandConstant('{app}\Folder'), True, True, True);
end;
end;
end;