Condividi tramite


Prerequisites Dialog Box

This dialog box specifies which prerequisite components are installed, how they are installed, and which order the packages are installed.

To access this dialog box, select a project node in Solution Explorer, and then, on the Project menu, click Properties. When the Project Designer appears, click the Publish tab. On the Publish page, click Prerequisites. For Setup projects, on the Project menu, click Properties. When the Property Pages dialog box appears, click Prerequisites.

Element

Description

Create setup program to install prerequisite components

Includes the prerequisite components in your application's Setup program (Setup.exe) so that they will be installed before your application, in order of dependency. By default, this option is selected. If it is not selected, no Setup.exe is created.

Choose which prerequisites to install

Specifies whether to install components such as .NET Framework, Crystal Reports, and so on.

For example, by selecting the check box next to SQL Server 2005 Express Edition SP2, you specify that the Setup program verify whether this component is installed on the target computer and install it if it is not already installed.

For detailed information about each prerequisite package, see the Prerequisites Information table later in this topic.

Check Microsoft Update for more redistributable components

Clicking this link takes you to the Bootstrapper Packages to Redistribute Components website to check for updates.

Download prerequisites from the component vendor's web site

Specifies that the prerequisite components be installed from the vendor's Web site. This is the default option.

Download prerequisites from the same location as my application

Specifies that the prerequisite components be installed from the same location as the application. This copies all the prerequisite packages to the publish location. For this option to work, the prerequisite packages must be on the development computer.

Download prerequisites from the following location

Specifies that the prerequisite components be installed from the location that you select. You can use the Browse button to select a location.

Prerequisites Information

The prerequisite components that appear in the Prerequisites dialog box might differ from those in the following list. The prerequisite packages listed in the Prerequisites Dialog Box are set automatically the first time that you open the dialog box. If you subsequently change the project's target framework, you will have to select the prerequisites manually to match the new target framework.

Element

Description

.NET Framework 3.5 SP1

This package installs the following:

  • .NET Framework versions 2.0, 3.0, and 3.5.

  • Support for all .NET Framework versions on 32-bit (x86) and 64-bit (x64) operating systems.

  • Language packs for each .NET Framework version that is installed with the package.

  • Service packs for .NET Framework 2.0 and 3.0.

.NET Framework 3.0 is included with Windows Vista, and .NET Framework 3.5 is included with Visual Studio. .NET Framework 3.5 is required for all Visual Basic and Visual C# projects that are compiled for 32-bit operating systems and for which the target framework is set to .NET Framework 3.5, and for Visual Basic and Visual C# projects compiled for 64-bit operating systems. (IA64 is not supported.) Note that Visual Basic and Visual C# projects are compiled for any CPU architecture by default. For more information, see Visual Studio Multi-Targeting Overview, Redistributing the .NET Framework, and Deploying Prerequisites for 64-bit Applications.

By default, this item is selected.

.NET Framework 3.5 SP1 Client Profile

The .NET Framework Client Profile is a subset of the full .NET Framework 3.5 SP1 that targets client applications. It provides a streamlined subset of Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features. This enables rapid deployment scenarios for WPF, Windows Forms, WCF, and console applications that target the .NET Framework Client Profile. For more information, see .NET Framework Client Profile.

Microsoft .NET Framework 4 (x86 and x64)

This package installs the .NET Framework 4 for both the x86 and x64 platforms.

For more information, see Visual Studio Multi-Targeting Overview, Redistributing the .NET Framework, and Deploying Prerequisites for 64-bit Applications.

By default, this item is selected.

Microsoft .NET Framework 4 Client Profile (x86 and x64)

The .NET Framework 4 Client Profile is a subset of the full .NET Framework 4 that targets client applications. It provides a streamlined subset of Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features. This enables rapid deployment scenarios for WPF, Windows Forms, and console applications that target the .NET Framework 4 Client Profile. For more information, see .NET Framework Client Profile.

Microsoft Office 2007 Primary Interop Assemblies

This package installs the Primary Interop Assemblies for 2007 Microsoft Office products. The primary interop assembly enables managed code to interact with a Microsoft Office application's COM-based object model. For more information, see Office Primary Interop Assemblies.

Microsoft Visual Basic PowerPacks version 10.0

