WIX Sideloading无法部署依赖项appx

时间:2016-03-25 17:17:20

标签: powershell wix win-universal-app appx

我在本教程之后使用WIX部署appx包:

http://nicholasarmstrong.com/2014/08/sideloading-windows-8-apps-with-wix/

当我在新安装的Windows 10 PC上运行生成的设置时,日志会向我提供以下错误:

    CAQuietExec:  Found dependency package(s):
MSI (s) (94!10) [18:07:10:376]: Closing MSIHANDLE (78) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:10:423]: Creating MSIHANDLE (79) of type 790531 for thread 2832
CAQuietExec:  C:\Program Files (x86)\SoftwareSetup\Software_Test\Dependencies\x86\Microsoft.NET.CoreRuntime.1.0.appx
MSI (s) (94!10) [18:07:10:423]: Closing MSIHANDLE (79) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:10:423]: Creating MSIHANDLE (80) of type 790531 for thread 2832
CAQuietExec:  C:\Program Files (x86)\SoftwareSetup\Software_Test\Dependencies\x86\Microsoft.VCLibs.x86.Debug.14.00.appx
MSI (s) (94!10) [18:07:10:423]: Closing MSIHANDLE (80) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:17:283]: Creating MSIHANDLE (81) of type 790531 for thread 2832
CAQuietExec:  Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict 
MSI (s) (94!10) [18:07:17:298]: Closing MSIHANDLE (81) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:17:298]: Creating MSIHANDLE (82) of type 790531 for thread 2832
CAQuietExec:  validation.
MSI (s) (94!10) [18:07:17:298]: Closing MSIHANDLE (82) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:17:298]: Creating MSIHANDLE (83) of type 790531 for thread 2832
CAQuietExec:  
MSI (s) (94!10) [18:07:17:298]: Closing MSIHANDLE (83) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:17:298]: Creating MSIHANDLE (84) of type 790531 for thread 2832
CAQuietExec:  Windows cannot install package Software because this package depends on another package that couldn't be found. This 
MSI (s) (94!10) [18:07:17:298]: Closing MSIHANDLE (84) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:17:298]: Creating MSIHANDLE (85) of type 790531 for thread 2832
CAQuietExec:  package requires minimum version 1.0.23430.0 of framework Microsoft.NET.CoreRuntime.1.0 published by CN=Microsoft 
MSI (s) (94!10) [18:07:17:298]: Closing MSIHANDLE (85) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:17:298]: Creating MSIHANDLE (86) of type 790531 for thread 2832
CAQuietExec:  Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US to install; the frameworks with name 
MSI (s) (94!10) [18:07:17:298]: Closing MSIHANDLE (86) of type 790531 for thread 2832
MSI (s) (94!10) [18:07:17:298]: Creating MSIHANDLE (87) of type 790531 for thread 2832
CAQuietExec:  Microsoft.NET.CoreRuntime.1.0 available to the user are Microsoft.NET.CoreRuntime.1.0_1.0.23430.0_x86__8wekyb3d8bbwe. 

当我进行手动部署(双击AddAppxPackage powershell命令)时,部署完成没有任何问题。似乎通过Wix安装程序运行相同的PowerShell脚本不会以正确的方式部署依赖项,即使安装程序包含依赖项。

有什么想法吗?

0 个答案:

没有答案
相关问题