Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

Signing wont trust a Holographic Academy app for HoloLens Win10 as Appx for MR

Jimbohalo10Jimbohalo10 ✭✭✭
edited May 2017 in Q&A and Discussions

Signing for the HoloLens Academy (101E) has subject name of the signing certificate (CN=Holographic Academy). In Visual Studio Package Manager the Signed Package is accepted and can be installed. When the deployment starts or attempt to install by double clicking the package there is an error in the

Event Viewer Microsoft-Windows-Appx/Operational Event 154.
1.Run eventvwr.msc.
2.Go to Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows.
3.The first log to check is AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational.
4.Deployment-related errors are recorded in AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational.
This is the official instructions to view the error which seem to go to the same place!

"error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted."

The support page
https://go.microsoft.com/fwlink/events.asp?ProdName=Microsoft®+Windows®+Operating+System&ProdVer=10.0.15063.0&EvtID=154&EvtSrc=Microsoft-Windows-AppxPackagingOM&LCID=2057

is useless as just says "page not found". This is probably because to use MR you need to have 15063 and Visual Studio 2017 and its so New that the pages have no been updated

When deploying from VS 2017 this is the output Window


Restoring NuGet packages...

To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
1>------ Deploy started: Project: HolographicAppFirst2015, Configuration: Debug x86 ------
1>Creating a new clean layout...
1>Copying files: Total 17 mb to layout...
1>Checking whether required frameworks are installed...
1>Registering the application to run from layout...
1>DEP0700: Registration of the app failed. [0x80073CFD] Deployment Register operation with target volume C: on Package HolographicAppFirst2015_1.0.0.0_x86__g87k9rvxqsjhr from: (AppxManifest.xml) failed with error 0x80073CFD. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========


Signing and deployment works fine in HoloLens Emulator and so do all the other conversions of Appx sign programs using the same signing.

Summary

What does this mean what needs trusting the Developer Mode enables is set so Side loading is enabled?!

"error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted."

The help page is https://msdn.microsoft.com/en-us/library/hh973484.aspx gives

CERT_E_UNTRUSTEDROOT
0x800B0109
A certificate chain processed, but terminated in a root certificate which isn't trusted by the trust provider.

So who is Mixed Reality or any UWP Trust Provider with who? My PC is in Certificate Manager.

According to the sparse documentation for Immersive Headset support, we just change deployment from "HoloLens Emulator" or "Device" to "Local Machine".

Firstly you get a DEP600 or DEP5736 error about AppxManifest.xml being incorrect on line 1.
This means in Visual Studio Solution right clicking on Package.appmanifest and Open in App Package designer, Go to Packaging click "Chose Certificate" -> View Full Certificate.

This happens on ALL certificates made by Visual Studio or Unity

Then there is the not trusted error
Well if there is any news post it here!

