Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create appxbundle that does not require developer license

I am working with the infrastructure team on deploying a Windows 10 Universal app and running into some roadblocks. They are currently requesting a release version application that does not require a developer license to install. They are using SCCM, a tool that I am not familiar with, and are only being presented with OS requirements of Windows 10 Mobile (not Windows 10 (x86), (x64)) and are on hold until I solve the developer license issue. Here is what I have done:

  • Create appx bundle via Visual Studio 2015 Professional
  • I chose that it will NOT be uploaded to the store
  • Used x86 and x64 in release mode for the configuration
  • License used from a domain CA for code signing and appears to work
  • Enabled "Allow all trusted apps to install" in local GP editor (my dev device)
  • Enabled sideloading in settings/update & security/for developers

When running the Powershell script, I am greeted with "Before installing this app, you need to do the following: - Acquire a developer license" and then it does some administrator prompting and cannot acquire a developer license.

If I put the device in developer mode, the script runs flawlessly and the application runs as expected.

Am I missing something that is causing me to require a developer license? Does it have anything to do with the package folder ending in _Test? It is the only output that it creates.

If I can provide any additional information, let me know. Thank you!

like image 452
Mark W Avatar asked Feb 08 '23 22:02

Mark W


1 Answers

OK... I finally figured it out. It was nothing to do with the configuration or the app packaging. It was the Visual Studio 2015 generated PowerShell script that was requiring the developer license (Developer Mode). If I simply ran my own Add-AppxPackage PathToAppxBundle in PowerShell, it installed without certificate or developer prompt in Sideload mode. Note that the certificate is already installed via group policy in my case.

like image 198
Mark W Avatar answered May 05 '23 06:05

Mark W