I've built a Windows 10 Hosted Web App (HWA) using MS Visual Studio 2015. Now, I've investigated if there is a way to create a standalone installer for it - which bundles the generated .appx
and related files into a one-click executable. Sadly, so far, I've only succeded to sideload the HWA bundle by using the provided PowerShell script.
In this context, I've looked at the NSIS (Nullsoft Scriptable Install System) to create an Installer for this HWA. So far there seems to be only "preliminary Windows 10 support" according to the latest changelogs (see section Version F.2 3.0 Beta 2).
So my questions are:
appx
applications?Note:
I'm interested in non-Windows-Store based approaches as the app should only be distributed to a group of verified customers by local installation.
EDIT-1:
I'm open to ideas on other (non NSIS-based) installer creation approaches.
On the Windows 10 download page, download the media creation tool by selecting Download tool now, then run the tool. In the tool, select Create installation media (USB flash drive, DVD, or ISO) for another PC > Next. Select the language, architecture, and edition of Windows, you need and select Next.
Mount the ISO File in Windows 11, 10, or 8.1From the pop-up menu, select the Mount command. This will open a virtual drive that is visible in File Explorer, from which you can install the software. On the virtual drive, you should find a setup.exe file (or something similar) for installing the program.
NSIS does not support HWA apps out of the box. If you know which Windows APIs to call you could probably use the System plugin or create a custom NSIS plugin. I had a quick look on MSDN but I could not find which API you are supposed to call to sideload apps.
The part about preliminary Windows 10 support has nothing to do with Modern apps. It is mostly about general compatibility and version checking.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With