Power Packs are add-ins, controls, components, and tools to aid you in developing Visual Basic applications. This version contains the PrintForm component, which enables you to print the contents of a Windows Form, and the Printer Compatibility Library, which enables Visual Basic 6.0 Printer code to run unmodified.

Microsoft Visual F# Runtime for .NET 2.0

This package installs the Visual F# run-time libraries for the x86 and x64 operating systems, which provide support for functional programming as well as traditional object-oriented and imperative (procedural) programming. This package must be installed if the application or its components is authored in Visual F# and .NET Framework 2.0, .NET Framework 3.0, or .NET Framework 3.5.

For more information, see F# Language Reference.

Microsoft Visual F# Runtime for .NET 4.0

This package installs the Visual F# run-time libraries for the x86 and x64 operating systems, which provide support for functional programming as well as traditional object-oriented and imperative (procedural) programming. This package must be installed if the application or its components is authored in Visual F# and .NET Framework 4.

For more information, see F# Language Reference.

Microsoft Visual Studio 2010 Report Viewer

This package installs report viewer controls that you can use to add rich data reporting to Windows Forms and ASP.NET applications.

Microsoft Visual Studio 2010 for Office Runtime (x86 and x64)

The Office developer tools in Visual Studio offers easy-to-use, integrated tools for creating customized business solutions with Microsoft Office. You can create managed, smart client solutions that use Office applications as a user interface. The tools enable developers to create secure solutions that are easy to deploy and maintain.

For more information, see How to: Deploy an Office Solution by Using ClickOnce.

SQL Server 2005 Express Edition SP2 (x86)

This package installs Microsoft SQL Server 2005 Express Edition SP2, a database application that is based on Microsoft SQL Server 2005. SQL Server Express is a replacement for Microsoft SQL Server Desktop Engine (MSDE). SQL Server Express is free and can be redistributed (subject to agreement), and it functions as both a client database and a basic server database. It is the same as SQL Server 2005, except for the following differences:

  • No enterprise features support.

  • Limited to one CPU.

  • 1 gigabyte (GB) memory limit for the buffer pool.

  • 4 GB maximum size for databases.

SQL Server 2008 Express

This package installs Microsoft SQL Server 2008 Express, a free edition of Microsoft SQL Server 2008, an ideal database for small web, server or desktop applications. It can be used for free for development and production. A free registration is required for distributing SQL Server 2008 Express with the application.

The behavior of the bootstrapper is the following:

  • If the computer already has SQL Server 2008 Express or later, the computer remains at SQL Server 2008 Express or later.

  • If the computer does not have any version of SQL Server 2008 Express or later, the package installs the latest version of SQL Server 2008 Express SP1.

To learn more about SQL Server 2008 Express, visit https://go.microsoft.com/fwlink/?LinkId=183586.

Visual C++ 2010 Runtime Libraries (IA64)

This package installs the Visual C++ run-time libraries for the Itanium architecture, which provide routines for programming for the Microsoft Windows operating system. These routines automate many common programming tasks that are not provided by the C and C++ languages.

For more information, see C Run-Time Library Reference.

Visual C++ 2010 Runtime Libraries (x64)

This package installs the Visual C++ run-time libraries for the x64 operating systems, which provide routines for programming for the Microsoft Windows operating system. These routines automate many common programming tasks that are not provided by the C and C++ languages.

For more information, see C Run-Time Library Reference.

Visual C++ 2010 Runtime Libraries (x86)

This package installs the Visual C++ run-time libraries for the x86 operating systems, which provide routines for programming for the Microsoft Windows operating system. These routines automate many common programming tasks that are not provided by the C and C++ languages.

For more information, see C Run-Time Library Reference.

Windows Installer 3.1

This package installs the Microsoft Windows Installer redistributable, version 3.1, which allows the installation of Windows Installer Setup projects. It is preinstalled on Windows Server 2003 with SP1 and later.

By default, this item is selected.

Windows Installer 4.5

This package installs the Microsoft Windows Installer redistributable, version 4.5, which allows the installation of Windows Installer Setup projects.

See Also

Reference

Publish Page, Project Designer

Concepts

Application Deployment Prerequisites

Deploying Prerequisites for 64-bit Applications

Visual Studio Multi-Targeting Overview

Other Resources

Redistributing the .NET Framework