Here is what I do for .NET (if that helps)
<Chain>
<PackageGroupRef Id="Netfx4Full"/>
... more stuff....
</Chain>
</Bundle>
<Fragment Id="InstallConditionChecks">
<!-- Check for .NET 4.0 -->
<WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" />
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework
Setup\NDP\v4\Full" Value="Version" Variable="Netfx4FullVersion" />
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework
Setup\NDP\v4\Full" Value="Version" Variable="Netfx4x64FullVersion" Win64="yes"
/>
<PackageGroup Id="Netfx4Full">
<ExePackage Id="Netfx4Full"
DisplayName="Microsoft .NET Framework 4.0"
Cache="no"
Compressed="no"
PerMachine="yes"
Permanent="yes"
Vital="yes"
SourceFile="..\PreReqs\dotNetFx40_Full_x86_x64.exe"
DownloadUrl="http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe"
InstallCommand="/passive /norestart"
DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR
Netfx4x64FullVersion)" />
</PackageGroup>
-----Original Message-----
From: Shaun Merrill [mailto:[email protected]]
Sent: January-11-13 6:54 PM
To: WiX Users
Subject: [WiX-users] Bootstrapper errors
What I want my bootstrapper to do is chain together a few simple installs and
install on Windows XP.
1. Dot net framwork 4.0 full (dotNetFx40_Full_x86_x64.exe)
2. Crystal Reports runtime 32-bit (CRRuntime_32bit_13_0_4.msi)
3. My custom MSI (created by WiX) which works fine.
I am launching all of this from VS2010.
Each of these three items install fine by themselves in that sequence; however
when I install my bootstrapper, it errors out as shown below.
Can you please help me determine what the problem with the source code is?
Thank you,
~ Shaun
SETUP FAILED
One or more issues caused the setup to fail. Please fix the issues and then
retry setup.
For more information see the log file.
0x800700e8 - The pipe is being closed.
Here is the source file (SBL WiX Bootstrapper.wixproj):
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == ''
">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>3.6</ProductVersion>
<ProjectGuid>{e4146d55-9dcc-4a98-bac7-5225b2532e6a}</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>SBL Installer</OutputName>
<OutputType>Bundle</OutputType>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND
'$(MSBuildExtensionsPath32)' != ''
">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == ''
">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<SccProjectName>SAK</SccProjectName>
<SccProvider>SAK</SccProvider>
<SccAuxPath>SAK</SccAuxPath>
<SccLocalPath>SAK</SccLocalPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86'
">
<OutputPath>bin\$(Configuration)\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>Debug</DefineConstants>
<SuppressAllWarnings>False</SuppressAllWarnings>
<Pedantic>True</Pedantic>
<SuppressPdbOutput>False</SuppressPdbOutput>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>I:\CMS\SBL\SBL 2010 Setup\</OutputPath>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<SuppressAllWarnings>False</SuppressAllWarnings>
<Pedantic>True</Pedantic>
<SuppressPdbOutput>True</SuppressPdbOutput>
<WixVariables>
</WixVariables>
</PropertyGroup>
<ItemGroup>
<Compile Include="Bundle.wxs" />
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixNetFxExtension">
<HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
<Name>WixNetFxExtension</Name>
</WixExtension>
<WixExtension Include="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
<WixExtension Include="WixBalExtension">
<HintPath>$(WixExtDir)\WixBalExtension.dll</HintPath>
<Name>WixBalExtension</Name>
</WixExtension>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SBL WiX Setup\SBL WiX Setup.wixproj">
<Name>SBL_WiX_Setup</Name>
<Project>{bee2e0e4-9cc6-4709-b266-66243c07d3c7}</Project>
<Private>True</Private>
<DoNotHarvest>True</DoNotHarvest>
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Resource" />
</ItemGroup>
<ItemGroup>
<Content Include="CRRuntime_32bit_13_0_4.msi" />
<Content Include="Resource\LIGHTON.ico" />
<Content Include="Resource\SBL.PNG" />
</ItemGroup>
<Import Project="$(WixTargetsPath)" />
<PropertyGroup>
<PostBuildEvent />
</PropertyGroup>
<!--
To modify your build process, add your task inside one of the targets below and
uncomment it.
Other similar extension points exist, see Wix.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Here is the log file content:
[08C4:0BBC][2013-01-11T15:42:00]i001: Burn v3.7.1224.0, Windows v5.1 (Build
2600: Service Pack 3), path: C:\Depot\SBL\SBL WiX Bootstrapper\bin\Debug\SBL
Installer.exe, cmdline: ''
[08C4:0BBC][2013-01-11T15:42:00]i000: Initializing string variable
'InstallFolder' to value '[ProgramFilesFolder]Small Business Lighting'
[08C4:0BBC][2013-01-11T15:42:00]i000: Setting string variable 'WixBundleLog' to
value
'C:\DOCUME~1\zsmerri\LOCALS~1\Temp\Small_Business_Lighting_Installer_20130111154200.log'
[08C4:0BBC][2013-01-11T15:42:00]i000: Setting string variable
'WixBundleOriginalSource' to value 'C:\Depot\SBL\SBL WiX
Bootstrapper\bin\Debug\SBL Installer.exe'
[08C4:0BBC][2013-01-11T15:42:00]i000: Setting string variable 'WixBundleName'
to value 'Small Business Lighting Installer'
[08C4:0BBC][2013-01-11T15:42:00]i100: Detect begin, 3 packages
[08C4:0BBC][2013-01-11T15:42:00]i000: Setting string variable
'Netfx4x64FullVersion' to value '4.0.30319'
[08C4:0BBC][2013-01-11T15:42:00]i000: Setting string variable
'Netfx4FullVersion' to value '4.0.30319'
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{2d7a42c1-e892-4dca-a6d9-c48bd2985f3e}\SBL Installer.exe
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{2d7a42c1-e892-4dca-a6d9-c48bd2985f3e}
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{5621f415-778a-4e24-84be-ceeb6bd35443}\SBL Installer.exe
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{5621f415-778a-4e24-84be-ceeb6bd35443}
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{e58c50ea-1286-43e0-a77e-90643ce2369e}\SBL Installer.exe
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{e58c50ea-1286-43e0-a77e-90643ce2369e}
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{ef2592c8-ed68-45eb-9a5a-6962b089a2f1}\SBL Installer.exe
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{ef2592c8-ed68-45eb-9a5a-6962b089a2f1}
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{f0620f3b-9966-4247-8b38-06444d4ef9b0}\SBL Installer.exe
[08C4:0BBC][2013-01-11T15:42:00]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{f0620f3b-9966-4247-8b38-06444d4ef9b0}
[08C4:0BBC][2013-01-11T15:42:00]i052: Condition 'Netfx4FullVersion AND (NOT
VersionNT64 OR Netfx4x64FullVersion)' evaluates to true.
[08C4:0BBC][2013-01-11T15:42:00]i101: Detected package: Netfx4Full, state:
Present, cached: None
[08C4:0BBC][2013-01-11T15:42:00]i101: Detected package: CrystalRuntime,
state: Present, cached: None
[08C4:0BBC][2013-01-11T15:42:00]i101: Detected package:
SmallBusinessLighting, state: Absent, cached: None
[08C4:0BBC][2013-01-11T15:42:00]i199: Detect complete, result: 0x0
[08C4:1478][2013-01-11T15:42:54]i000: Setting string variable 'InstallFolder'
to value 'C:\Program Files\Small Business Lighting'
[08C4:0BBC][2013-01-11T15:43:03]i200: Plan begin, 3 packages, action:
Install
[08C4:0BBC][2013-01-11T15:43:03]w321: Skipping dependency registration on
package with no dependency providers: Netfx4Full
[08C4:0BBC][2013-01-11T15:43:03]i000: Setting string variable
'WixBundleRollbackLog_SmallBusinessLighting' to value
'C:\DOCUME~1\zsmerri\LOCALS~1\Temp\Small_Business_Lighting_Installer_20130111154200_0_SmallBusinessLighting_rollback.log'
[08C4:0BBC][2013-01-11T15:43:03]i000: Setting string variable
'WixBundleLog_SmallBusinessLighting' to value
'C:\DOCUME~1\zsmerri\LOCALS~1\Temp\Small_Business_Lighting_Installer_20130111154200_0_SmallBusinessLighting.log'
[08C4:0BBC][2013-01-11T15:43:03]i201: Planned package: Netfx4Full, state:
Present, default requested: Present, ba requested: Present, execute: None,
rollback: None, cache: No, uncache: No, dependency: None
[08C4:0BBC][2013-01-11T15:43:03]i201: Planned package: CrystalRuntime,
state: Present, default requested: Present, ba requested: Present, execute:
None, rollback: None, cache: No, uncache: No, dependency: Register
[08C4:0BBC][2013-01-11T15:43:03]i201: Planned package:
SmallBusinessLighting, state: Absent, default requested: Present, ba
requested: Present, execute: Install, rollback: Uninstall, cache: Yes,
uncache: No, dependency: Register
[08C4:0BBC][2013-01-11T15:43:03]i299: Plan complete, result: 0x0
[08C4:0BBC][2013-01-11T15:43:03]i300: Apply begin
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{2d7a42c1-e892-4dca-a6d9-c48bd2985f3e}\SBL Installer.exe
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{2d7a42c1-e892-4dca-a6d9-c48bd2985f3e}
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{5621f415-778a-4e24-84be-ceeb6bd35443}\SBL Installer.exe
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{5621f415-778a-4e24-84be-ceeb6bd35443}
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{e58c50ea-1286-43e0-a77e-90643ce2369e}\SBL Installer.exe
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{e58c50ea-1286-43e0-a77e-90643ce2369e}
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{ef2592c8-ed68-45eb-9a5a-6962b089a2f1}\SBL Installer.exe
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{ef2592c8-ed68-45eb-9a5a-6962b089a2f1}
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to get size of
pseudo bundle: C:\Documents and Settings\All Users\Application Data\Package
Cache\{f0620f3b-9966-4247-8b38-06444d4ef9b0}\SBL Installer.exe
[1294:1120][2013-01-11T15:43:04]e000: Error 0x80070002: Failed to initialize
package from related bundle id:
{f0620f3b-9966-4247-8b38-06444d4ef9b0}
[1294:1120][2013-01-11T15:43:04]i360: Creating a system restore point.
[1294:1120][2013-01-11T15:43:11]i361: Created a system restore point.
[1294:1120][2013-01-11T15:43:11]i000: Caching bundle from:
'C:\DOCUME~1\zsmerri\LOCALS~1\Temp\{0607acaa-a0ba-4ff2-b266-966b03532a1d}\.be\SBL
Installer.exe' to: 'C:\Documents and Settings\All Users\Application
Data\Package Cache\{0607acaa-a0ba-4ff2-b266-966b03532a1d}\SBL Installer.exe'
[1294:1120][2013-01-11T15:43:11]i320: Registering bundle dependency
provider: {0607acaa-a0ba-4ff2-b266-966b03532a1d}, version: 1.13.14.0
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to send
BURN_ELEVATION_MESSAGE_TYPE_PROCESS_DEPENDENT_REGISTRATION message to
per-machine process.
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to execute
dependent registration action.
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to send message
to per-machine process.
[08C4:0BBC][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to save engine
state in per-machine process.
[08C4:0BBC][2013-01-11T15:43:15]e501: The state file could not be saved,
error: 0x12f814. Continuing...
[08C4:1518][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:1518][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:1518][2013-01-11T15:43:15]e000: Error 0x800700e8: Failed to send
BURN_ELEVATION_MESSAGE_TYPE_CACHE_OR_LAYOUT_CONTAINER_OR_PAYLOAD message to
per-machine process.
[08C4:1518][2013-01-11T15:43:15]e314: Failed to cache payload:
SmallBusinessLighting from working path:
C:\DOCUME~1\zsmerri\LOCALS~1\Temp\{0607acaa-a0ba-4ff2-b266-966b03532a1d}\SmallBusinessLighting,
error: 0x800700e8.
[08C4:1518][2013-01-11T15:43:15]e349: Application requested retry of
payload: SmallBusinessLighting, encountered error: 0x800700e8. Retrying...
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to send
BURN_ELEVATION_MESSAGE_TYPE_CACHE_OR_LAYOUT_CONTAINER_OR_PAYLOAD message to
per-machine process.
[08C4:1518][2013-01-11T15:43:16]e314: Failed to cache payload:
SmallBusinessLighting from working path:
C:\DOCUME~1\zsmerri\LOCALS~1\Temp\{0607acaa-a0ba-4ff2-b266-966b03532a1d}\SmallBusinessLighting,
error: 0x800700e8.
[08C4:1518][2013-01-11T15:43:16]e349: Application requested retry of
payload: SmallBusinessLighting, encountered error: 0x800700e8. Retrying...
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to send
BURN_ELEVATION_MESSAGE_TYPE_CACHE_OR_LAYOUT_CONTAINER_OR_PAYLOAD message to
per-machine process.
[08C4:1518][2013-01-11T15:43:16]e314: Failed to cache payload:
SmallBusinessLighting from working path:
C:\DOCUME~1\zsmerri\LOCALS~1\Temp\{0607acaa-a0ba-4ff2-b266-966b03532a1d}\SmallBusinessLighting,
error: 0x800700e8.
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:1518][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to send
BURN_ELEVATION_MESSAGE_TYPE_CACHE_CLEANUP message to per-machine process.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed while caching,
aborting execution.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to send message
to per-machine process.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to end session
in per-machine process.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write message
type to pipe.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to write send
message to pipe.
[08C4:0BBC][2013-01-11T15:43:16]e000: Error 0x800700e8: Failed to send message
to per-machine process.
[08C4:0BBC][2013-01-11T15:43:16]i399: Apply complete, result: 0x800700e8,
restart: None, ba requested restart: No
end of log file.
Thanks,
~ Shaun
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get
web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users