Have Uninstaller remove a directory made by my app

Common questions about using Actual Installer.
Post Reply
mvisman
Posts: 2
Joined: Mon Jan 30, 2023 7:44 am

Have Uninstaller remove a directory made by my app

Post by mvisman »

Just a beginners question: my app creates the directory and a file in the C:\Users\user\AppData\Roaming\AppName\ folder.
When uninstalling the app I would like Uninstaller to remove this directory.
How do I do that?
Maarten Visman
Leo
Site Admin
Posts: 455
Joined: Fri Jan 22, 2010 12:40 pm

Re: Have Uninstaller remove a directory made by my app

Post by Leo »

Add a command on the System /Commands:

Code: Select all

File: 		<SystemDir>\cmd.exe
Parameters: 	/C rmdir /S /Q "<AppData>\<AppName>"
Launch on OS: 	Any
Show: 		Hide
Timing: 	After UnInstallation
Leo,
Actual Installer Team
https://www.actualinstaller.com
mvisman
Posts: 2
Joined: Mon Jan 30, 2023 7:44 am

Re: Have Uninstaller remove a directory made by my app

Post by mvisman »

great.
thanks for the quick reply
Post Reply