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

How to identify selected features from VBScript in a CA


3 replies to this topic

cmessman

cmessman
  • Members
  • 16 posts

Posted 13 April 2001 - 22:24

How can a VBScript Custom Action tell if a specific feature has been selected for installation in the current session.   I need to launch certain custom actions only if specific optional features are being installed.  Each script will perform various configuration steps for its corresponding feature.   For example, I know I can set a condition on a custom action based on a property value, but I cannot identify which properties would contain a list of only those features that are being installed in the current session.

Thanks,
 


Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 16 April 2001 - 23:42

Place a condition on the CA that checks the action state of the feature.

For example, if a CA had a condition of &MyFeature=3, it would only be executed if MyFeature was going to be installed to the local drive.

Hope this helps.


cmessman

cmessman
  • Members
  • 16 posts

Posted 16 April 2001 - 23:49

Thanks, Leigh.  This is exactly what I was looking for.