No its not that, its just that in my organization I have a large number of
msi's and each time there is a build I only want to subsequently release
what has changed since the last build and release. If only certain msi's get
built as part of my build process I know that is all that needs to be
released.

-----Original Message-----
From: Derek Cicerone [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2006 21:48
To: 'Simon Burgess'; 'Neil Sleightholm'; 'WiX-users'
Cc: [EMAIL PROTECTED]
Subject: RE: [WiX-users] MSBuild Tasks

That kind of incremental support is not currently there.  Are you finding
that build times are unacceptably long?

Derek

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Burgess
Sent: Monday, August 14, 2006 1:07 PM
To: 'Neil Sleightholm'; 'WiX-users'
Cc: [EMAIL PROTECTED]
Subject: Re: [WiX-users] MSBuild Tasks

This email touches on a problem I'm having. I'm also using MSBuild (via
TeamBuild) to talk to WiX to generate msi's. There is mention here of
support for incremental build as '(a task will only run if source files have
changed)'. Presumably this concerns changes to the .wxs source files, but
what about changes to the files that the msi is packaging up?

Is there any support in WiX to identify if any of the <File> elements have a
src attribute that has changed since the last time the msi was built? If not
does anyone know how else this might be achieved (with MSBuild perhaps or
otherwise)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil
Sleightholm
Sent: 14 August 2006 20:41
To: WiX-users
Cc: [EMAIL PROTECTED]
Subject: Re: [WiX-users] MSBuild Tasks

Would it be possible for this version of wix.targets to be adopted by the
team as the one that is currently distributed doesn't work with multiple wsx
files?

Neil

PS Thanks Michael Luke you saved me lots of time!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Luke
Sent: 12 May 2006 09:22
To: [EMAIL PROTECTED]; 'Francis Kam'; 'Michael F. Collins, III'
Cc: 'WiX-users'
Subject: RE: [WiX-users] MSBuild Tasks

Hi Rob,

I made lots of changes to the MSBuild wix.targets a while back to fix a few
bugs, but got stymied by the (to me) ridiculous requirement of downloading a
pdf, printing it out, filling it in in ink and posting it thousands of miles
to Seattle, just so I could submit the changes to the project.  I've worked
on many open source projects, and this is the first one I've seen with such
a requirement.

Anyway, I'm not going to sign and post the contributor's agreement, because
it's waaaaay too much hassle.  Attached is the modified .targets file, and I
relinquish all rights blah di blah for my changes.

This .targets file fixes the following issues:

- Made incremental builds work correctly (a task will only run if source
files have changed)

- Allowed multiple wxs files to be used in one msi

- Added BeforeXXX and AfterXXX targets for each action to allow for build
custom tasks.  This is consistent with Microsoft's existing Team Build
targets.

- Moved the path to $(MSBuildExtensionsPath)\Windows Installer
XML\Wix.targets (c:\program files\MsBuild\Windows Installer XML) to be
consistent with MsBuild standards.  The wixtasks.dll and wix.targets files
should both be installed to this location.

To use it, you simply create an MsBuild project file (such as the
MsBuild.proj attached) and pass that to MsBuild.

Michael Luke


[EMAIL PROTECTED] wrote:
> Quick piece of information.  The MSBuild tasks were written by 
> somebody quickly and just handed to us.  There hasn't been any more 
> maintenance on the code since then.  At this point in time, I expect 
> you know more about how MSBuild works than anyone on the core WiX 
> development team.  Your bugs and suggestions would be much 
> appreciated.
> 
> 
> 
> ________________________________
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Francis 
> Kam Sent: Thursday, May 11, 2006 3:52 PM
> To: Michael F. Collins, III
> Cc: WiX-users
> Subject: Re: [WiX-users] MSBuild Tasks
> 
> 
> 
> Thanks for the reply.  I've modified the wix.targets for multiple 
> output support and it seems to be working fine. I'm rather 
> inexperienced with MSBuild, so maybe I'm just missing something, but 
> isn't the only way to get an array of strings to use item groups 
> instead of properties?  You really should be able to define more than 
> one preprocessor variable from the commandline and it seems to me the 
> only way is to change DefineConstants to an item group.  I've done 
> this with minimal negative side-effects so far.  Anyhow, it's good to 
> see I'm not crazy, and this is a path that others have considered and 
> followed before me.
> 
> 
> 
> Just in case someone else is interested, what I ended up doing for 
> multiple output support was changing CompileObjOutput to an ItemGroup,

> and then including:
> 
> 
> @(Compile->'$(IntermediateOutputPath)%(filename)$(IntermediateExt)')
> 
> The Compile target's output of course then becomes:
> 
>       @(CompileObjOutput)
> 
> Then I changed OutputFile in the call to Candle in that Compile target

> to:
> 
>       $(IntermediateOutputPath)
> 
> Instances of $(CompileObjOutput) in the other targets were changed to
> @(CompileObjOutput) as well.
> 
> 
> 
> -Francis




-------------------------------------------------------------------------
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

Reply via email to