0
votes

I used the Wix tool in Visual Studio 2015 to generate an msi in a custom directory - not in Program Files. The software got installed alright (only for current user) but I am unable to uninstall it.

The error shown is: The specified path 'H:\Config.Msi\' is unavailable.

However, a folder with name exists at the specified path. Also, the uninstallation succeeds when I delete the contents of the folder created by the installer.

Any ideas on how I can get the software to uninstall cleanly?

1
Is H: your system drive? Can we see the WiX source file for this project? Just edit your question please (do not add an answer).Stein Åsmul
No, H: is not my system drive. In fact, it is a virtual drive. Overriding TARGETDIR did the trick for me. It did throw a warning, though. Thanks, @SteinAsmulAnoop R Desai

1 Answers

0
votes

The problem was that the referenced path H: was a virtual drive that caused the error. Mapping TARGETDIR to reference the correct path was a work-around. For my use case, this was sufficient.