Windows App SDK - Unpackaged deploy docs \ example #1351
-
I am looking for documentation and example to deploy a UWP app as unpackaged using Version 1.0 Experimental (1.0.0-experimental1). The example project https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/tutorial-unpackaged-deployment?tabs=cpp targets a console application and does not even get into how to deploy it. I don't understand this documentation. What does WindowsAppSDKInstall.exe have to do with my unpackaged Win App SDK project? When I run WindowsAppSDKInstall.exe, all that is does is install some bogus app successfully (the assumption I get is that my dev environment is properly configured to deploy unpackaged apps). Run the Windows App SDK installer in your development environment WindowsAppSDKInstall.exe if you are using version 1.0 Experimental or later After the installation is complete, you can run your unpackaged app. For an example of how to build and run an unpackaged app that uses the Windows App SDK, see Tutorial: Build and deploy an unpackaged app that uses the Windows App SDK. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @capegreg, thanks for asking this! UWP apps cannot be unpackaged, UWP apps are always packaged. Unpackaged only applies to desktop-based app types (like WPF and WinForms) - those that choose not to use MSIX. The Windows App SDK operates similar to .NET, in that the computer has to have the Windows App Runtime installed for your app to use it. Your app does not carry the runtime assets itself. The runtime is shared across 1-to-many apps on the computer. Therefore, for unpackaged apps, when you're distributing your app to other computers, you need to include the WindowsAppSDKInstall.exe, and run the installer along with the installation of your app. Packaged apps automatically install this dependency when their MSIX is installed. |
Beta Was this translation helpful? Give feedback.
Hey @capegreg, thanks for asking this!
UWP apps cannot be unpackaged, UWP apps are always packaged.
Unpackaged only applies to desktop-based app types (like WPF and WinForms) - those that choose not to use MSIX.
The Windows App SDK operates similar to .NET, in that the computer has to have the Windows App Runtime installed for your app to use it. Your app does not carry the runtime assets itself. The runtime is shared across 1-to-many apps on the computer.
Therefore, for unpackaged apps, when you're distributing your app to other computers, you need to include the WindowsAppSDKInstall.exe, and run the installer along with the installation of your app. Packaged apps automatically install t…