I have not tried the first, so I do not know if it will work that way or not, 
but, I perfer the second way.  That way the BA always passes the value to the 
msi, then it is up to the msi to determine what to do with the value or what to 
do if it is blank.

 

________________________________
 From: victorwhiskey <victorhwhis...@yahoo.com>
To: wix-users@lists.sourceforge.net 
Sent: Saturday, November 17, 2012 11:21 PM
Subject: Re: [WiX-users] Is it possible to pass variables to the msipackage 
element based on UI from custom BA?
  
Thanks Brian I was able to set the variable in the CS code.

Now, can I use the variable like the following:

<? if $(my_wixvariable) ?>
   <MSIPROPERTY ...  />
<? endif ?>

or it would have to be how I mentioned before:

<MSIPackage ... >
  MSIPROPERTY Name = "MSI property name" Value = "$my_wixvariable"/>
</MSIPackage>

Thanks



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Is-it-possible-to-pass-variables-to-the-msipackage-element-based-on-UI-from-custom-BA-tp7581962p7581979.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to