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 |
---|---|
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. |
|
The add-in is scheduled to check for an update, but the update location is unreachable. |
|
The add-in does not require an update and will be run from the ClickOnce cache. |
|
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. |
|
The add-in is being uninstalled. |
|
The add-in is being updated. The installation steps are the same as InitialInstall. |
|
The current version of the add-in is being uninstalled, and a previous version of the add-in is being installed. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AddInPostDeploymentActionArgs Class
Microsoft.VisualStudio.Tools.Applications.Deployment Namespace