<installFrom> Element (Visual Studio Tools for Office Reference)

Note

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

For more information, see Features Available by Application and Project Type.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • Microsoft Office 2003

Provides a path to the deployment location of dependent assemblies when used as a child of a dependency element, and to the location of the deployment manifest when used as a child of the assembly element.

<installFrom
   codebase
/>

The installFrom element is required and is in the asm.v2 namespace.

The installFrom element has the following attribute.

Attribute

Description

codebase

Required. Identifies the path to the assembly or deployment manifest.

The installFrom element has no child elements.

Application and deployment manifests in Visual Studio Tools for Office solutions are not signed, as ClickOnce manifests are. The manifests cannot be validated before they are used.

Some of the fields in application and deployment manifests that are generated by the publish tools are not used in Visual Studio Tools for Office solutions, including some fields that identify properties of the assembly such as size and version.

The following code example illustrates the installFrom elements in an application manifest for a Visual Studio Tools for Office application. This code example is part of a larger example provided for the Application Manifests for Office Solutions (2003 System) topic.

<dependency asmv2:name="Project1">
    <dependentAssembly>
        <assemblyIdentity name="Project1" 
            version="1.0.1.1"/>
    </dependentAssembly>
    <asmv2:installFrom codebase=
        "http://deployweb/project1/project1_1.0.1.1/project1.dll"/>
</dependency>
<asm.v2:installFrom codebase=
    "http://deployweb/project1/project1.application"/>

Community Additions

ADD
Show: