Skip to content

Commit 65ad5de

Browse files
TylerMSFTTylerMSFT
authored andcommitted
acrolinx
1 parent 3dc26b9 commit 65ad5de

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

docs/ide/walkthrough-deploying-your-program-cpp.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ helpviewer_keywords: ["deploying applications [C++], walkthroughs", "setup proje
66
---
77
# Walkthrough: Deploying Your Program (C++)
88

9-
Now that you've created your application by completing the earlier related walkthroughs, the last step is to create an installer so that other users can install the program on their computers. For the installer, you'll add a new project to your existing solution. The output of this new project is a setup.exe file that will install your app on another computer.
9+
Now that you've created your application by completing the earlier related walkthroughs, the last step is to create an installer so that other users can install the program on their computers. For the installer, you add a new project to your existing solution. The output of this new project is a `setup.exe` file that can install your app on another computer.
1010

1111
The walkthrough shows how to use Windows Installer to deploy your application. You can also use ClickOnce to deploy an application. For more information, see [ClickOnce Deployment for Visual C++ Applications](../windows/clickonce-deployment-for-visual-cpp-applications.md). For more information about deployment in general, see [Deploying Applications, Services, and Components](/visualstudio/deployment/deploying-applications-services-and-components).
1212

@@ -15,27 +15,29 @@ The walkthrough shows how to use Windows Installer to deploy your application. Y
1515
- The walkthrough assumes that you understand the fundamentals of the C++ language.
1616
- It also assumes that you've completed the earlier related walkthroughs that are listed in [Using the Visual Studio IDE for C++ Desktop Development](using-the-visual-studio-ide-for-cpp-desktop-development.md).
1717
- The walkthrough can't be completed in Express editions of Visual Studio.
18-
- The walkthrough can't be completed without the Microsoft Visual Studio INstaller Project extension. Instructions for installing it follow.
18+
- The walkthrough can't be completed without the *Microsoft Visual Studio Installer Project* extension. Instructions for installing it follow.
1919

2020
## Install the Visual Studio setup and deployment project template
2121

22-
The steps in this section vary depending on which version of Visual Studio you have installed. To see the documentation for your preferred version of Visual Studio, use the **Version** selector control. It's found at the top of the table of contents on this page.
22+
The steps in this section vary depending on which version of Visual Studio you have installed. To see the documentation for your preferred version of Visual Studio, use the **Version** selector control. The control near the top of the table of contents on this page.
2323

2424
<!-- markdownlint-disable MD034 -->
2525

2626
::: moniker range=">=msvc-160"
2727

28-
If you haven't already done so, download the Microsoft Visual Studio Installer Projects extension. The extension is free for Visual Studio developers and adds the setup and deployment project templates to Visual Studio.
28+
If you haven't already done so, download the *Microsoft Visual Studio Installer Projects* extension. The extension is free for Visual Studio developers and adds the setup and deployment project templates to Visual Studio.
2929

30-
1. When you're connected to the Internet, from the main menu in Visual Studio choose **Extensions** > **Manage Extensions**. The **Manage Extensions** dialog appears. Select the **Online** tab and type *Microsoft Visual Studio Installer Projects* in the search box. Hit **Enter**, select **Microsoft Visual Studio Installer Projects**, and click **Download**. Choose to run and install the extension, then restart Visual Studio.
30+
1. When you're connected to the Internet, from the main menu in Visual Studio choose **Extensions** > **Manage Extensions**. The **Manage Extensions** dialog appears.
31+
1. Select the **Online** tab and type *Microsoft Visual Studio Installer Projects* in the search box. Hit **Enter**, select **Microsoft Visual Studio Installer Projects**, and click **Download**.
32+
1. Choose to run and install the extension, then restart Visual Studio.
3133

3234
### Create the setup project
3335

34-
1. On the Visual Studio menu bar, choose **File** > **Recent Projects and Solutions**, and then choose to reopen your project.
36+
1. From the Visual Studio main menu, choose **File** > **Recent Projects and Solutions**, and then choose to reopen your project.
3537

36-
1. On the menu bar, choose **File** > **New** > **Project** to open the **Create a New Project** dialog box. In the search box, type `Setup` and from the results choose **Setup Project** and then **Next**.
38+
1. From the main menu, choose **File** > **New** > **Project** to open the **Create a New Project** dialog box. In the search box, type `Setup` and from the results choose **Setup Project** and then **Next**.
3739

38-
1. Enter a name for the setup project in the **Name** box. In the **Solution** drop-down list, select **Add to solution**. Choose **Create** to create the setup project. A **File Assistant (ProjectName)** tab opens in the editor window.
40+
1. Enter a name for the setup project in the **Name** box, such as `Setup`. In the **Solution** drop-down list, select **Add to solution**. Choose **Create** to create the setup project. A **File System (setup project name)** tab opens in the editor window.
3941

4042
1. Right-click the **Application Folder** node in the left pane and select **Add** > **Project Output** to open the **Add Project Output Group** dialog box.
4143

@@ -45,19 +47,19 @@ If you haven't already done so, download the Microsoft Visual Studio Installer P
4547

4648
1. Rename the shortcut item to *Game*, then drag and drop the item into the **User's Programs Menu** node on the left side of the window.
4749

48-
1. In **Solution Explorer**, select the setup project and choose **View** > **Properties Window** to open the **Properties** window.
50+
1. In **Solution Explorer**, select the setup project and choose **View** > **Properties Window** to open the **Properties** window for the setup project.
4951

50-
1. Specify additional details as you want them to appear in the installer. For example, use *Contoso* for **Manufacturer**, *Game Installer* for **Product Name**, and *https\://www.contoso.com* for **SupportUrl**. Choose **OK** to save your changes.
52+
1. Specify the other details in the property window the way you want them to appear in the installer. For example, use *Contoso* for **Manufacturer**, *Game Installer* for **Product Name**, and `https://www.contoso.com` for **SupportUrl**.
5153

5254
### Build the setup project
5355

5456
1. From the main menu, choose **Build** > **Configuration Manager**. In the **Project contexts** table, under the **Build** column, check the box for **Game Installer**. Click **Close**.
5557

56-
1. On the menu bar, choose **Build** > **Build Solution** to build the Game project and the Game Installer project.
58+
1. From the menu bar, choose **Build** > **Build Solution** to build the Game project and the Game Installer project.
5759

5860
### Run the setup project
5961

60-
1. In the solution explorer, switch to folder view and navigate to the setup folder and the **Debug** folder under that. Run the `setup.exe` program there, which was built from the Game Installer project, to install the Game application on your computer. You can copy this file (and GameInstaller.msi) to install the application and its required library files on another computer.
62+
1. In the solution explorer, use the button to **Switch between solutions and available views** to switch to folder view. Then navigate to the setup folder and the **Debug** folder under that. Run the `setup.exe` program there, which was built from the Game Installer project, to install the Game application on your computer. You can copy this file (and GameInstaller.msi) to install the application and its required library files on another computer.
6163

6264
::: moniker-end
6365

@@ -93,7 +95,7 @@ If you haven't already done so, download the Microsoft Visual Studio Installer P
9395

9496
1. In **Solution Explorer**, select the **Game Installer** project and choose **View** > **Properties Window** or hit **F4** to open the **Properties** window.
9597

96-
1. Specify additional details as you want them to appear in the installer. For example, use *Contoso* for **Manufacturer**, *Game Installer* for **Product Name**, and *https\://www.contoso.com* for **SupportUrl**.
98+
1. Specify the other details the way you want them to appear in the installer. For example, use *Contoso* for **Manufacturer**, *Game Installer* for **Product Name**, and *https\://www.contoso.com* for **SupportUrl**.
9799

98100
1. On the menu bar, choose **Build** > **Configuration Manager**. In the **Project** table, under the **Build** column, check the box for **Game Installer**. Click **Close**.
99101

0 commit comments

Comments
 (0)