Command line variables given to the bundle are passed to the BA.  The WixStdBA 
currently does not turn them into variables that you can use in your bundle. 

-----Original Message-----
From: Gilles QUERRET [mailto:g.quer...@gmail.com] 
Sent: Tuesday, December 20, 2011 7:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Burn and variables

Hello,


I'm using burn to create an install bundle, and I'd like to pass variables from 
the command line to ExePackage InstallCommand. A shortened version of my WXS 
file is :
<Wix>
 <Bundle>
  <ExePackage Source="setup.exe" InstallCommand="-psc_s [MYVAR]">  </Bundle> 
</Wix> I'm using "MyBundle.exe MYVAR=foo /quiet" to install the bundle, but 
when using process explorer, setup.exe is never thrown with my variable set.
Is there something wrong in the InstallCommand syntax ? Or in the MyBundle.exe 
command line ?


Thanks a lot !

--
Gilles QUERRET

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create new or 
port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM 
program developer opportunity. appdeveloper.intel.com/join 
http://p.sf.net/sfu/intel-appdev _______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users






------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to