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

Brian Enderle brianke at gmail.com
Thu Jun 16 05:40:10 PDT 2016


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