Best Answers

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited May 2017 Accepted Answer

    The amusing news is that Unreal Engine 4.15.1.2, specially made version by Microsoft ATG adds automatic certificate and signing. The signed version then will run as UWP32 bit (x86) for HoloLens and Emulator, then UWP64 bit (x64) for Desktop and Mixed Reality Simulator.

    Unfortunately the MR Simulator does not seem to have the screen resolution of the Desktop or the HoloLens Emulator.

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited May 2017 Accepted Answer

    The answer to the signing problem is solved by starting the Visual Studio 2017 Community Debuggable Package Manager from the Windows Start Menu.

    PS C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Remote Debugger\Appx> Add-AppxPackage C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\UWP\EpicZenGarden.appx

    This will throw an error

    Add-AppxPackage : Deployment failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a root certificate which is not

    trusted by the trust provider. error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted.

    To rectify this you need to install the PFX which signed the Appx from Windows File Explorer, by right click and select "Install PFX"
    In the Select Local Machine and Select Mark

    In the Windows Certificate Importer, Select Local Machine and check the file path is correct the click Next.
    Select "Mark Key as Exportable". Enter a key or none if you selected none during key generation. Click "Next" through all the next questions and "Import Successful" message should appear

    If you don't have a certificate make one:-

    C:\Program Files (x86)\Windows Kits\10\bin\x64\makecert.exe -r -h 0 -n "CN=No Publisher, O=No Publisher" -eku 1.3.6.1.5.5.7.3.3 -pe -sv "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pvk" "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15"

    Then making the .PFX signature for Appx

    C:\Program Files (x86)\Windows Kits\10\bin\x64\pvk2pfx.exe -pvk "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pvk" -spc "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.cer" -pfx "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pfx"

    Sign the Appx

    C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe sign /a /f "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pfx" /fd SHA256 "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Saved\StagedBuilds\UWP\EpicZenGarden.appx"

    Then import the certificate made above

    Now when you run the Appx install command the top of screen will go green whilst installing

    PS C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Remote Debugger\Appx>

    Add-AppxPackage "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\UWP\EpicZenGarden.appx"

    You can then run in the Windows Mixed Reality Simulator.

    This has now been delivered from June 2017

    For more details or conversion support send @Jimbohalo10 a personal message (Inbox)

    Background
    This has been developed in Unreal Engine 4.15.1.2 supported by the Microsoft Advanced Technology Group ( ATG ) for Xbox One. The Elite Epic Unreal Developers Group which invited me to join as the developers wanted support for Windows Mixed Reality Immersive Headset and HoloLens Headset and the relevant Simulator and Headset using Visual Studio 2017.

    Sample details
    Epic Zen Garden is a beautiful graphical environment showcasing the power of the Metal API was originally an Apple iOS sample which has been converted, by @Jimbohalo10 for Windows Appx, and is the Epic Zen Garden Sample First demonstrated at Apple’s WWDC 2014 keynote, Epic Zen Garden is a beautiful graphical environment showcasing the power of the Metal API on Apple’s iOS platform

    This has now been delivered from June 2017

    For more details or for support send me @Jimbohalo10 personal message

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited May 9 Accepted Answer

    Finally, after another two years and in 2019, we have a version of the Unreal Engine which supports Windows Mixed Reality headsets HMD directly
    see

    On 29th April 2019 Version, Unreal 4.22.1 and Windows Mixed Reality, WMR, for SteamVR version 1.3.23 for HP VR1000 HMD with Motion Controllers and the other WMR HMD devices like Samsung etc was released.

    from the posting on GitHub in the Epic support area I wrote about the Epic Games Launcher for UE 4.22.1 and watch the video Introduction to VR Development

    Use the Epic Games Launcher to get the latest binary version to install on the Windows 10 Professional April 2018 update or build 18362.63 onward.

    WMR VR support now natively supports the Windows Mixed Reality for SteamVR Beta Updated team 1.3.23 https://docs.unrealengine.com/en-US/Platforms/VR/WMR.
    This natively supports all WMR HMD headsets example HP WMR HMD VR1000, using the UE Editor VR preview function into your HMD display.
    The slowness encountered has now been fixed and you can run Steam VR games natively in your HMD as the Introduction to VR Development using Unreal Engine 4 shows. This is simply completed by starting the desktop icon Windows Mixed Reality SteamVR after updating the Windows Mixed Reality SteamVR application from your desktop Steam icon.
    The Windows 10 April 2018 version was the first version to support this and the recent version 1903 build 18362.63 onward added more Holographic updates.
    Further to this running the native SteamVR will run most Unreal application for Showdown VR demo in your HMD headset.
    NOTE The is NOT Hololens 1 or 2 support, that still requires 32bit UWP version and the Hololens Emulator

    Although the latest buildable UWP version Unreal Engine Merge tag '4.20.3-release' into release_uwp is available for those developers registered with Epic for HoloLens development. This still needs significant build time (>18 hours) to produce a working UWP version and is an unsupported ATG version. If you are NOT a registered Epic developer you will receive a web error 404 "page not found" on the links above because the repository is marked private as is all Epic development repositories.

