Reputation: 8847
What is the most user-friendly way to deploy Windows 8 WinRT apps from within a WinRT app assuming they are already signed with a valid sideloading certificate?
Windows Phone 8 has a nice API for installing XAP packages, but I can't find anything similar for Windows 8.
The best thing I can think of is to download the various installation files to, for instance, My Documents and ask users to switch over to windows explorer and run the powershell scrpt, but that is very user un-friendly. Furthermore it looks like saving appx files is restricted in the manifest, so they would need to be zipped.
Can appx files be deployed via msi? That would be slightly more user-friendly. Am I missing anything?
EDIT This solution needs to work for x86 as well as ARM.
Upvotes: 0
Views: 1052
Reputation: 7241
The API for installing packages in Windows 8 is the PackageManager. Normally this API isn't available to Windows Store apps, but if you have a special certificate or your execution environment is somehow adapted, maybe it could work.
Upvotes: 1