Skip to content

Commit 5e3215e

Browse files
Refactored package identity topics with Overview. (#5442)
* Refactored package identity topics with Overview. * Fixed build warnings and links. * Edit pass * Edit pass * Edit pass 2 --------- Co-authored-by: Steven White <[email protected]>
1 parent 7baff0a commit 5e3215e

File tree

4 files changed

+34
-14
lines changed

4 files changed

+34
-14
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Grant package identity by packaging with external location
3+
description: Overview of how to grant package identity to an unpackaged Win32 app so that you can use modern Windows features in that app.
4+
ms.date: 05/20/2025
5+
ms.topic: article
6+
keywords: windows 11, windows 10, desktop, sparse, package, identity, external, location, MSIX, Win32, Visual Studio
7+
ms.localizationpriority: medium
8+
---
9+
10+
# Grant package identity by packaging with external location
11+
12+
Many Windows features can be used by a desktop app only if that app has package identity at runtime. See [Features that require package identity](/windows/apps/desktop/modernize/modernize-packaged-apps). If you have an existing desktop app, with its own installer, then there's very little you need to change in order to benefit from package identity.
13+
14+
Starting in Windows 10, version 2004, you can grant package identity to an app simply by building and registering a *package with external location* with your app. Packaging with external location allows you to register a simple identity package in your existing installer without changing how or where you install your application. You might be familiar with full MSIX packaging; this is a much lighter-weight option.
15+
16+
You can [add an identity package to an existing Visual Studio project](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps-visual-studio) with the Windows Application Packaging Project and [Package with External Location](https://marketplace.visualstudio.com/items?itemName=WapProj-PackageWithExternalLocation.wapprojPackageWithExternalLocation) extension. This approach is recommended when there is a single application project that needs identity. The tooling provides a visual manifest editor, visual Resource Designer for localization, graphical wizard for creating and trusting self-signed certificates, automatic updating of application manifests, and PowerShell scripts to register and unregister the identity package for local testing.
17+
18+
If you don't build with Visual Studio or want to bundle multiple application executables under a shared identity, you can [build an identity package manually](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps).

hub/apps/desktop/modernize/grant-identity-to-nonpackaged-apps-visual-studio.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ ms.localizationpriority: medium
99

1010
# Grant package identity by packaging with external location in Visual Studio
1111

12-
Many Windows features can be used by a desktop app only if that app has package identity at runtime. See [Features that require package identity](/windows/apps/desktop/modernize/modernize-packaged-apps). If you have an existing desktop app, with its own installer, then there's very little you need to change in order to benefit from package identity.
12+
For the motivations behind adding package identity, as well as the differences between building identity packages in Visual Studio and building them manually, see [Overview](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps-overview).
1313

14-
Starting in Windows 10, version 2004, you can grant package identity to an app simply by building and registering a *package with external location* with your app. Packaging with external location allows you to register a simple identity package in your existing installer without changing how or where you install your application. You might be familiar with full MSIX packaging; this is a much lighter-weight option, as described below.
14+
This topic describes how to build and register an identity package by using Visual Studio. For info about building an identity package manually, see [Grant package identity by packaging with external location manually](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps).
1515

16-
If you already have a Visual Studio project for your application, then building an identity package in Visual Studio provides a more streamlined experience than [building an identity package manually](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps).
17-
18-
These are the steps that we'll be describing in detail in this topic to build and register an identity package using Visual Studio:
16+
These are the steps (which this topic describes in detail) to build and register an identity package by using Visual Studio:
1917

2018
1. [Install Visual Studio components](#install-visual-studio-components)
2119
2. [Add a Packaging Project to your solution](#add-a-packaging-project-to-your-solution)

hub/apps/desktop/modernize/grant-identity-to-nonpackaged-apps.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2+
title: Grant package identity by packaging with external location manually
23
description: Learn how to grant package identity to an unpackaged Win32 app so that you can use modern Windows features in that app.
3-
title: Grant package identity by packaging with external location
44
ms.date: 10/13/2023
55
ms.topic: article
66
keywords: windows 10, desktop, sparse, package, identity, external, location, MSIX, Win32
77
ms.localizationpriority: medium
88
ms.custom: RS5
99
---
1010

11-
# Grant package identity by packaging with external location
11+
# Grant package identity by packaging with external location manually
1212

13-
Many Windows features can be used by a desktop app only if that app has package identity at runtime. See [Features that require package identity](/windows/apps/desktop/modernize/modernize-packaged-apps). If you have an existing desktop app, with its own installer, there's very little you need to change in order to benefit from package identity.
13+
For the motivations behind adding package identity, as well as the differences between building identity packages in Visual Studio and building them manually, see [Overview](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps-overview).
1414

15-
Starting in Windows 10, version 2004, you can grant package identity to an app simply by building and registering a *package with external location* with your app. Packaging with external location allows you to register a simple identity package in your existing installer without changing how or where you install your application. If you're familiar with full MSIX packaging, this is a much lighter-weight option as described below.
15+
This topic describes how to build and register an identity package manually. For info about building an identity package in Visual Studio, see [Grant package identity by packaging with external location in Visual Studio](/windows/apps/desktop/modernize/grant-identity-to-nonpackaged-apps-visual-studio).
1616

17-
To build and register an identity package, follow these steps:
17+
These are the steps (which this topic describes in detail) to build and register an identity package manually:
1818

1919
1. [Create a package manifest for the identity package](#create-a-package-manifest-for-the-identity-package)
2020
2. [Build and sign the identity package](#build-and-sign-the-identity-package)

hub/apps/toc.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,14 @@ items:
460460
href: desktop/modernize/desktop-to-uwp-distribute.md
461461
- name: Package your app using single-project MSIX
462462
href: windows-app-sdk/single-project-msix.md
463-
- name: Grant package identity by packaging with external location in Visual Studio
464-
href: desktop/modernize/grant-identity-to-nonpackaged-apps-visual-studio.md
465-
- name: Grant package identity by packaging with external location manually
466-
href: desktop/modernize/grant-identity-to-nonpackaged-apps.md
463+
- name: Grant package identity by packaging with external location
464+
items:
465+
- name: Overview
466+
href: desktop/modernize/grant-identity-to-nonpackaged-apps-overview.md
467+
- name: Grant package identity by packaging with external location in Visual Studio
468+
href: desktop/modernize/grant-identity-to-nonpackaged-apps-visual-studio.md
469+
- name: Grant package identity by packaging with external location manually
470+
href: desktop/modernize/grant-identity-to-nonpackaged-apps.md
467471
- name: Deployment
468472
items:
469473
- name: Overview

0 commit comments

Comments
 (0)