-
QuestionHi, I have a Wix v5 project working where I gather all the dependencies for my app using the Files tag, like this: It works great for installing but I noticed that when I uninstall the app using the MSI all the files are left in the INSTALLFOLDER directory. How can I flag that these files need to be deleted when the app is uninstalled? It seems like this should be simple but I'm struggling to find a way to do it! Thanks! Open Source Maintenance Fee
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
It should just work. There is something else going awry. A verbose log file will show you why the files were not scheduled to be removed. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for your reply! Just been able to look at this again.
I've managed to resolve this now, I will report my findings in case it's useful to others.
So I uninstalled with the verbose log
msiexec /x "setup.msi" /lv msi.logand the only error I could see wasError 2911: Could not remove the folder C:\Config.Msi\.which appears to not be an actual error (see https://stackoverflow.com/questions/77782058/error-2911-could-not-remove-the-folder-c-config-msi). The only other thing I could see which seemed a bit suspect was ~150 lines ofDisallowing uninstallation of component: {62B1ECAA-D5EA-43C8-BE7E-1A1C32C8CE5A} since another client existswith different GUIDs. Turns out that indicates …