[wix-users] Display Property value in @Condition/Message

Rob Mensching rob at firegiant.com
Thu Jun 16 09:14:29 PDT 2016


"[MY_VALUE]"?

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Brian Enderle
Sent: Thursday, June 16, 2016 5:40 AM
To: WiX Users <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Display Property value in @Condition/Message

Is it possible to display the value of a Property in a Condition message?

If I have this property:


    <Property Id="MY_VALUE">
      <RegistrySearch Id="MyVlaue"
                      Type="raw"
                      Root="HKLM"
                      Key="SOFTWARE\My\Search\Path"
                      Name="MyElement" />
    </Property>


If the MY_VALUE is 'hratvmmachine', I would like to display something like "Current server locaiton is hratvmmachine".

Is there a way to include MY_VALUE in a @Condition/Message value?


Brian

If you can't explain it simply, you don't understand it well enough.  - Albert Einstein



More information about the wix-users mailing list