
geraldstrait1.5524936896002239E12 asked a question.
OnUninstall not being called
I have an InstallShield MSI project. It appears the OnUninstall function in my script is not bieng called when I uninstall my application from Add/Remove Programs.
OK, I see that OnMaintUIBefore is called upon Add/Remove Programs. So, I edited my script to call OnUninstall from OnMaintUIBefore. OnUninstall is being entered and everything uninstalls as expected but I see this error message at the end of uninstall...
Error: -1605 This action is only valid for products that are currently installed.
Can anyone tell me how to get rid of that error? I think it has to do with a REINSTALLMODE setting. But I can not figure out how to set REINSTALLMODE.
Thanks in advance.
Thanks