Skip to content

Migrate UWP App to Windows SDK: Error after update with MSIX #3338

Open
@vagisha-nidhi195

Description

@vagisha-nidhi195

Describe the bug

I currently have a UWP App. I want to update this to WindowsAppSDK project. I am testing deployment of the app. I created a sample app and installed msixupload bundle file. After I migrate to windows app sdk and then installing the updated version of the app using sideload, I get deployment errors.

Steps to reproduce the bug

  1. Generate a sample UWP app
  2. Install the app with app version X
  3. With upgrade assistant tool, migrate the app to windows sdk
  4. Make sure the certificate remains same
  5. Check if the windows sdk project builds
  6. Update the version (greater than X) of the windows sdk generated using upgrade assistant and try to install

After installing the msix-Update, an error appears:

ierror

AppX Deployment operation failed for package 36148Vagisha.BasicUWPApp_1.0.10.0_x64__4mc14ffpd8dt0 with error 0x80073CF3. The specific error text for this failure is: Deployment Add operation with target volume C: on Package 36148Vagisha.BasicUWPApp_1.0.10.0_x64__4mc14ffpd8dt0 from:  (BasicUWPApp_1.0.10.0_x64_Debug.msix)  failed with error 0x80073CF3. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues

Interesting this is that when the UWP app is not installed (that is I try to do a fresh install of the app) - I get no issues with installation of windows sdk project

Also when I try to do the opposite, that is 1st install the SDK app and then the UWP, that works fine as well, no issue with update.
When I update from SDK (old version) to SDK (new version) => this also works well.
Only case not working is UWP (old version) to SDK (new version) which I need for migration from UWP to SDK.

I have looked at event viewer and don't have any information.
Is there some kind of setting I am missing?

Expected behavior

The app should update without deployment errors when updating from UWP to SDK.

Screenshots

No response

NuGet package version

Windows App SDK 1.2.2: 1.2.221209.1

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 22H2 (19045, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-DeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)area-DeveloperToolsIssues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integrationbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions