I would like to be able to give another user a copy of my Metro app for testing without
giving him the source code to recompile. To do this, I would like to generate a .appx
file on my machine and then install it on another Windows 8 machine with a developers
license and run it. Here are the steps I have followed:
1) I generated the packages with Store->Create App Packages... in Visual Studio Express
2) I then copied the AppPackages directory to another machine
3) On the other machine I opened a powershell navigated into the _Test directory and tried
to execute ".\Add-AppDevPackage.ps1" This failed with the message:
"...cannot be loaded because running scripts is disabled on this system. ..."
4) I then tried "set-executionPolicy unrestricted". This command failed with
"Access to the registry key HKEY_LOCAL_MACHINE... is denied."
5) Finally I tried "add-appxpackage .. .appx"
Here I got "Deployment failed with HRESULT: 0x800b0109, A certificate chain processed,.."
My questions are
1) How do I create the .appx packages? Do I need to create a special certificate before compiling the app?
2) How do I deploy the package on another machine?
~
- Ken