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

Uninstall Custom Action


1 reply to this topic

plippard

plippard
  • Members
  • 1 posts

Posted 18 April 2003 - 01:12

I have a custom action which performs some unique system updates and I am having difficulty deciding the best means to be able to "uninstall" such unique system updates in a Basic MSI project. I have a rollback custom action.... however such rollback custom action does not seem to be effective for when an uninstall is being performed from Add/ Remove Programs. Can I use the OnEnd custom action and check some variable as to whether the product was installed ? If so.... what variable needs to be checked ... and will this cover both the rollback and uninstall situations ?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 19 April 2003 - 17:59

Rollback happens if yourt install is aborted, not during uninstall.
You can create a custom action and add the proper REMOVE condition or Feature action condition.