错误0x800705b4:无法等待子级连接到管道。WiX Bootstrapper应用程序

我想构建一个 setup.exe,它根据某些条件部署一个 vc_redist.exe。和一些自己的程序

我想构建一个 setup.exe,它根据某些条件部署一个 vc_redist.exe。和一些自己的程序

我正在使用 VS 2008 WiX 工具集 v3.8.1128.0

当我启动 setup.exe 并有一个 vc_redist.exe wtih 版本 & lt;= 10 包括我得到

错误 0x800705b4:无法等待孩子连接到管道

当我使用 vc_redist 版本 & GT;10 它工作正常。

我以 身份启动安装程序。当然输出类型是.exe

<Chain>
      <PackageGroupRef Id="redist_vc"/>
      <MsiPackage Id="MainPackage" SourceFile="$(var.IPS1-LeitstandMSI.TargetPath)" Vital="yes"/>
    </Chain>
<Fragment>
    <util:FileSearch Id="MFC_Version_x86"
                 Variable="MFC_Version_x86" Path="[SystemFolder]mfc90.dll"
                 Result="version"/>
    <PackageGroup Id="redist_vc">
      <ExePackage Id="vc" Cache="yes" PerMachine="yes" Permanent="yes" Vital="yes" Compressed="yes"
                    SourceFile="[Sourcepath]\vcredist_x86.exe"
                  InstallCommand="/quiet /norestart"
                  InstallCondition="(NOT MFC_Version_x86 >= v9.0.30729.5570) OR NOT MFC_Version_x86" 
                  Protocol="burn"
                  />
    </PackageGroup>
  </Fragment>

我真的不知道。

= = = = = = = = = = = = = = =

我已经删除了Protocol属性。现在我有一个花哨的新错误消息:

[0E70:0BF0][2015-05-13T09:29:32]i301: Applying execute package: vc, action: Install, path: C:\ProgramData\Package Cache\0772BA9FCFD3257B3B24CAE1B2658927B45E4789\vcredist_x86.exe, arguments: '"C:\ProgramData\Package Cache\0772BA9FCFD3257B3B24CAE1B2658927B45E4789\vcredist_x86.exe" /quiet /norestart'
[0E70:0BF0][2015-05-13T09:29:36]e000: Error 0x80071000: Process returned error: 0x1000
[0E70:0BF0][2015-05-13T09:29:36]e000: Error 0x80071000: Failed to execute EXE package.
[0D1C:0D14][2015-05-13T09:29:36]e000: Error 0x80071000: Failed to configure per-machine EXE package.
[0D1C:0D14][2015-05-13T09:29:36]i319: Applied execute package: vc, result: 0x80071000, restart: None

[0D1C:0D14] [2015-05-13T09:29:36] e000:错误 0x80071000:执行 EXE 包失败。

这是 complet 日志:

