Skip to content

Commit 55bbded

Browse files
Merge pull request #10621 from MicrosoftDocs/main638749115324605146sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 1a6fcbf + 6a8d3ee commit 55bbded

File tree

9 files changed

+89
-39
lines changed

9 files changed

+89
-39
lines changed

docs/deployment/application-deployment-prerequisites.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Application Deployment Prerequisites"
33
description: Learn about the deployment prerequisites for your applications, including using the Prerequisites Dialog Box and bootstrapper packages.
4-
ms.date: "09/23/2021"
4+
ms.date: "02/10/2025"
55
ms.topic: "conceptual"
66
dev_langs:
77
- "FSharp"
@@ -21,16 +21,16 @@ ms.subservice: deployment
2121
---
2222
# Application deployment prerequisites (Windows desktop)
2323

24-
To have your Windows desktop application install and run successfully, first install all components upon which your application is dependent onto the target computer. For example, most applications created using Visual Studio have a dependency on the .NET Framework. In this case, the correct version of the common language runtime must be present on the destination computer before the application is installed.
24+
To successfully install and run a Windows desktop application, the components upon which your application depends must be installed onto the target computer. This article provides an overview of the installation of required components for [ClickOnce](../deployment/clickonce-security-and-deployment.md) and Windows Installer [Setup](../deployment/deploying-applications-services-and-components.md#create-an-installer-package-windows-desktop-1) projects.
2525

26-
You can select these prerequisites in the **Prerequisites Dialog Box** and install the .NET Framework and any other redistributable as a part of your installation. This practice is known as *bootstrapping*. Visual Studio generates a Windows executable program named *Setup.exe*, also known as a *bootstrapper*. The bootstrapper is responsible for installing these prerequisites before your application runs. For more information about selecting these prerequisites, see [Prerequisites dialog box](../ide/reference/prerequisites-dialog-box.md).
26+
You can select required components, called prerequisites, such as the .NET Framework and any other redistributable as a part of your installation. The process of installing prerequisites is known as *bootstrapping*. Visual Studio generates a Windows executable program named *Setup.exe*, also known as a *bootstrapper*. The bootstrapper is responsible for installing these prerequisites before your application runs. For more information about selecting these prerequisites, see [Prerequisites dialog box](../ide/reference/prerequisites-dialog-box.md).
2727

28-
Each prerequisite is a bootstrapper package. A bootstrapper package is a group of directories and files containing the manifest files that describe how the prerequisites are installed. If your application prerequisites are not listed in the **Prerequisite Dialog Box**, you can create custom bootstrapper packages and add them to Visual Studio. Then you can select the prerequisites in the **Prerequisites Dialog Box**. For more information, see [Create bootstrapper packages](../deployment/creating-bootstrapper-packages.md).
28+
A *bootstrapper package* is a group of directories and files containing the manifest files that describe how the prerequisites are installed. Each prerequisite that appears in the **Prerequisites Dialog Box** is a bootstrapper package. If your application prerequisites aren't listed in the **Prerequisite Dialog Box**, you can create custom bootstrapper packages and add them to Visual Studio. Then you can select the prerequisites in the **Prerequisites Dialog Box**. For more information, see [Create bootstrapper packages](../deployment/creating-bootstrapper-packages.md).
2929

30-
By default, bootstrapping is enabled for both Windows Installer deployment (by using Setup projects in Visual Studio) and ClickOnce deployment. The bootstrapper generated for Windows Installer deployment is not signed, but in ClickOnce deployment, the bootstrapper is signed. You can disable bootstrapping for a component, but you should do so only if you are sure that the correct version of the component is already installed on all target computers.
30+
By default, bootstrapping is enabled for both Windows Installer deployment (by using Setup projects in Visual Studio) and ClickOnce deployment. The bootstrapper generated for Windows Installer deployment isn't signed, but in ClickOnce deployment, the bootstrapper is signed. You can disable bootstrapping for a component, but you should do so only if you're sure that the correct version of the component is already installed on all target computers.
3131

3232
## Bootstrapping and ClickOnce deployment
33-
Before installing an application on a client computer, ClickOnce examines the client to ensure that it has the requirements specified in the application manifest. These include the following requirements:
33+
Before installing an application on a client computer, ClickOnce examines the client to ensure that it has the requirements specified in the application manifest. These requirements include the following:
3434

3535
- The minimum required version of the common language runtime, which is specified as an assembly dependency in the application manifest.
3636

@@ -45,17 +45,12 @@ By default, bootstrapping is enabled for both Windows Installer deployment (by u
4545
4646
If you use Visual Studio and ClickOnce to deploy your application, the bootstrapper packages that are selected by default depend on the version of the .NET Framework in the solution. However, if you change the target .NET Framework version, you must update the options in the **Prerequisites Dialog Box** manually.
4747

48-
|Target .NET Framework|Selected Bootstrapper Packages|
49-
|---------------------------|------------------------------------|
50-
|.NET Framework 4 Client Profile|.NET Framework 4 Client Profile<br /><br /> Windows Installer 3.1|
51-
|.NET Framework 4|.NET Framework 4<br /><br /> Windows Installer 3.1|
52-
5348
With ClickOnce deployment, the *Publish.htm* page generated by the ClickOnce Publish Wizard points either to a link that installs only the application, or to a link that installs both the application and the bootstrapped components.
5449

5550
If you generate the bootstrapper by using the ClickOnce Publish Wizard or the Publish Page in Visual Studio, the *Setup.exe* is automatically signed. However, if you want to use your customer's certificate to sign the bootstrapper, you can sign the file later.
5651

5752
## Bootstrapping and MSBuild
58-
If you do not use Visual Studio, but rather compile your applications on the command line, you can create the ClickOnce bootstrapping application by using a Microsoft Build Engine (MSBuild) task. For more information, see [GenerateBootstrapper task](../msbuild/generatebootstrapper-task.md).
53+
If you don't use Visual Studio, but rather compile your applications on the command line, you can create the ClickOnce bootstrapping application by using a Microsoft Build Engine (MSBuild) task. For more information, see [GenerateBootstrapper task](../msbuild/generatebootstrapper-task.md).
5954

6055
As an alternative to bootstrapping, you can pre-deploy components using an electronic software distribution system, such as Microsoft Systems Management Server (SMS).
6156

@@ -73,7 +68,7 @@ By default, bootstrapping is enabled for both Windows Installer deployment (by u
7368
| **-homesite=** `true` **&#124;** `false` | When `true`, downloads the dependencies from the preferred location on the vendor's site. This setting overrides the **-componentsurl** setting. When `false`, downloads the dependencies from the URL specified by **-componentsurl**. |
7469

7570
## Operating system support
76-
The Visual Studio bootstrapper is not supported on Windows Server 2008 Server Core or Windows Server 2008 R2 Server Core, as they provide a low-maintenance server environment with limited functionality. For example, the Server Core installation option only supports the .NET Framework 3.5 Server Core profile, which cannot run the Visual Studio features that depend on the full .NET Framework.
71+
The Visual Studio bootstrapper isn't supported on Windows Server 2008 Server Core or Windows Server 2008 R2 Server Core, as they provide a low-maintenance server environment with limited functionality. For example, the Server Core installation option only supports the .NET Framework 3.5 Server Core profile, which can't run the Visual Studio features that depend on the full .NET Framework.
7772

7873
## Related content
7974
- [Choose a ClickOnce deployment strategy](../deployment/choosing-a-clickonce-deployment-strategy.md)

docs/deployment/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ landingContent:
6060
- text: ClickOnce
6161
url: quickstart-deploy-using-clickonce-folder.md
6262
- text: Installer package
63-
url: deploying-applications-services-and-components.md#create-an-installer-package-windows-desktop
63+
url: deploying-applications-services-and-components.md#create-an-installer-package-windows-desktop-1
6464
- linkListType: how-to-guide
6565
links:
6666
- text: Package a desktop app for Windows Store
@@ -74,7 +74,7 @@ landingContent:
7474
- text: ClickOnce
7575
url: how-to-publish-a-clickonce-application-using-the-publish-wizard.md
7676
- text: Installer package
77-
url: deploying-applications-services-and-components.md#create-an-installer-package-windows-desktop
77+
url: deploying-applications-services-and-components.md#create-an-installer-package-windows-desktop-1
7878

7979
# Card
8080
- title: Deploy to Azure

docs/deployment/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
- name: Visual Studio Installer Projects Extension and .NET 6.0
227227
href: installer-projects-net-core.md
228228
- name: Create an installer package (Windows desktop)
229-
href: deploying-applications-services-and-components.md#create-an-installer-package-windows-desktop
229+
href: deploying-applications-services-and-components.md#create-an-installer-package-windows-desktop-1
230230
- name: Custom bootstrapper
231231
items:
232232
- name: Application deployment prerequisites
55.4 KB
Loading
49.4 KB
Loading
48.1 KB
Loading
223 KB
Loading

0 commit comments

Comments
 (0)