Share via


AddInPostDeploymentActionArgs.InstallationStatus Property

Gets the type of add-in installation that is being performed.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Deployment
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property InstallationStatus As AddInInstallationStatus
public AddInInstallationStatus InstallationStatus { get; }

Property Value

Type: Microsoft.VisualStudio.Tools.Applications.Deployment.AddInInstallationStatus
The type of add-in installation that is being performed.

Remarks

The following table shows the enumeration values for InstallationStatus.

Member

Description

InitialInstall

The add-in is installed for the first time. The application and deployment manifests are retrieved, VerifyAddInPermissions is called to analyze the manifests, and then the signatures are analyzed.

If the deployment manifest is signed with a certificate that is in the Untrusted Publisher list, the installation ends. For all other cases, VerifyAddInTrust checks the trust evidence for the correct permission level.

Offline

The add-in is scheduled to check for an update, but the update location is unreachable.

RunFromCache

The add-in does not require an update and will be run from the ClickOnce cache.

RunFromFolder

The add-in runs from the folder that contains the deployment manifest because the host application has set the RunFromFolder property to true. This is useful if you want to test or run an add-in without installing it. Also, the add-in is not installed into the ClickOnce cache.

Uninstall

The add-in is being uninstalled.

Update

The add-in is being updated. The installation steps are the same as InitialInstall.

Rollback

The current version of the add-in is being uninstalled, and a previous version of the add-in is being installed.

.NET Framework Security

See Also

Reference

AddInPostDeploymentActionArgs Class

Microsoft.VisualStudio.Tools.Applications.Deployment Namespace