これまでは、すべての機能が正常に動作する1つのコード署名証明書があります。最近、certが期限切れになったため、Comodoから新しい証明書を取得し、その証明書で新しいビルドをリリースしました。パッケージ名が新しいコード署名証明書で変更されました
パッケージのファミリ名この新しい証明書で変更されたため、新しい証明書でパッケージ化されたこの新しいビルドで古いインストール済みのアプリケーションをアップグレードできません。
パッケージファミリ名を定数として維持したり、新しい証明書を維持するためのソリューションが必要な場合は、古いアプリケーションのアップグレードも提供する必要があります。
これをどのように達成できますか?
エラーMSGのPowerShellからパッケージをアップグレード中:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. Windows cannot install package df70dbc9-455c-4c32-b052-7ac2943630b7_1.0.193.1_x64__qbsrcgy0j364g because a different package df70dbc9-455c-4c32-b052-7ac2943630b7_1.0.0.191_x64__hs446qhh7vdt4 with the same name is already installed. Remove package df70dbc9-455c-4c32-b052-7ac2943630b7_1.0.0.191_x64__hs446qhh7vdt4 before installing. NOTE: For additional information, look for [ActivityId] b0deec37-ac10-0001-81fd-deb010acd101 in the Event Log or use the command line Get-AppxLog -ActivityID b0deec37-ac10-0001-81fd-deb010acd101 At C:\Users\\Desktop\\myappName_1.0.193.1_x64_Test\Add-AppDevPackage.ps1:388 char:13 + Add-AppxPackage -Path $DeveloperPackagePath.FullName -DependencyPath ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\Users\myuser....193.1_x64.appx:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Error: Could not install the app.
例外はそれをすべて言います。同じ名前の新しいパッケージをインストールする前に古いパッケージをアンインストールしますか? –
私たちの意図は、保存されたデータを失うことなく、アプリケーションをアップグレードする必要があります –