GenerateOfficeDocumentInstallationPath Class
Defines an MSBuild task that returns a path to the installation folder to be written into a customized document. This class cannot be inherited.
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Microsoft.Build.Utilities::Task
Microsoft.VisualStudio.Tools.Office.BuildTasks::BuildTask
Microsoft.VisualStudio.Tools.Office.BuildTasks::GenerateOfficeDocumentInstallationPath
| Name | Description | |
|---|---|---|
![]() | GenerateOfficeDocumentInstallationPath() | Initializes a new instance of the GenerateOfficeDocumentInstallationPath class. |
| Name | Description | |
|---|---|---|
![]() | BuildEngine | (Inherited from Task.) |
![]() | BuildEngine2 | (Inherited from Task.) |
![]() | BuildEngine3 | (Inherited from Task.) |
![]() | BuildEngine4 | (Inherited from Task.) |
![]() | HostObject | (Inherited from Task.) |
![]() | InstallationPath | Gets the relative or fully qualified path of the installation folder to be written into a customized document. |
![]() | InstallUrl | Sets the installation path where the customized document is copied for installation. |
![]() | Log | (Inherited from Task.) |
![]() | PublishUrl | Sets the publish path where the customized document is copied for publishing. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Execute() | Creates the output folder and, if applicable, the installation folder, where the customized document is published. (Overrides Task::Execute().) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
The document must be part of an Office development project for a 2007 Microsoft Office system application.
Set all of the GenerateOfficeDocumentInstallationPath properties, and then call Execute to run this task.
The Microsoft Build Engine uses Microsoft.VisualStudio.Tools.Office.BuildTasks to build and deploy Office solutions. However, you can create your own build system by using these classes and the MSBuild XML-based project files. For more information, see MSBuild Reference.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

