在vs2017中使用wix安装程序安装wpf应用程序时出错

时间:2019-03-26 06:41:45

标签: wpf winforms wix windows-installer

在安装安装程序时出现以下错误。...

      1. WixTool
      2. .NetFramework 4.5
      3. WPF Application
  1. 无需使用证书对安装程序进行签名并安装设置,即可正常运行并成功安装。

  2. 当我使用以下命令通过installer(.exe)签署证书进行安装时 signtool.exe,它正在成功唱歌,但是当我安装 安装程序,它没有安装安装程序。这是完整的错误。

从日志中提取

 Burn v3.11.1.2318, Windows v10.0 (Build 17763: Service Pack 0), path: C:\Users\C5284714\AppData\Local\Temp\{4915516A-CEF9-4DFC-9774-48049CA60D3F}\.cr\TimexSetup.exe

 Detect complete, result: 0x0 Setting numeric variable EulaAcceptCheckbox' to value 1         Plan begin, 4 packages, action: Install Condition 'IEVERSIONFOUND >= "11.0.9600.18537"' evaluates to false.
 Skipping dependency registration on package with no dependency providers: IE11.exe
 Skipping dependency registration on package with no dependency providers: NDP452
 Condition '(NOT MFC140_Version_x64 >= v14.0.23026) OR NOT MFC140_Version_x64' evaluates to false.
 Skipping dependency registration on package with no dependency providers: vcredist14_x64.exe
 Setting string variable 'WixBundleRollbackLog_TimexPackage.msi' to value  Setting string variable 'WixBundleLog_TimexPackage.msi' to value 'C:\Users\C5284714\AppData\Local\Temp\Timex_Connect_20190322173349_000_TimexPackage.msi.log'
 Planned package: IE11.exe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
 Planned package: NDP452, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
 Planned package: vcredist14_x64.exe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
 Planned package: TimexPackage.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
 Plan complete, result: 0x0
 Apply begin
 Launching elevated engine process.
 Launched elevated engine process.
 Connected to elevated engine.
 Pausing automatic updates.
 Paused automatic updates.
 Creating a system restore point.
 Created a system restore point.

 Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}, options: 0x7, disable resume: No
 Caching bundle from: 'C:\Users\C5284714\AppData\Local\Temp\{D23A79FA-7B70-4690-9F11-2A752C17B172}\.be\TimexSetup.exe' to: 'C:\ProgramData\Package Cache\{3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}\TimexSetup.exe'
 Registering bundle dependency provider: {3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}, version: 1.1.6.19
 Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}, resume: Active, restart initiated: No, disable resume: No
 Acquiring container: WixAttachedContainer, copy from: C:\Users\C5284714\Downloads\Microsoft.SkypeApp_kzf8qxf38zg5c!App\All\Timex1.1.6.19(178_64)\TimexSetup.exe
 Setting string variable 'WixBundleLastUsedSource' to value 'C:\Users\C5284714\Downloads\Microsoft.SkypeApp_kzf8qxf38zg5c!App\All\Timex1.1.6.19(178_64)\'
 Error 0x80070001: Failed to extract all files from container, erf: 1:2:0
 Error 0x80070001: Failed to wait for operation complete.
 Error 0x80070001: Failed to open container.
 Error 0x80070001: Failed to open container: WixAttachedContainer.
 Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\C5284714\AppData\Local\Temp\{D23A79FA-7B70-4690-9F11-2A752C17B172}\D02D2B9596EAD58E9FA2A143F99E14F7E06DF0D8, error: 0x80070001.
 Error 0x80070001: Failed while caching, aborting execution.
 Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}, resume: None, restart: None, disable resume: No
 Removed bundle dependency provider: {3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}
 Removing cached bundle: {3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}, from path: C:\ProgramData\Package Cache\{3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}\
 Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3560ad9c-8f9f-4a1a-9025-5a9ed5e6da2d}, resume: None, restart initiated: No, disable resume: No
 Apply complete, result: 0x80070001, restart: None, ba requested restart:  No     

0 个答案:

没有答案