Search code examples
uwpwindows-10win-universal-appwindows-10-universalwindows-10-desktop

How to create .exe/.msi for uwp application


We have developed a desktop application, it should run in both PC's and table's, that's the reason we have chosen UWP. Now I have to Packaging UWP application as .exe or .msi to provide it to my clients. I did some research on the internet but didn't found any information. Any one help me like, To create setup project like traditional windows forms with out visual studio using wizard.


Solution

  • You cannot create a standalone EXE or an MSI for a UWP app. The UWP app package itself is the installer. As long as it's signed with a trusted certificate, the user can double-click the package file to install the app.

    Two options to automate the creation of the installation package for your UWP app:

    1) use the commandline tools that come with the Windows SDK (MakeAppx, SignTool): https://learn.microsoft.com/en-us/windows/uwp/packaging/manual-packaging-root

    2) set up a build pipeline in Azure DevOps https://learn.microsoft.com/en-us/azure/devops/pipelines/apps/windows/universal