MicrosoftDocs / msix-docs

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

How to install unsigned package on Windows 10? #426

Open slonopotamus opened 2 months ago

slonopotamus commented 2 months ago

Create an unsigned MSIX package page says to use Add-AppPackage -AllowUnsigned. But there is no -AllowUnsigned option on Windows 10, as you can see here

> Add-AppxPackage .\mypackage -AllowUnsigned
Add-AppxPackage : A parameter cannot be found that matches parameter name 'AllowUnsigned'.
At line:1 char:55
+ Add-AppxPackage .\mypackage -AllowUnsigned
+                                                       ~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Add-AppxPackage], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Boefdaan058 commented 1 week ago

all comments must go before the package Add-AppPackage -allowUnsigned -path "/path/to/file"

not-nullptr commented 1 week ago

the given command still fails. was -AllowUnsigned removed?