Hi All,
Is there a nicer way to deliver logic that will satisfy the requirements below,
other than the attached code ?
Requirements;
a) Display specific text if releasetype (full), product(professional)
and install is not an upgrade
b) Display specific text if releasetype(full), product(professional)
and install is an upgrade
Proposed Solution ;
<!---Delivers a specific exit message if product is not an upgrade/installed -->
<?if $(var.releasetype)=full And $(var.product)=Professional ?>
<Control Id="Description" Type="Text" X="135" Y="70" Width="220"
Height="20" Transparent="yes" NoPrefix="yes"
Text="!(loc.ExitDialogueDescription1)" >
<Condition Action = "show"> NOT (Installed or
WIX_UPGRADE_DETECTED)</Condition>
</Control>
<?endif?>
<!---Delivers a specific exit message if the product is an upgrade/installed -->
<?if $(var.releasetype)=full And $(var.product)=Professional ?>
<Control Id="Description" Type="Text" X="135" Y="70" Width="220"
Height="20" Transparent="yes" NoPrefix="yes"
Text="!(loc.ExitDialogueDescription2)" >
<Condition Action = "show"> Installed or WIX_UPGRADE_DETECTED
</Condition>
</Control>
<?endif?>
Thanks,
Alex
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users