Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Custom Action only on Uninstall


1 reply to this topic

tpayne

tpayne
  • Guests
  • 5 posts

Posted 19 July 2005 - 14:44

I have a custom action that removes some users and groups. I only want this to happen on uninstall. The problem is that i also use this msi as a major upgrade. When the major upgrade uninstalls the app, the CA runs and my users are gone. I have tried the condition of (IS_MAJOR_UPGRADE) but it seems to not be set in the install execute sequence, although it is set in the install UI sequence. Why is this property not set in the execute sequence? Is ther a way to tell a major upgrade?
Thanks

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 July 2005 - 16:34

Try the UPGRADINGSPRODUCTCODE property.