MSI (created from WIX)- Uninstall application is not removing the root installation folder.
1) I have installed the MSI (example: selected installation root location: C:/MSI_test/ and installed with AppName. And final location is C:/MSI_test/AppName/) and part of the installation copied MSI into my installation location (for repair purpose from uninstall shortcut Key. When I click the uninstall shortcut it points to the MSI in my installed directory and opens a dialog with Repair or Remove option)
2) If the user tries to uninstall this application from the uninstall shortcut, it removes all the installed files and folders but not removing the root installation location (i.e. C:/MSI_test/AppName/).
Below is the code having in my uninstall.bat file (which is called during uninstall shortcut)
cmd.exe /c start "" "C:\MSI_test\AppName\Config\App.msi"
exit;
3) If I have MSI in different location (i.e. in C:/testing) and trying to uninstall the application, it removes everything (i.e. installed files and folders including root installation location)
4) Is this a problem to delete the root folder if we are trying to uninstall from the above step-2 to delete the root installation folder?