Поделиться через


Publish Wizard (Office Development in Visual Studio)

Use the Publish Wizard to copy the solution files to a specified location, create the manifest files, and create a Setup program.

To access this wizard, on the Build menu, click Publish SolutionName. You can also access the Publish Wizard from Solution Explorer. Right-click the project node, and then click Publish.

Each section below describes a page of the wizard.

Where do you want to publish the application?

  • Specify the location to publish this application
    Required. The publish location is the directory where the Publish Wizard copies the solution files such as the manifests, assemblies, temporary certificate, and other files from the build. You must have write access to this directory.

    Type the location as a disk path, file share, FTP site, or Web site URL, or click the Browse button to browse for the location. The path can be in these formats:

    • A relative or absolute path in standard Windows format, such as C:\Deploy\MyApplication or \MyApplication.

    • A Universal Naming Convention (UNC) path, such as \\ServerName\MyApplication\.

    • A URL of a Web site, such as https://www.microsoft.com/MyApplication.

What is the default installation path on end user computers?

The installation path is optional. You can set the installation path later if you prefer. For details, see How to: Change the Installation Path of an Office Solution.

The Publish Wizard does not deploy the solution to this location, unless the path is the same as the one you entered in the Specify the location to publish this application box on the previous page. The solution uses this path to check for updates after deployment.

  • From a Web site
    Specify the URL that end users will follow to install the solution.

  • From a UNC path or file share
    Specify the UNC path that end users will follow to install the solution.

  • From a CD-ROM or DVD-ROM
    This option does not require an installation path.

    Visual Studio does not burn the CD or DVD. You must copy the output to a CD or DVD manually.

See Also

Reference

Publish Page, Project Designer (Office Development in Visual Studio)

Concepts

Publishing Office Solutions

Other Resources

Deploying Office Solutions