Updated: July 2008
This walkthrough shows how to deploy a simple .NET Framework Client Profile application by using Windows Installer.
In this walkthrough, you perform the following tasks:
When you are finished, you will have a Windows Installer setup program that installs your .NET Framework Client Profile application and .NET Framework prerequisites.
Note: |
|---|
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings. |
You need the following components to complete this walkthrough:
Creating and Configuring the WPF project
The first step is to create the project for the WPF application.
To create the WPF project
Creating the Setup Project
You create the Windows Installer setup program for a .NET Framework Client Profile application by using the same procedure as other .NET applications.
To create the setup project
Add a new Windows Installer Setup project named Setup1 to the solution. For more information, see How to: Create or Add a Setup Project.
In Solution Explorer, right-click the Setup1 project and select Properties.
The Setup1 Property Pages dialog box opens.
Click Prerequisites.
The Prerequisites dialog box opens.
In the Choose which prerequisites to install section, check .NET Framework Client Profile.
Uncheck .NET Framework 3.5 and .NET Framework 3.5 SP1 if they are checked.
In the Specify the install location for prerequisites section, leave the default Download prerequisites from the component vendor's web site option selected.
This option specifies to download the .NET Client Profile from Microsoft's Web site.
Click OK two times to close the dialog boxes.
In Solution Explorer, right-click the Setup1 project, point to Add, and then select Project Output.
The Add Project Output Group dialog box opens and lists the outputs that can be included in the installer.
Select Primary output and then click OK.
In Solutions Explorer, the Setup1 project node is updated.
Build the solution.
Build the Setup1 project. By default, the Setup1 project is not configured to build with the solution.
Open the DemoApplication\Setup1\Debug folder.
Double-click setup.exe to start installing your application.
During the installation, if the computer does not have the full .NET Framework 3.5 SP1 or the .NET Framework Client Profile, you will be prompted to download and install the .NET Framework Client Profile from Microsoft's Web site.
Note: |
|---|
Administrator permissions are required to install the .NET Framework Client Profile. |
Tasks
Concepts
Reference
Date | History | Reason |
|---|
July 2008
| Added new topic. |
SP1 feature change.
|