Answers

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited May 2017 Accepted Answer

    The amusing news is that Unreal Engine 4.15.1.2, specially made version by Microsoft ATG adds automatic certificate and signing. The signed version then will run as UWP32 bit (x86) for HoloLens and Emulator, then UWP64 bit (x64) for Desktop and Mixed Reality Simulator.

    Unfortunately the MR Simulator does not seem to have the screen resolution of the Desktop or the HoloLens Emulator.

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited May 2017 Accepted Answer

    The answer to the signing problem is solved by starting the Visual Studio 2017 Community Debuggable Package Manager from the Windows Start Menu.

    PS C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Remote Debugger\Appx> Add-AppxPackage C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\UWP\EpicZenGarden.appx

    This will throw an error

    Add-AppxPackage : Deployment failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a root certificate which is not

    trusted by the trust provider. error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted.

    To rectify this you need to install the PFX which signed the Appx from Windows File Explorer, by right click and select "Install PFX"
    In the Select Local Machine and Select Mark

    In the Windows Certificate Importer, Select Local Machine and check the file path is correct the click Next.
    Select "Mark Key as Exportable". Enter a key or none if you selected none during key generation. Click "Next" through all the next questions and "Import Successful" message should appear

    If you don't have a certificate make one:-

    C:\Program Files (x86)\Windows Kits\10\bin\x64\makecert.exe -r -h 0 -n "CN=No Publisher, O=No Publisher" -eku 1.3.6.1.5.5.7.3.3 -pe -sv "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pvk" "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15"

    Then making the .PFX signature for Appx

    C:\Program Files (x86)\Windows Kits\10\bin\x64\pvk2pfx.exe -pvk "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pvk" -spc "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.cer" -pfx "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pfx"

    Sign the Appx

    C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe sign /a /f "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Build\UWP\SigningCertificate.pfx" /fd SHA256 "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\Saved\StagedBuilds\UWP\EpicZenGarden.appx"

    Then import the certificate made above

    Now when you run the Appx install command the top of screen will go green whilst installing

    PS C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Remote Debugger\Appx>

    Add-AppxPackage "C:\Users\Uname\Documents\Unreal Projects\EpicZenGardenUWP 4.15\UWP\EpicZenGarden.appx"

    You can then run in the Windows Mixed Reality Simulator.

    This has now been delivered from June 2017

    For more details or conversion support send @Jimbohalo10 a personal message (Inbox)

    Background
    This has been developed in Unreal Engine 4.15.1.2 supported by the Microsoft Advanced Technology Group ( ATG ) for Xbox One. The Elite Epic Unreal Developers Group which invited me to join as the developers wanted support for Windows Mixed Reality Immersive Headset and HoloLens Headset and the relevant Simulator and Headset using Visual Studio 2017.

    Sample details
    Epic Zen Garden is a beautiful graphical environment showcasing the power of the Metal API was originally an Apple iOS sample which has been converted, by @Jimbohalo10 for Windows Appx, and is the Epic Zen Garden Sample First demonstrated at Apple’s WWDC 2014 keynote, Epic Zen Garden is a beautiful graphical environment showcasing the power of the Metal API on Apple’s iOS platform

    This has now been delivered from June 2017

    For more details or for support send me @Jimbohalo10 personal message

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited June 2017

    There is another sample from Epic Games - Showdown VR Demo
    Please remember the Epic Unreal Engine is a GAMES development system

    This does not have any support for or with Holographic development.

    This demo will only run on the Mixed Reality Immersive Headset as this conversion requires more memory, from Windows 10 PC, than the HoloLens headset has available.

    If you want further details contact @Jimbohalo10 via PM or Inbox

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited May 9 Accepted Answer

    Finally, after another two years and in 2019, we have a version of the Unreal Engine which supports Windows Mixed Reality headsets HMD directly
    see

    On 29th April 2019 Version, Unreal 4.22.1 and Windows Mixed Reality, WMR, for SteamVR version 1.3.23 for HP VR1000 HMD with Motion Controllers and the other WMR HMD devices like Samsung etc was released.

    from the posting on GitHub in the Epic support area I wrote about the Epic Games Launcher for UE 4.22.1 and watch the video Introduction to VR Development

    Use the Epic Games Launcher to get the latest binary version to install on the Windows 10 Professional April 2018 update or build 18362.63 onward.

    WMR VR support now natively supports the Windows Mixed Reality for SteamVR Beta Updated team 1.3.23 https://docs.unrealengine.com/en-US/Platforms/VR/WMR.
    This natively supports all WMR HMD headsets example HP WMR HMD VR1000, using the UE Editor VR preview function into your HMD display.
    The slowness encountered has now been fixed and you can run Steam VR games natively in your HMD as the Introduction to VR Development using Unreal Engine 4 shows. This is simply completed by starting the desktop icon Windows Mixed Reality SteamVR after updating the Windows Mixed Reality SteamVR application from your desktop Steam icon.
    The Windows 10 April 2018 version was the first version to support this and the recent version 1903 build 18362.63 onward added more Holographic updates.
    Further to this running the native SteamVR will run most Unreal application for Showdown VR demo in your HMD headset.
    NOTE The is NOT Hololens 1 or 2 support, that still requires 32bit UWP version and the Hololens Emulator

    Although the latest buildable UWP version Unreal Engine Merge tag '4.20.3-release' into release_uwp is available for those developers registered with Epic for HoloLens development. This still needs significant build time (>18 hours) to produce a working UWP version and is an unsupported ATG version. If you are NOT a registered Epic developer you will receive a web error 404 "page not found" on the links above because the repository is marked private as is all Epic development repositories.

Sign In or Register to comment.