In a burn bundle there are 'variables' (but it is not the same as a Property
which is an MSI concept).  You can define a variable in the bundle, and you
can persist it. 

    <Variable Name='svMsiFastValue' Value='7' Type='string'
bal:Overridable='yes'/>
(you can add the Persist="yes" to the above line if you want burn to do the
persisting.)

Note that even though I think of this value as a number, if you want to pass
it to a MsiProperty, then define it as a string variable in the bundle.

In your MsiPackage you can then pass the burn variable as a MsiProperty.
        <MsiProperty Name='MSIFASTVALUE' Value='[svMsiFastValue]'/>

Back to the variable declaration because you did Overridable='yes' you can
pass MSIFASTVALUE on the command line or change it in your bootstrapper
application.

When using the WixStdBA you can avoid the above and pass public properties
in the command line of the bundle, and if it does not know about the public
property it will pass it on to each MSI in the chain.

Also if a user will launch your MSI without using the bundle (such as an
on-demand' repair by MSI) then you will want to implement the 'remember
property' pattern in your MSI.  For most values that I pass to MsiProperty I
make sure I implement the 'remember property' pattern in the MSI and skip
using persist=yes on the burn variable.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Properties-and-Bundles-tp7594441p7594446.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to