MicrosoftDocs / msix-docs

repository for msix content
Creative Commons Attribution 4.0 International
60 stars 114 forks source link

AppInstaller cannot install same MSIX package on another PC-account on the same machine #294

Open wbokkers opened 2 years ago

wbokkers commented 2 years ago

Users of our packaged WinUI3 app complain about not being able to install the app on a second PC-account on their machine. As soon as they try, they get the same error as in this issue: https://github.com/MicrosoftDocs/msix-docs/issues/277

Here's the appinstaller package: https://appinstaller.xelion.com/winapp/v8/

To reproduce:

  1. Download the .appinstaller file from https://appinstaller.xelion.com/winapp/v8/Xelion-Package.appinstaller
  2. Install using AppInstaller by opening the downloaded .appinstaller file on one account
  3. Switch to another account
  4. Download and install the same .appinstaller file
  5. Error

Workaround Installation works flawlessly using Add-AppxPackage

  1. Start PowerShell
  2. Add-AppxPackage -AppInstaller './Xelion-Package.appinstaller'
wbokkers commented 2 years ago

This is not a question! It's a bug. Why is this labeled as a question @anarvekar-msft ?

jvintzel commented 2 years ago

Hi, for bugs can you please file it via feedback hub under Developer Platform > App Deployment. If you can do it from a system experiencing an error, we should be able to collect the appropriate logs.

wbokkers commented 2 years ago

@jvintzel Just filed via the feedback hub: https://aka.ms/AAftgsh

wbokkers commented 2 years ago

We decided to create our own installer: a console app written in C++ that:

This works much better than the official AppInstaller app.