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

Uninstalling Features


2 replies to this topic

BobRouse

BobRouse
  • Members
  • 82 posts

Posted 06 September 2001 - 20:29

I use MsiGetFeatureState() in some InstallScript functions to perform certain actions based on what features were selected by the end user. Can I use this during the Uninstall as well? I want to perform certain uninstall actions only if the user has installed certain features.

Thanks,

Bob Rouse
Netuitive, Inc.


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 06 September 2001 - 22:59

MsiGetFeatureState is valid for both installation and uninstallation.  During uninstallation, the feature has a current state greater than 2, the action state for uninstallation should be 2.