If the hash doesn't match then the Bundle expects a different MSI than the one you are putting on the URL. You can't change the MSI without updating the Bundle's that reference it.
The WiX toolset shares the ProjectAggregator.msi across many versions of the Bundles because the ProjectAggregator.msi never changes. You can see that in our Bundle.wxs in src\setup\Bundle\ On Thu, Apr 11, 2013 at 7:36 AM, Spud <[email protected]> wrote: > I've changed my mind re separate question :) > > Unless I'm understanding this incorrectly so long as it does not change, > the > sharedcomponents.msi (which holds a number of third party dll's that will > not change) only needs to be in one place (i.e. the DownloadURL in the > MsiPackage element will not change between builds, and there is thus no > need > to host umpteen sharedcomponents.msi packages). Each successive production > build should be able to pick up that msi where required. > > Unfortunately I'm not seeing this. > In my case CI build version 153 created the sharedcomponents.msi, and is > stored in the DownloadURL location. The setup of Bootstrapper 153 works > fine, but any later Bootstrapper installations fail with "Error 0x80091007 > - > The hash value is not correct" when attempting to download that file. > > As Raj had mentioned early on in this thread, I've tied down the ProductId > (by giving it a guid) and version (changing it from default 1.0.0.0). > > <Product Id="{my guid}" > Name="Shared Components" > Language="1033" > Version="6.0.153.0" > > Somewhere it's getting it's knickers in a twist, and so far I cannot see > where. > Details from the failed log.. > > [0960:08D8][2013-04-11T13:30:04]: Creating a system restore point. > [0960:08D8][2013-04-11T13:30:09]: Created a system restore point. > [0960:08D8][2013-04-11T13:30:10]: Caching bundle from: > > 'C:\DOCUME~1\username\LOCALS~1\Temp\{436086cf-d521-4a90-b3ec-0791264dd784}\.be\Bootstrapper.exe' > to: 'C:\Documents and Settings\All Users\Application Data\Package > Cache\{436086cf-d521-4a90-b3ec-0791264dd784}\Bootstrapper.exe' > [0960:08D8][2013-04-11T13:30:10]: Registering bundle dependency provider: > {436086cf-d521-4a90-b3ec-0791264dd784}, version: 6.0.154.0 > [0ECC:04AC][2013-04-11T13:30:10]: Prompt for source of package: > SharedComponents.msi, payload: SharedComponents.msi, path: > W:\154\SetupSharedComponents.msi > [0ECC:04AC][2013-04-11T13:30:10]: Acquiring package: > SetupSharedComponents.msi, payload: SetupSharedComponents.msi, download > from: > > http://havenupdateservice.co.uk/updates/prerequisites/6.0/6.0.152.0/setupsharedcomponents.msi > [0960:0B04][2013-04-11T13:30:29]: Error 0x80091007: Hash mismatch for > path: > C:\Documents and Settings\All Users\Application Data\Package > Cache\.unverified\SetupSharedComponents.msi > [0960:0B04][2013-04-11T13:30:29]: Error 0x80091007: Failed to verify hash > of > payload: SetupSharedComponents.msi > [0960:0B04][2013-04-11T13:30:29]: Failed to verify payload: > SetupSharedComponents.msi at path: C:\Documents and Settings\All > Users\Application Data\Package Cache\.unverified\SetupSharedComponents.msi, > error: 0x80091007. Deleting file. > [0960:0B04][2013-04-11T13:30:29]: Error 0x80091007: Failed to cache > payload: > SetupSharedComponents.msi > > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-and-reference-a-custom-pre-requisite-package-tp7584968p7585092.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

