I'm trying to write some InstallScript code in Basic MSI project. I would like to know how to determine whether an install is Upgrading or Repairing or Uninstalling.
None of these works in InstallScript -
REMOVE~="ALL"
NOT Installed
REINSTALL<>""
PATCH<>""
REMOVEALLMODE
I found this blog and that MAINTENANCE flag works. But it can only determine whether it's Initial Install or Not. Always "TRUE" in Upgrade, Repair and Uninstall.
Any help is appreciated.