I am trying to launch a batch file during the uninstall process but cannot figure it out. I am using a Basic MSI project in AdminStudio 3.5.
I have tried to modify the registry key "HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall" in the MSI project for the destination computer to contain the path to the batch file. The batch file has the MSIExec uninstall program as the first line followed by some other cleanup code. When I install the application, the change is not registered in the registry.
I have run the batch file to verify that it uninstalls the application and runs the clean up code.
Does anyone know how to configure the MSI project to do this?