Re: [WiX-users] Pass value from command line to Custom action-Burn
In the bundle.exe define a string Variable element and use bal:Overridable='yes'. Then in MsiPackage use a MsiProperty element to pass the value of the variable into the msi. At that point follow the examples that you found to pass the msi property to your CA, depending on the type of CA. Variable Name='VarName' Type='string' Value='defaultValue' bal:Overridable='yes'/ VarName can have any case you chose. Some folks use the same name as the public property in which case it should be all upper case. Your ba UX could also modify the value of VarName, if needed. MsiProperty Name='MYPROPERTY' Value='[VarName]' / -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Pass-value-from-command-line-to-Custom-action-Burn-tp7598488p7598491.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Pass value from command line to Custom action-Burn
You'll want to make sure that your CA is scheduled during InstallExecuteSequence and is deferred. Then, set the CustomActionData for that CA, passing it your ENV property that way. However, since you're updating an XML file, then the UtilExtension has XML elements (XmlConfig) to do that, so you wouldn't need a CA at all. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Pass-value-from-command-line-to-Custom-action-Burn-tp7598487p7598494.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users