[0D1C:0D14][2015-05-13T09:28:27]i001: Burn v3.8.1128.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\\Desktop\IPS1-LeitstandSetup.exe, cmdline: '-burn.unelevated BurnPipe.{83D9C8F1-2FDC-4A81-B91D-3BD6A236399C} {33F07FAA-7ABB-47C5-AD8A-F7A27F90D45C} 3696'
[0D1C:0D14][2015-05-13T09:28:28]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\I~1\AppData\Local\Temp\IPS1-Leitstand_20150513092828.log'
[0D1C:0D14][2015-05-13T09:28:28]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\\Desktop\IPS1-LeitstandSetup.exe'
[0D1C:0D14][2015-05-13T09:28:28]i000: Setting string variable 'WixBundleName' to value 'IPS1-Leitstand'
[0D1C:0D14][2015-05-13T09:28:31]i100: Detect begin, 2 packages
[0D1C:0D14][2015-05-13T09:28:31]i000: File search: MFC_Version_x86, did not find path: C:\Windows\system32\mfc90.dll
[0D1C:0D14][2015-05-13T09:28:31]i101: Detected package: vc, state: Absent, cached: None
[0D1C:0D14][2015-05-13T09:28:31]i101: Detected package: MainPackage, state: Absent, cached: None
[0D1C:0D14][2015-05-13T09:28:31]i199: Detect complete, result: 0x0
[0D1C:0E68][2015-05-13T09:28:52]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 0
[0D1C:0D14][2015-05-13T09:28:52]i200: Plan begin, 2 packages, action: Install
[0D1C:0D14][2015-05-13T09:28:52]i052: Condition '(NOT MFC_Version_x86 >= v9.0.30729.5570) OR NOT MFC_Version_x86' evaluates to true.
[0D1C:0D14][2015-05-13T09:28:52]w321: Skipping dependency registration on package with no dependency providers: vc
[0D1C:0D14][2015-05-13T09:28:52]i000: Setting string variable 'WixBundleLog_vc' to value 'C:\Users\I~1\AppData\Local\Temp\IPS1-Leitstand_20150513092828_0_vc.log'
[0D1C:0D14][2015-05-13T09:28:52]i000: Setting string variable 'WixBundleRollbackLog_MainPackage' to value 'C:\Users\I~1\AppData\Local\Temp\IPS1-Leitstand_20150513092828_1_MainPackage_rollback.log'
[0D1C:0D14][2015-05-13T09:28:52]i000: Setting string variable 'WixBundleLog_MainPackage' to value 'C:\Users\I~1\AppData\Local\Temp\IPS1-Leitstand_20150513092828_1_MainPackage.log'
[0D1C:0D14][2015-05-13T09:28:52]i201: Planned package: vc, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0D1C:0D14][2015-05-13T09:28:52]i201: Planned package: MainPackage, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0D1C:0D14][2015-05-13T09:28:52]i299: Plan complete, result: 0x0
[0D1C:0D14][2015-05-13T09:28:52]i300: Apply begin
[0E70:0BF0][2015-05-13T09:28:58]i360: Creating a system restore point.
[0E70:0BF0][2015-05-13T09:29:29]i361: Created a system restore point.
[0E70:0BF0][2015-05-13T09:29:29]i000: Caching bundle from: 'C:\Users\I~1\AppData\Local\Temp\{4003323a-92b7-4f1a-aa09-7b1a8bbf90da}\.be\IPS1-LeitstandSetup.exe' to: 'C:\ProgramData\Package Cache\{4003323a-92b7-4f1a-aa09-7b1a8bbf90da}\IPS1-LeitstandSetup.exe'
[0E70:0BF0][2015-05-13T09:29:30]i320: Registering bundle dependency provider: {4003323a-92b7-4f1a-aa09-7b1a8bbf90da}, version: 1.0.0.0
[0E70:0E7C][2015-05-13T09:29:32]i305: Verified acquired payload: vc at path: C:\ProgramData\Package Cache\.unverified\vc, moving to: C:\ProgramData\Package Cache\0772BA9FCFD3257B3B24CAE1B2658927B45E4789\vcredist_x86.exe.
[0E70:0E7C][2015-05-13T09:29:32]i305: Verified acquired payload: MainPackage at path: C:\ProgramData\Package Cache\.unverified\MainPackage, moving to: C:\ProgramData\Package Cache\{9F90D333-94E4-4315-8A5E-72BE76E3AFE9}v1.0.0.0\IPS1-LeitstandMSI.msi.
[0E70:0BF0][2015-05-13T09:29:32]i301: Applying execute package: vc, action: Install, path: C:\ProgramData\Package Cache\0772BA9FCFD3257B3B24CAE1B2658927B45E4789\vcredist_x86.exe, arguments: '"C:\ProgramData\Package Cache\0772BA9FCFD3257B3B24CAE1B2658927B45E4789\vcredist_x86.exe" /quiet /norestart'
[0E70:0BF0][2015-05-13T09:29:36]e000: Error 0x80071000: Process returned error: 0x1000
[0E70:0BF0][2015-05-13T09:29:36]e000: Error 0x80071000: Failed to execute EXE package.
[0D1C:0D14][2015-05-13T09:29:36]e000: Error 0x80071000: Failed to configure per-machine EXE package.
[0D1C:0D14][2015-05-13T09:29:36]i319: Applied execute package: vc, result: 0x80071000, restart: None
[0D1C:0D14][2015-05-13T09:29:36]e000: Error 0x80071000: Failed to execute EXE package.
[0E70:0BF0][2015-05-13T09:29:36]i351: Removing cached package: vc, from path: C:\ProgramData\Package Cache\0772BA9FCFD3257B3B24CAE1B2658927B45E4789\
[0E70:0BF0][2015-05-13T09:29:36]i330: Removed bundle dependency provider: {4003323a-92b7-4f1a-aa09-7b1a8bbf90da}
[0E70:0BF0][2015-05-13T09:29:36]i352: Removing cached bundle: {4003323a-92b7-4f1a-aa09-7b1a8bbf90da}, from path: C:\ProgramData\Package Cache\{4003323a-92b7-4f1a-aa09-7b1a8bbf90da}\
[0D1C:0D14][2015-05-13T09:29:36]i399: Apply complete, result: 0x80071000, restart: None, ba requested restart:  No
2

