-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INSTALLDIR folder is not removed on uninstall #1114
Comments
Thank you for looking into it, Oleg. There must be something else about my setup that is causing the problem. I know nothing about MSI or WiX. Any suggestions for how to identify what causes folders to not get removed? Dennis |
Well, in my case, it isn't because there are existing files (because I am just testing the install/uninstall process). I did see the expected behavior when my project was smaller (folders would delete, except when there were existing files). But somewhere along the line, that behavior changed. There is no other folder with the same name either. Yes, I realize we should not be creating data in the program files folders, but it is legacy code that we have not modified yet. I'll discuss this with our team, as I totally agree that we should not be doing that. Here is what my actual wxs looks like: I don't think the PermissionEx entry is related, because when I remove the I will keep investigating and report anything new I find. Dennis |
Good luck Denis |
I seem to have discovered a case where the installation folder will not get removed upon uninstalling. This case seems to be the result of creating a sub-directory(ies) under the main directory, like this:
Interestingly, the "Logs" folder is removed, but none of its parent folders are removed.
How do I fix this?
Thanks,
Dennis
The text was updated successfully, but these errors were encountered: