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 control a Feature at runing time?


2 replies to this topic

xinjiang

xinjiang
  • Full Members
  • 30 posts

Posted 27 June 2007 - 04:43

I have a feature that's not selected default. when the installer running, how can I juede whether this feature need to install?



Christoph

Christoph
  • Full Members
  • 81 posts

Posted 27 June 2007 - 14:05

Open your Installshield help and type within the search field 'Conditional Statement Syntax'.

Here you can find how you can set conditions on Custom actions.

Within Installscript, you can use the the function MsiGetFeatureState. Look at the help for more info.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 June 2007 - 14:41

You could also look at control events like AddLocal, or maybe you can use InstallLevels.