In my last post I said
"When we do an uninstall from a AI built msi on uninstall the product that we have install with such msi some files are left behind.
This only occurs when the user uses a custome install directory, ie one other than the default we specify in the MSI. The files that are left behind are ones that Windows installer doesnt know or care about. These files are usually deleted by us in custom action. This works as stated above when the default install directory is used but not when the user chooses a different one. Any ideas?"
You replied that I should try uninstall cleanup wizard. I did, it didn't work.
Also I found out what the problem is. It apperas to be that when you enter a different directory in our Custom File Selection Directory [APPDIR] get set correctly but ONLY for the INSTALL phase, when it comes to uninstall [APPDIR] reverts back to the initial default. I found this out by displaying the directory that is getting passed through during uninstall in a Custom Action.
Surely this is a bug. I would have thought that our overridden [APPDIR] would be stored in the MSI database and consequently be available during uninstall. A prompt solution would be appreciated!
Neil
FOLLOW US
Get the latest news in Application Packaging