Summary
This article explains how to create a single Property who's value is different depending on which release flags are chosen at build time. For example if a project has 2 different releases which each use a different release flag:
Example:
Release 1
flags _FLAG1_
Release 2
flags _FLAG2_
Property
MYPROPERTY
Value to be set (by _FLAG1_) MYPROPERTY = "Value1"
Value to be set (by _FLAG2_) MYPROPERTY = "Value2"
Discussion
This can be achieved by creating 2 "New Set Property" custom actions which create the same Property but have different conditions:
Custom action 1:
Property Name: MYPROPERTY
Property Value: Value1
Add a condition of: ISReleaseFlags><"FLAG1"
Custom action 2:
Property Name: MYPROPERTY
Property Value: Value2
Add of Condition of: ISReleaseFlags><"FLAG2"
Related Articles
Display a Custom Dialog Depending on the Value of a Custom MSI Property 3Number of Views Chained MSI With Release Flags Does Not Work 3Number of Views How to Set Compatibility Flags for Your Application 7Number of Views Getting and Setting a Property From InstallScript 8Number of Views Snow License Manager and Snow Inventory: How to set up a SQL trace to provide to Support? 330Number 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