Share via


Package Class

 

Represents the information that is used to describe and install an add-in package.

Namespace:   Microsoft.WindowsServerSolutions.AddinInfrastructure
Assembly:  AddinInfrastructure (in AddinInfrastructure.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.AddinInfrastructure.Package

Syntax

[DataContractAttribute(Name = "Package", Namespace = "https://schemas.microsoft.com/WindowsServerSolutions/2010/03/Addins")]
public class Package
[DataContractAttribute(Name = "Package", Namespace = "https://schemas.microsoft.com/WindowsServerSolutions/2010/03/Addins")]
public ref class Package 
<DataContractAttribute(Name := "Package", Namespace := "https://schemas.microsoft.com/WindowsServerSolutions/2010/03/Addins")>
Public Class Package

Constructors

Name Description
System_CAPS_pubmethod Package()

Initializes a new instance of the Package class.

Properties

Name Description
System_CAPS_pubproperty Allow32BitOn64BitClients

Indicates whether 64-bit client computers must use 32-bit binaries if 64-bit binaries cannot be found.

System_CAPS_pubproperty ClientBinary32

Gets and sets the binary file to install on 32-bit client computers.

System_CAPS_pubproperty ClientBinary64

Gets and sets the binary file to install on 64-bit client computers.

System_CAPS_pubproperty Id

Gets and sets the identifier of the add-in package.

System_CAPS_pubproperty IsValidSku

Indicates whether the current add-in package can be installed on the specified edition of the operating system.

System_CAPS_pubproperty Location

Gets and sets information about whether the add-in integrates with an online service or integrates with the local server.

System_CAPS_pubproperty Name

Gets and sets the name of the add-in package.

System_CAPS_pubproperty OtherBinaries

Gets the binaries for operating systems other than the Windows operating system.

System_CAPS_pubproperty Preinstall

Gets and sets the pre-installation commands.

System_CAPS_pubproperty PrivacyStatement

Gets and sets the address of the privacy statement for the add-in.

System_CAPS_pubproperty ServerBinary

Gets and sets the binary file to install on the server.

System_CAPS_pubproperty ShowSupplementalNotice

Gets and sets a value that determines if the supplemental notice is shown.

System_CAPS_pubproperty SupportUrl

Gets and sets the URL where support information for the add-in package is located.

System_CAPS_pubproperty UninstallConfirm

Gets and sets the uninstall confirmation object.

System_CAPS_pubproperty Version

Gets and sets the version of the add-in package.

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateCompanyStringFromFile(String)

Returns the company name from the certificate that was used to sign the specified file.

System_CAPS_pubmethodSystem_CAPS_static CreateFromFile(String)

Creates a Package object from the specified file.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static ReadEulaFromFile(String)

Extracts the Microsoft Software License Terms from the add-in package and returns the contents.

System_CAPS_pubmethod ToString()

Returns a String object that represents the current add-in package.(Overrides Object.ToString().)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace

Return to top