-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security Certificate #2
Comments
Hi, Unfortunately I don't really have a solution right now. I'm not gonna spend hundreds every year to distribute a free app. Ultimately Microsoft needs to fix the situation. They can't just restrict WinUI development to developers that can afford a cert. There needs to be a way to distribute an unsigned WinUI app. |
You have options for people to use install.ps1 as I see it:
So, perhaps consider option 2? |
Hi @AJLeuer, |
I just wanted to report that I was able to install the package from powershell with the -AllowUnsigned parameter set.
Just make sure you have the Windows App Runtime installed for your architecture first. The latest release .zip of GHelper has a package for each architecture in the Dependencies folder, e.g. Microsoft.WindowsAppRuntime.1.0.msix. edit: I had a hard time understanding how the Windows App Runtimes were supposed to be installed manually, then it occurred to me that installing the WinUI 3 Gallery sample application from the Microsoft Store would take care of them with one click. |
I'm not very powershell literate, but I have been struggling to get that command to work and keep getting the following error: I tried on Powershell version 5.1 and 7.3.6 because I heard of some issues with Appx on certain versions. But neither has seemed to work. Does anybody have any idea how to get it working? |
Okay I figured out a different way that does not require the Security Certificate. It's very similar to what was mentioned before but a bit different and this was the only way I was able to get it working. You also need to install the Windows App Runtime/dependencies (as previously mentioned) beforehand. I might be inaccurate in some minor details so tell me if I got something wrong. Here's how I did it:
Got part of the idea from: https://pureinfotech.com/install-unsigned-windows-10-apps-powershell/ |
Apparently -AllowUnsigned is only available on Windows 11, not Windows 10. I am guessing that is the issue. The method of unpacking the archive and registering the AppxManifest.xml of the loose files in-place should work. You might try -Register with -DisableDevelopmentMode. I don't know if it will let you skip turning on developer mode, but it should let you reinstall without having to uninstall first. |
Hello!
The Security Certificate lapsed on 2022-04-14
The text was updated successfully, but these errors were encountered: