jrsoftware.org // Jordan Russell's Software
-Home

Products

-Inno Setup


-Toolbar2000

-Toolbar97

-StripReloc

-More...

Support

-Newsgroups

-Contact Me

#######
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:

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

Site contents Copyright © 1997-2012 Jordan Russell. All rights reserved.