Or you can just use the built-in wix.targets file that we ship with wix. That will do all of the right stuff for you, including smart incremental builds. If you use Votive v3, you'll automatically get MSBuild projects, but you don't have to use Votive to still use the wix.targets file.
Justin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lerudjordet, Morten Minge Sent: Monday, November 06, 2006 6:45 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] <msbuild> nant task and WiX 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: <wix-users@lists.sourceforge.net> 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: <wix-users@lists.sourceforge.net> 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: wix-users@lists.sourceforge.net 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 WiX-users@lists.sourceforge.net 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users