Wix uninstall not removing files, always assumes program filesmyApp folder
I’m having a problem with the Wix installer and don’t know what specifically I’m missing.
If I run the install and just leave the default of “Program FilesMyApp”, the app installs no problem. If I then uninstall, all the files and folders properly get deleted.
If I run the install and change the default to something like c:TestFolderMyApp, it installs no problem to that location and includes the subfolder for the Java64bit and Java64bit/lib folders with respective content.
Then, if I immediately do an uninstall, it properly removes the Java stuff completely, but leaves all the files within the c:TestFolderMyApp root.
Looking into the registry after install, it DOES show the proper install directory location. What else can I provide to help resolve this.
Here is the full (with GUIDs removed) install of different files
File for the main (sample) product
Fragment file for the Java Subfolders sample
Fragment file for the common stuff installed at root folder
Here is a simplified work-around I came up with, but don’t know why it does what it does under the hood, but works.
During the declaration of the