title: Is it possible to install an .appxbundle (UWP/XAML app) without admin rights?
body: <p>I've been working with UWP/Xaml for the past couple days but am unable to answer the title question so far: Is it possible to install an .appxbundle without admin rights?</p>
  
  <p>I'm developing a Unity3D/UWP/Xaml application which cant be deployed to Windows Store and thus needs to be sideloaded and am also using the default Visual Studio 2017 test certificate. Both developer and client PCs are running on Windows 10 x64 with latest build. Developer PC is in Developer Mode and Client PC is in Sideload Apps Mode.</p>
  
  <p>The project generated have the following dependencies:</p>
  
  <ol>
  <li>Microsoft.NET.CoreRuntime.1.1.appx</li>
  <li>Microsoft.VCLibs.x64.14.00.appx</li>
  </ol>
  
  <p>Using powershell scripts shouldnt be a problem as long as they dont need admin rights. </p>
  
  <p>I've tried a few things with no success so far:</p>
  
  <ul>
  <li>Double clicking the .appxbundle
  
  <ul>
  <li>Results in the following message: A certificate chain processed, but terminated in a root certificate which isn't trusted (0x800B0109)</li>
  </ul></li>
  <li>Double clicking the certificate generated by visual studio and installing it to CURRENT USER (Local Machine requires admin rights), then placing certificate to either Trusted Root Certification Authorities or Trusted People and clicking again on .appxbundle</li>
  <li>Running the powershell script
  
  <ul>
  <li>Returns the following message: Before installing this app you need to do the following: Acquire a developer license</li>
  <li>Then it asks for admin rights</li>
  </ul></li>
  <li>Running the powershell script after modifying the CheckIfNeedDeveloperLicense to always return $false
  
  <ul>
  <li>Returns the following message: error 0x800B0109: The root certificate of the signature in the app package or bundle must be trusted.</li>
  <li>Somehow I have a feeling that the dependency Microsoft.VCLibs.x64.14.00.appx is triggering this. Also, I cant manually install this .appx because it gives me the following message: App installation failed with error message: The package could not be installed because resources it modifies are currently in use. (0x80073d02)</li>
  </ul></li>
  <li>Tried a mix of powershell Set-ExecutionPolicy commands before running the visual studio generated powershell script, including:
  
  <ul>
  <li>Force</li>
  <li>ByPass</li>
  <li>AllSigned</li>
  <li>Unrestricted</li>
  <li>-Scope CurrentUser</li>
  </ul></li>
  <li>Deploy visual studio project (which generates an .appx instead of an .appxbundle) instead of Store -> Create App Package</li>
  </ul>
  
  <p>I have also read this thread <a href="https://stackoverflow.com/questions/50331879/uwp-app-installation-without-admin-rights-powershell-interaction-and-without-wi">UWP App Installation without admin rights, powershell interaction and without Windows Store?</a>
  But I couldnt figure out how to configure the powershell script to run without admin rights.</p>
  
  <p>Everything points me to a faulty certificate, but I still don't get how to generate a trusted one for sideloading apps. Is it possible to do it for free?</p>
  
  <p>Let me know if any more info is needed in order to solve this.</p>
  
  <p>Thank you for your time!</p>