[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
If you create a Setup program, you can select which prerequisites are installed as part of setup. These components are not bundled into the Setup file. Instead, you specify one of the following three locations as the place where the Setup program can find, download, and install the prerequisites:
To select prerequisites and choose the download method
In Solution Explorer, select the main project node.
On the Project menu, click ProjectName Properties.
Click the Publish tab.
Click the Prerequisites button to open the Prerequisites dialog box.
Ensure that the Create setup program to install prerequisite components check box is selected.
In the Prerequisites list, ensure that the following prerequisites are selected. Additionally, select other components that you want to install.
Windows Installer 3.1
.NET Framework 3.5, .NET Framework 4 Client, or .NET Framework 4.
Microsoft Office 2007 Primary Interop Assemblies or Microsoft Office 2010 Primary Interop Assemblies (if .NET Framework 3.5 is selected).
Note |
|---|
The Microsoft Office 2010 Primary Interop Assemblies are not available for selection in the Prerequisites Dialog Box by default. |
Visual Studio 2010 Tools for Office Runtime.
Under Specify the install location for prerequisites, select one of the following options:
Click Download prerequisites from the component vendor's web site to download these prerequisites from the vendor.
Click Download prerequisites from the same location as my application to store the prerequisites in the same location as your installer.
Click Download prerequisites from the following location to make the prerequisites available to end users separately on a Web page or network share.
Click OK.
Note |
|---|
You must make sure that installers for the specified components exist at the specified location. |
Tasks
Concepts