I use NAnt to call in a similar fashion but add some more options since I'm
paranoid. I also have NAnt version my WiX file on the fly using the
<XMLPoke> task after I've built my project. To clarify, I use WiX v2:
<!-- Create the MSI executable. We are using the WiX toolset to do
this.
-->
<target name="msi">
<!-- First, we compile the WiX XML file. Second, we link the
WiX object
file so that we get an MSI executable file. -->
<exec program="candle" workingdir="${project.build.dir}"
commandline="-v0
-w0 -trace -pedantic:legendary ${project.wixfilename}.wxs"/>
<exec program="light" workingdir="${project.build.dir}"
commandline="-v0
-w0 -trace -pedantic:legendary ${project.wixfilename}.wixobj"/>
</target>
Lerudjordet, Morten Minge wrote:
>
> In you'r msbuild file you can do something like this.
>
> <Target Name="MakeMSI">
> <Exec Command="candle.exe -out DestOfWiXObjFiles\Product.wixobj
> Product.wxs"></Exec>
> <Exec Command="light.exe -out DestFolderOfMSI\MyProdctName.msi
> Product.wixobj +ALL OTHER WIXOBJ files you need -loc
> WixUI_en-us.wxl"></Exec>
> </Target>
> <Target Name="MakeSetup" DependsOnTargets="GenerateConfig;MakeMSI">
> </Target>
>
> morten
>
>
> Message: 5
> Date: Mon, 6 Nov 2006 13:18:36 -0000
> From: "Pawel Pabich" <[EMAIL PROTECTED]>
> Subject: [WiX-users] <msbuild> nant task and WiX
> To: <[email protected]>
> Message-ID:
>
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> Hi,
>
>
>
> What is the easiest way of being able to build my WiX installer project
> taking into account
>
> that I'm using <msbuild> task to build my solution?
>
>
>
> Thanks
>
>
>
> Pawel Pabich
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments
> /20061106/1413cde3/attachment.html
>
> ------------------------------
>
> Message: 6
> Date: Mon, 6 Nov 2006 14:20:58 +0100
> From: "Friedrich, Oliver" <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] preprocessor variable $(var.Build)
> To: <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
>
> Alright, just found out, where this variable was set. It is set on the
> commandline while calling the batch-file to start the compilation of the
> setup.
>
> The batch-file is called as "Pre-build event command line" in VS2005.
> The variable "var.Build" is set to the value of "$(ConfigurationName)".
> The last is homemade of VisualStudio. How can I access this
> "ConfigurationName" under WiX-V3?
>
> Sorry for the trouble...
>
> Oliver
>
>
> ________________________________
>
> From: Bob Arnson [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 03, 2006 6:04 PM
> To: Friedrich, Oliver
> Cc: [email protected]
> Subject: Re: [WiX-users] preprocessor variable $(var.Build)
>
>
> Friedrich, Oliver wrote:
>
> No, we did not use Votive V2, just plain wxs-files that
> we added to a simple solution, we did not use Votive V2.
>
>
> Sorry, I'm not understanding. Are you asking how to set the
> Build variable using Votive?
>
>
> --
> sig://boB
> http://bobs.org
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments
> /20061106/70c1b015/attachment.html
>
> ------------------------------
>
> ------------------------------------------------------------------------
> -
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ------------------------------
>
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> End of WiX-users Digest, Vol 6, Issue 21
> ****************************************
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
View this message in context:
http://www.nabble.com/%3Cmsbuild%3E-nant-task-and-WiX-tf2582295.html#a7206871
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users