Loading
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.

  • Hello, did you ever get this working with your project. I'm having a similar issue where I cannot get OnUninstall to work ONLY when the user tries to launch the uninstaller through the add/remove programs.

     

    Thanks

Loading
OnUninstall not being called