Hi,
Can I not use property set in Radio button group to conditionally install
a component? I am unable to correctly evaluate conditions in a component.
I have 3 Radio buttons with Values 1, 2, 3. A Secured property named
UNICODETYPE is defined in their RadioButtonGroup.
I want to install different files with the same target name based on the
radio button selection made.
<Component Id='pa2_db_compression.sql' Directory='InitializationFolder'
Guid='{52F3F5EE-6CA0-42E5-B683-2E59C501A1C5}' Win64='no' KeyPath='yes'>
<Condition></Condition>
<File Id='pa2_db_compression.sql' Name='pa2_db.sql' Vital='yes'
DiskId='1' Source='$(var.SQL.ProjectDir)Initialization\pa2_db.sql'/>
</Component>
<Component Id='pa2_db_no_compression.sql' Directory='Compression_None'
Guid='{CC5AD9FC-9FEE-4B80-A456-F17350157B73}' Win64='no' KeyPath='yes'>
<Condition></Condition>
<File Id='pa2_db_no_compression.sql' Name='pa2_db.sql' Vital='yes'
DiskId='1'
Source='$(var.SQL.ProjectDir)Initialization\pa2_db_no_compression.sql'/>
</Component>
<Component Id='pa2_db_no_unicode.sql' Directory='UnicodeSupport_None'
Guid='{508A7651-4172-4161-B212-B6D08FDC29A7}' Win64='no' KeyPath='yes'>
<Condition></Condition>
<File Id='pa2_db_no_unicode.sql' Name='pa2_db.sql' Vital='yes'
DiskId='1'
Source='$(var.SQL.ProjectDir)Initialization\pa2_db_no_unicode.sql'/>
</Component>
When I run a fresh install and select the first option, the logs for
correctly show 'pa2_db_compression.sql - Installed : Absent, Request :
Local, Action: Local
The other two components have
Installed : Absent, Request : Local, Action: Null
When I run the msi in maintenance mode and change the radio button selection
to the second in list (value 2 for No Compression), None of the components
is installed. The logs for all components show
Installed : Local, Request : Null, Action:Null
Any thoughts on why the conditions are not evaluated correctly in
Maintenance mode?
thanks,
sangeeta
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RadioButton-property-always-evaluating-true-in-Components-Condition-tp7597915.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users