The approach I take to do this is: 1) in the Bootstrapper, as a child of your Bundle element, declare a variable that has bal:Overridable='yes'. 2) then under the MsiPackage use the MsiProperty to set the Property to the value of the variable. 3) Launch the bundle with MyFile.exe MODEL=Xxxx (and don't use /v in this situation).
<Bundle Name='Your Bootstrapper'..... <Variable Name='MODEL' Value='Default Xxxx' Persisted='yes' bal:Overridable='yes' /> <Chain ..... <MsiPackage ...... <MsiProperty Name='MODEL' Value='[MODEL]' /> Launching the bundle as 'MyFile.exe MODEL=Nnnn' causes the MsiProperty to get set to "Nnnn". ....... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-How-to-pass-an-argument-to-MSI-with-in-EXE-file-tp7588907p7588914.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users