[wix-users] RemoveFolderEx breaks folder removal?
Patterson, Brent
bcpatterson at xactware.com
Mon Nov 2 09:44:10 PST 2015
Recently, our program creates a folder in its Program Files folder, and when it was uninstalled, it leaves behind that folder. So I added a call to RemoveFolderEx based on this guide: https://www.hass.de/content/wix-how-use-removefolderex-your-xml-scripts
However, the thing is, we can have multiple versions in the same parent folder, so this is called to remove only the current version's folder entirely. In the past before the new folder was added, it'd remove the parent folder if there's nothing in it. With this change, it does not remove the parent folder even when everything is wiped out.
To clarify:
Program Files / (Parent folder that contains different versions, usually only one) / (the install)
I've specified the RemoveFolderEx to clean out "the install" folder. Why isn't the regular uninstall deleting the parent folder when there's nothing in it? Do I need to add a custom action to remove the folder if there's nothing in it?
Thanks
________________________________
Join us for Xactware User Conference 2016 on Feb. 9-10 in Salt Lake City. Stay February 11 for an extra day of free training. Visit xactwareuserconference.com for more information.
________________________________
This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.
More information about the wix-users
mailing list