folder not deleted on uninstall (due to subfolder?) - 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!

jtss
Posts: 15
Joined: Wed Nov 05, 2008 3:23 am

folder not deleted on uninstall (due to subfolder?)

Hi

I have two components in my feature, one for "help_files" (which installs some .htm files into a "help" folder in my main installation directory) and one for "help_images" (which installs some .jpg files into an "images" folder underneath that "help" folder).

On uninstall, the images folder is deleted, but the help folder remains (along with all the .htm) files.
(this is on Win7)

I tried doing the following new thing but it didn't help:
- in the files and folders, bring up properties on the help folder
- on the Remove tab, check "remove folder", always remove (even if it is not empty), component "help_files", remove on Component uninstall (and blank condition).

What do I need to do to make sure the help files and folders all get deleted on uninstall?

Should I only have one component instead of two (the user cannot select them; they are always installed, and always together; and of course there are many other components).
jtss
Posts: 15
Joined: Wed Nov 05, 2008 3:23 am

Re: folder not deleted on uninstall (due to subfolder?)

never mind.

I used the "uninstall cleanup" wizard and then removed one of the conditions (i.e. added the condition NOT UPGRADINGPRODUCTCODE)
but I did it on the parent folder (i.e. my program install dir) and dependent on my main program.

not sure which (or a combination) fixed it but it's working on uninstall now.

thanks

Return to “Common Problems”