Uninstall process - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jwvanderbeck
Posts: 1
Joined: Sun Jan 24, 2010 3:04 pm

Uninstall process

Hi there.

I'm just trying out Advanced Installer and having some problems with the uninstallation process. It currently leaves quite a mess behind :( When uninstalling my application, it removes all files that were installed but I can't figure out how to perform like a custom step to remove application support files such as configuration files and what not.

I want to ask the user during uninstall if they want to remove config files as well, and delete them if they say yes. This is pretty standard in most uninstalls, but I can't figure out how to do this with Advanced Installer.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Uninstall process

Hello and welcome to Advanced Installer Forums,

On the Files and Folders page, right click the folder that needs to be cleaned up and select properties.
On the remove tab, make the following settings:
Untitled.jpg
Untitled.jpg (31.99 KiB) Viewed 1796 times
Replace "REMOVE_CUSTOM_FILES" with the name of the property which holds the user's choice (whether to remove the application generated files or not)
"updater.exe" is the name of the component whose uninstall will trigger the removal of the said custom generated files.

Also it is recommended you read or Tutorials to better understand how Windows Installer works.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”