i am running my installer in maintenance mode and selecting modify option.Now i want to select a feature to install.I want to call an installscript on the basis of the that feature selection and should run only in maintenance mode.can any one tell me what condition should i use?
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.

maintenance mode condition
Started by
biswajitsaha
, Jun 21 2012 08:12
2 replies to this topic
Posted 25 June 2012 - 10:27
You could use:
Installed And (&FeatureName = 3)
The first part makes sure this doesn't run during first time install.
The second part means "run only when the named "FeatureName" is being installed", so it will not run if the feature has been installed previously and not if the features is beiung uninstalled. Note that 3 stands for "installed locally", so if you also support "run from source" you need to take care of value 4, too (which makes it a bit more complicated, depending on whether or not the custom action should run when the fature state switches from 3 to 4 or vice versa).
Installed And (&FeatureName = 3)
The first part makes sure this doesn't run during first time install.
The second part means "run only when the named "FeatureName" is being installed", so it will not run if the feature has been installed previously and not if the features is beiung uninstalled. Note that 3 stands for "installed locally", so if you also support "run from source" you need to take care of value 4, too (which makes it a bit more complicated, depending on whether or not the custom action should run when the fature state switches from 3 to 4 or vice versa).
Stefan Krüger
InstallSite.org twitter facebook