Hi All,
I've tried so many ways to get this to work but have come up empty-handed.
Apparently I don't understand how the InstallCondition attribute works. I am
thinking that it will evaluate to either true or false, based on its
expression; but, I haven't wrote it correctly.
I have:
<Bundle>
....
<Chain>
<MsiPackage Id="MsiPackage1" SourceFile="c:\targets\target.msi"
InstallCondition="%USERDOMAIN ~= 'DOMAIN A'" Vital="yes">
<MsiProperty Name="type" Value="1"/>
</MsiPackage>
...
....
%USERPROFILE is an environmental property that I need evaluated at installation
time, not compile time.
I've tried using <?define?>, too.
<?define targetDomain = $(env.USERDOMAIN)?>
Looking for help or pointers on what I'm doing wrong.
Thanks,
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users