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

Check if a feautre i selected


3 replies to this topic

nfa

nfa
  • Members
  • 2 posts

Posted 09 April 2001 - 14:49

I know this question has been up before but I don't know how to do it anyway. I have made an installscript that adds an xla file in Excel's addons. I want this script only to run if the end user has selected this feature (choosed to install the xla file).

Does anyone know how, a will appreciate it.

Thanks in advance

/Nicke


Irina

Irina
  • Members
  • 227 posts

Posted 09 April 2001 - 15:10

You can run your custom action (with installscript code) conditionaly;

Condition:
    $YourComponent >2  - for component
    &YourFeature > 2   -for feature

$ means action state of the component,
& means action state of the feature,
>2 means "feature or component on local computer (3)" or
"feature or component run from source" (4).

See also "Conditional Statement  Syntax" in Windows installer.

(Edited by Irina at 3:14 pm on April 9, 2001)


nfa

nfa
  • Members
  • 2 posts

Posted 09 April 2001 - 15:48

Thank you Irina, you've saved my day!