jrsoftware.org // Jordan Russell's Software


-Inno Setup







visitors since
Jan. 1998

Inno Setup Knowledge Base
Return to index

HOWTO: Confirm with the user before the uninstaller deletes certain files

Article Created: 2003-10-13 23:38 GMT by Jordan Russell
Last Updated: 2005-08-04 19:03 GMT by Jordan Russell

There is currently no built-in support for "interactive uninstalls".

If you need to confirm with the user before deleting files, use the [UninstallRun] section to execute an external program (it could be your main application EXE called with a certain switch) which prompts the user and acts accordingly. For example:

Filename: "{app}\MyProgram.exe"; Parameters: "/AskToDeleteFiles"; RunOnceId: MyProgramDeleteFiles

Site contents Copyright © 1997-2020 Jordan Russell. All rights reserved.
Portions Copyright © 2000-2020 Martijn Laan. All rights reserved.