Protocol=Burn是错误的,仅适用于其他 Bundle。只需删除Protocol属性。

1

我找到了自己的解决方案。

VC 2008 或更早版本的 vc_redist.exe 不能使用 / quiet prarameter。使用 / qb,一切都很好:)

本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处

(726)
Glassfish服务器过早退出 退出代码为134
上一篇
Windows身份验证:允许哪些用户
下一篇

相关推荐

  • Php兼职:PHP:bootstrap.php

    关于Php兼职的问题,在bootstrap for php中经常遇到,什么是 bootstrap.php?我有一个项目,在.htaccess 中读取SetEnv AE_BOOTSTRAP /full/path/to/_app/bootstrap.php…

    2022-12-25 01:50:27
    0 78 19
  • 如何使用React制作Bootstrap下拉列表

    我是一个 noobie 在React,我试图做一个Bootstrap下拉列表。…

    2022-11-11 15:14:00
    0 27 41
  • 在bootstrap5导航栏后面设置背景图像

    2022-11-11 15:12:56
    0 57 11
  • 影音播放软件:如何使用MX播放器上的软件播放视频

    关于影音播放软件的问题,在mx player video download中经常遇到,我在播放不受硬件支持的视频时遇到了麻烦我想创建一个简单的视频播放器,即使它不受硬件支持也可以播放任何视频。我喜欢 mx 播放器的方式。任何一个可以帮助我如何在 MX 播放器中播放视频。我有这个基本语法,但它只播放硬件支持的视频。这是我的代码…

    2022-12-18 05:15:21
    0 96 85
  • Perplexed:由SVGviewBox 宽度 高度等困惑

    关于Perplexed的问题,在viewport svg中经常遇到,如果我对 SVG 的理解是正确的,那么下面的两个 SVG 描述将产生相同的图像,但它们不会。(注意:两个代码列表的区别仅在于其svg标记中的坐标值。更具体地说,对于第一个列表中的每个(x,y)对,都有一个(x-205,第二个…

    2022-12-17 08:16:54
    0 36 28
  • 纽交所代码:纽曼htmlextra记者抱怨纽曼失踪 但它已安装

    关于纽交所代码的问题,在newman-reporter-htmlextra中经常遇到,我试图安装和运行 Postman 的纽曼测试集合与 HTML 记者(在一个 jenkins podTemplate 容器与码头图像从邮递员的帐户),但它一直失败,因为没有找到合适的纽曼版本:…

    2022-11-27 06:21:01
    0 44 46
  • S5天赋:如何访问GalaxyS5温度传感器

    关于S5天赋的问题,在samsung thermometer app中经常遇到,在第 19 页的manual中,S5 中提供了有关温度传感器的信息。…

    2022-12-12 08:22:24
    0 58 74
  • X data:as.data.frame(x)和data.frame(x)之间的区别

    关于X data的问题,在r as dataframe中经常遇到,as.data.frame (x) 和 data.frame (x) 有什么区别…

    2022-12-14 09:58:53
    0 60 42

发表评论

登录 后才能评论

评论列表(83条)