Yup pretty easy
i.e. MyBundle.exe APROPERTY=DIFFERENTVALUE

Bundle.wxs

<Variable Name=" APROPERTY " Type="string" bal:Overridable="yes" 
Value="DEFAULTVALUE"/>

Then in MSIPackage element:

<MsiProperty Name=" APROPERTY " Value="[ APROPERTY]"/>

In your MSI
<Property Id=" APROPERTY " Secure="yes"/>

If you don't use the command line parameter the default value that you set i.e. 
Value="DEFAULTVALUE" will be used :)

Steve

-----Original Message-----
From: Ian Williams [mailto:iawil...@microsoft.com] 
Sent: August-07-13 7:04 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WixStdBA Command line parameters

Using WixStdBA with WiX 3.6.

Is there a way allow custom command line parameters to set values of Variables 
in the bundle?

Thanks,
Ian
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to