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.

call a exe in customaction based on install level

2 replies to this topic


  • Members
  • 3 posts

Posted 04 December 2001 - 11:55

I have a feature whose install level is 100.  If the user selects the  feature to be installed during custom setup, then all components in the feature has to be installed and call a custom action (which will launch a exe, installed with the product) at the end of the installation ,only if the feature was selected by the user, if the feature was not selected , then the custom action should not be called.

How do i find out during run time , if the user selected this feature or not?

Please help


  • Members
  • 19 posts

Posted 25 January 2002 - 04:34

If you want to run a custom action based on whether or not a component is installed, don't use the install level.

For the custom action, use a condition in the form of:
       FeatureName = the name of your feature
       Value = 1 (advertised)
                   2 (not installed)
                   3 (installed locally)
                   4 (run from source)

Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 28 January 2002 - 23:26

I think if you want to condition something using a feature name, you need to use &<FeatureName>.

The $ is for components.