You should be able to start at the torch step if you have (and you really should keep these) the MSIs and .wixpdbs from the different builds you want to patch.
-- virtually, Rob Mensching - http://RobMensching.com LLC On Thu, Jul 8, 2010 at 8:42 AM, Coates, Anthony < anthony.coa...@northgate-is.com> wrote: > Sorry, perhaps I didn't explain. We are not using MSBuild directly to > create the installation, rather, we are using the VS plugin to enable > the Wix projects to be part of the solution that is built by the TFS > build. We now have a number of components that need patching from the > original msi, this doesn't need to be automated as part of a TFS build. > > On the basis that we have never directly used the Wix tools (candle > etc.) I have been trying to follow the patch example from the wix > helpfile to see if I can use this as a basis for creating the patch... > > # Build the target layout > candle.exe -dVersion=1.0 product.wxs > light.exe product.wixobj -out 1.0\product.msi > > # Build the upgrade layout > candle.exe -dVersion=1.1 product.wxs > light.exe product.wixobj -out 1.1\product.msi > > # Create the transform between your products > torch.exe -p -xi 1.0\product.wixpdb 1.1\product.wixpdb -out > patch\diff.wixmst > > # Build the patch > candle.exe patch.wxs > light.exe patch.wixobj -out patch\patch.wixmsp > pyro.exe patch\patch.wixmsp -out patch\patch.msp -t RTM > patch\diff.wixmst > > > Because we use VS project references (e.g. $(var.projectname.ProjectDir) > ) in the wix source file I cannot run candle against our wix file, and > it's not a simple thing to alter this as we have 80+ projects in the > solution, hence there are a lot of VS references. Additionally, as the > builds are automated we don't have the .wixobj files to run light > against. We do have the .wixpdb file from the build so I tried running > torch to create a transform against 2 copies of this file in 2 different > folders (a pretty vain attempt I admit) but as there was no differences > when I ran pyro it gave an error. > > Looking at the example the only differences seemed to be the version > number from running candle and the output location from light, but this > seems to have been enough for the transform to be different (unless I'm > missing something?). My only guess is to try and edit one of the .wixobj > files in a similar way, but this doesn't seem to be the right way I > should be going about it, which is why, as we have been able to use a VS > plugin to create our original msi, I wondered if there was a way of > using this to create a patch. Alternatively, is there a better model I > could follow than that from the helpfile? > > Thanks > Anthony > > > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: 08 July 2010 15:35 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Creating a patch with the Visual Studio plugin > > Unfortunately, we don't have MSBuild Tasks for the patching system, yet. > Of > course, all the tools will work fine in MSBuild... just need to do a bit > more work yourself right now. > > On Thu, Jul 8, 2010 at 4:34 AM, Coates, Anthony < > anthony.coa...@northgate-is.com> wrote: > > > We are using Wix projects in Visual Studio (VS2008 & wix 3) to create > > MSIs as part of an automated build process run by TFS. We now wish to > > create a patch of the original msi. Is this possible either directly > > through the VS plugin or by using the command line tools, as we use VS > > project references in the wix source files. > > > > > > > > Thanks > > > > Anthony > > > > > > > > > > > > > ------------------------------------------------------------------------ > ----------------- > > This email is sent on behalf of Northgate Information Solutions > Limited and > > its associated companies ("Northgate") and is strictly confidential > and > > intended solely for the addressee(s). > > > > If you are not the intended recipient of this email you must: (i) not > > disclose, copy or distribute its contents to any other person nor use > its > > contents in any way or you may be acting unlawfully; (ii) contact > Northgate > > immediately on +44 (0)1442 232424 quoting the name of the sender and > the > > addressee then delete it from your system. > > > > Northgate has taken reasonable precautions to ensure that no viruses > are > > contained in this email, but does not accept any responsibility once > this > > email has been transmitted. You should scan attachments (if any) for > > viruses. > > > > Northgate Information Solutions Limited. Registered in England no. > 06442582 > > - Northgate Information Solutions UK Limited. Registered in England > no. > > 968498 - NorthgateArinso UK Limited .Registered in England no. > 1587537 - > > Moorepay Limited. Registered in England no. 891686 - First Business > > Support Limited. Registered in England no. 3056267 - Registered > Office: > > Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel > Hempstead, > > Hertfordshire HP2 4NW > > > > Northgate Managed Services Limited (NI). Registered in Northern > Ireland > > no. NI032979 - LearnServe Limited (NI). Registered in Northern > Ireland > > no. NI043825 > > Registered Office: Hillview House, 61 Church Road, Newtownabbey, Co. > > Antrim, BT36 7LQ > > > > > > > ------------------------------------------------------------------------ > ----------------- > > > > > ------------------------------------------------------------------------ > ------ > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > ------------------------------------------------------------------------ > ------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ > ------------ > The Northgate IS Content Screening and Inspection system has scanned > this > message for malicious and inappropriate content and none was found. > Please take care > when opening attachments even when these are expected and from known and > trusted > sources. > ------------------------------------------------------------------------ > ------------ > > ----------------------------------------------------------------------------------------- > This email is sent on behalf of Northgate Information Solutions Limited and > its associated companies ("Northgate") and is strictly confidential and > intended solely for the addressee(s). > > If you are not the intended recipient of this email you must: (i) not > disclose, copy or distribute its contents to any other person nor use its > contents in any way or you may be acting unlawfully; (ii) contact Northgate > immediately on +44 (0)1442 232424 quoting the name of the sender and the > addressee then delete it from your system. > > Northgate has taken reasonable precautions to ensure that no viruses are > contained in this email, but does not accept any responsibility once this > email has been transmitted. You should scan attachments (if any) for > viruses. > > Northgate Information Solutions Limited. Registered in England no. 06442582 > - Northgate Information Solutions UK Limited. Registered in England no. > 968498 - NorthgateArinso UK Limited .Registered in England no. 1587537 - > Moorepay Limited. Registered in England no. 891686 - First Business > Support Limited. Registered in England no. 3056267 - Registered Office: > Peoplebuilding 2, Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, > Hertfordshire HP2 4NW > > Northgate Managed Services Limited (NI). Registered in Northern Ireland > no. NI032979 - LearnServe Limited (NI). Registered in Northern Ireland > no. NI043825 > Registered Office: Hillview House, 61 Church Road, Newtownabbey, Co. > Antrim, BT36 7LQ > > > ----------------------------------------------------------------------------------------- > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users