In your CS Code, you call
 
MyBootstrapperApplication.Engine.StringVariables["my_wixvariable"] = "VALUE";
 
 
  

________________________________
 From: victorwhiskey <victorhwhis...@yahoo.com>
To: wix-users@lists.sourceforge.net 
Sent: Friday, November 16, 2012 11:54 AM
Subject: Re: [WiX-users] Is it possible to pass variables to the msipackage 
element based on UI from custom BA?
  
Thanks for the tips! But I'm still a bit confused on the implementation. So I
have something like this?

<MsiPackage Id="mypackage"
                      SourceFile="path to msi"
                      Vital="yes"
                      Cache="no"
                      Visible="yes"
                      Compressed="yes"
                      DisplayInternalUI="no"                      
                      InstallCondition="(NOT VersionNT64)">
       <MsiProperty Name="my property"
                         Value="$(my_wixvariable)>
</MsiPackage>

If this is the case how do i set my_wixvariable in the CS code?

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-tp7581962p7581973.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