[wix-users] Bootstrapper and patching

Phill Hogland phill.hogland at rimage.com
Thu Aug 4 09:51:20 PDT 2016


It seems like this could be achieved by inserting your tool (or an MSBuild ITask) into the BeforeBuild task of the bundle to get the MSI/MSP version and set a pre-processor variable in your .wixproj file (or write it out to a .wxi file), which is then used by your bundle project to set the version, so that candle has access to the desired version when you are compiling the bundle.

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Rob Mensching <rob at firegiant.com>
Sent: Thursday, August 4, 2016 11:35:17 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Bootstrapper and patching

IIRC, there is a feature request for that. Maybe you could implement it?

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Patterson, Brent
Sent: Thursday, August 4, 2016 9:17 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Bootstrapper and patching

Yes.  I have a tool that builds both MSI/MSP and the bootstrapper bundle.  The tool replaces the version number, so they're always the same.  I.e. If MSI is 2.0.0.0, bundle is 2.0.0.0.  If MSP is 2.1.0.0, the patch bundle is 2.1.0.0.  But since the bundle hides the MSI, it shows the bundle's version number, and not the MSI/MSP's version.  I want to update the bundle's version number.

Thanks

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list