我正在尝试使用Windows 10 Fall Creators更新中的新更新程序来更新我在应用商店外发布的UWP应用程序。秋季创作者更新UWP App Installer更新程序无法正常工作
我使用的是.appinstaller文件,并触发与这样的链接安装:ms-appinstaller:?source=https://xxx.s3.amazonaws.com/xxx.appinstaller
初始和更新版本的安装都以这种方式工作。
但是,更新不会自动安装。
我.appinstaller文件:
<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
xmlns="http://schemas.microsoft.com/appx/appinstaller/2017"
Version="1.0.77.0"
Uri="https://xxx.s3.amazonaws.com/xxx.appinstaller" >
<MainBundle
Name="4f479232-f509-428e-a58a-65652003c90f"
Publisher="CN=xxx, O=xxx, L=xxx, C=DE"
Version="1.0.77.0"
Uri="https://xxx.s3.amazonaws.com/xxx/Packaging_1.0.77.0_Test/Packaging_1.0.77.0_x86_x64.appxbundle" />
<UpdateSettings>
<OnLaunch/>
</UpdateSettings>
</AppInstaller>
更新.appinstaller文件的区别仅在于版本beeing 1.0.78.0和MainBundle-URL指向更新包。所有的代码签名都是有效的。
我还没有为这个更新程序修改该应用程序。
捕捉与Fiddler连接的更新程序不成功。
我真的很感激任何帮助,因为我甚至不知道如何调试。 应用程序安装程序是否在任何地方创建日志?
-
PS C:\Users\marvin> Get-AppxPackage -Name 4f479232-f509-428e-a58a-65652003c90f
Name : 4f479232-f509-428e-a58a-65652003c90f
Publisher : CN=xxx, O=xxx, L=xxx, C=DE
Architecture : X64
ResourceId :
Version : 1.0.77.0
PackageFullName : 4f479232-f509-428e-a58a-65652003c90f_1.0.77.0_x64__1mez93s8c8axt
InstallLocation : C:\Program Files\WindowsApps\4f479232-f509-428e-a58a-65652003c90f_1.0.77.0_x64__1mez93s8c8axt
IsFramework : False
PackageFamilyName : 4f479232-f509-428e-a58a-65652003c90f_1mez93s8c8axt
PublisherId : 1mez93s8c8axt
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
Dependencies : {4f479232-f509-428e-a58a-65652003c90f_1.0.77.0_neutral_split.scale-100_1mez93s8c8axt,
4f479232-f509-428e-a58a-65652003c90f_1.0.77.0_neutral_split.scale-400_1mez93s8c8axt}
IsPartiallyStaged : False
SignatureKind : Developer
Status : Ok
编辑:由于张贴这,我发现描述日志和错误代码的页面:https://msdn.microsoft.com/en-us/library/hh973484.aspx# 在AppXDeployment-Server日志我看到,大干快上我的应用程序的每一个开始记录的事件:
Type: info, DeploymentOperation 31
Message Started deployment UpdateUsingAppInstallerOperation on a
package with main parameter 4f479232-f509-428e-a58a-65652003c90f_1.0.77.0_x64__1mez93s8c8axt
and Options: 0 and 0. See http://go.microsoft.com/fwlink/?LinkId=235160
for help diagnosing app deployment issues.
编辑2:我创建了一个示例项目,显示这里这个问题:https://github.com/Marv51/appxUpdater
您可以从以下网址下载已编译,已签名和打包的二进制软件包:https://testingappxupdater.s3.amazonaws.com/index.html
我也无法使.appinstaller工作。看到https://twitter.com/tonyvca/status/921693502722990082 – Tony
@Tony安装与.appinstaller在这里工作,只有更新器部分不起作用。但是我将它用于Desktop Bridge App,因此没有依赖关系。 – marv51
我认为AppInstaller版本应该是1.0.0.0 –
Tony