Re: [WiX-users] using wix with powershell

2012-05-11 Thread Castro, Edwin G. (Hillsboro)
ohn.burak [mailto:john.bu...@telvent.com] > Sent: Friday, May 11, 2012 9:09 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] using wix with powershell > > As Edwin could have more tactfully pointed out, his script does have some > advantages over mine. Thanks, Edwin.

Re: [WiX-users] using wix with powershell

2012-05-11 Thread john.burak
As Edwin could have more tactfully pointed out, his script does have some advantages over mine. Thanks, Edwin. Mine is intended to get you in the right direction, while his is more production ready except for one point: I still suggesting using Start-Process to launch msbuild so that you can get

Re: [WiX-users] using wix with powershell

2012-05-10 Thread Castro, Edwin G. (Hillsboro)
fore printing this e-mail > -Original Message- > From: john.burak [mailto:john.bu...@telvent.com] > Sent: Thursday, May 10, 2012 2:36 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] using wix with powershell > > I've done it and it works fine. On

Re: [WiX-users] using wix with powershell

2012-05-10 Thread john.burak
I've done it and it works fine. One tricky thing was working with PowerShell's parsing modes to get the arguments passed-in correctly (notice the back-tick-escaped double quotes in the $msBuildArgs parameter, below). If you manually use Candle/Light you have to worry about compiling fragments ah

Re: [WiX-users] using wix with powershell

2012-05-08 Thread Castro, Edwin G. (Hillsboro)
Are you trying to build a wix project? The easiest way to do this is to simply call msbuild solution.sln Or perhaps msbuild project.wixproj Passing the usual command line arguments to msbuild. If you are truly looking to call candle.exe, light.exe, etc. then just call them with the appropria