Packaging Your UWP App for Ad Hoc Distribution

From RAD Studio
Jump to: navigation, search

Go Up to 64-bit Windows Application Development


To distribute your application Ad hoc, you need to build your application with a special platform configuration first, which is specific to Ad hoc.

Prerequisites

Before you can build a version of your Windows 32 or Windows 64 application for Ad hoc distribution, you need:

Creating a UWP Package

Project prepared for generating a package to upload to an application store

To create a UWP Package, do the following:

  1. On the Project Manager, expand the Build Configurations node and double-click the Release configuration, or any other platform-agnostic configuration that you want to use to build your signed application package.
  2. Expand the Target Platforms node and select the target platform by double-clicking the 32-bit Windows or 64-bit Windows option. The selected target platform is displayed in bold.
  3. Expand the 32-bit Windows or 64-bit Windows node, expand the Configuration node within, and double-click the Application Store platform configuration node to select that platform configuration. The selected platform configuration is displayed in bold.
  4. Open the Provisioning page in the Project > Options > Provisioning menu option.
    • In the Build Type drop-down list, click 32-bit Windows - Application Store or 64-bit Windows - Application Store.
    • Click Ad hoc and fill in all fields as described on the Completing the Provisioning Page.
    Provisioning
  5. Select Project > Deployment, and click the Deploy DMgrDeploy.png button to deploy your application.

RAD Studio builds your application using the Windows 10 SDK you previously added to the IDE and signs your application using the signing certificate specified in the Provisioning page.

You can find your signed application package (.appx) in your project folder:

<Your Project Folder>\<Windows Platform Name> <Win32>\<Selected Configuration>\<Project Name>\bin\<Project Name>.appx
<Your Project Folder>\<Windows Platform Name> <Win64>\<Selected Configuration>\<Project Name>\bin\<Project Name>.appx

For example: C:\Users\<user>\Documents\Embarcadero\Studio\Projects\ProjectFolder\Win32\Release\MyProject\bin\MyProject.appx.

See Also