Summary
This article discusses the ability to apply a condition to a component to allow it to either install or not depending on the install states of another Feature within the the project.Synopsis
This article discusses the ability to apply a condition to a component to allow it to either install or not depending on the install states of another Feature within the the project.Discussion
The use of operator states can be used to determine the state of features or components for a condition ? Microsoft list these as:
|
Component table key |
$ |
Action state of the component. |
|
Component table key |
? |
Installed state of the component. |
|
Feature table key |
& |
Action state of the feature. |
|
Feature table key |
! |
Installed state of the feature. |
The problem however is that the above action states cannot be used in the component condition field. Microsoft explains that this syntax is only valid:
The following example will show how ?NewComponent1? is prevented from installing when ?NewFeature3? is installed, and also how ?NewComponent1? is installed when?NewFeature3? is not installed.
Additional Information
Other sources:
http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx
Related Articles
Create Condition based on Feature being Installed 4Number of Views Create an Install Condition Based on Registry Entry using Installshield 3Number of Views Feature Conditions Do Not Work as Expected When Based on Other Feature or Component States 5Number of Views Configure a Custom Install Condition Based on the Target Operating System 3Number of Views Specifying a Condition Based on a Checkbox Value 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago