• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class PackageInstaller

The PackageInstaller class is an Installer for Packages.

Inheritance
System.Object
ComponentInstallerBase
PackageInstaller
Inherited Members
ComponentInstallerBase.AllowableFiles
ComponentInstallerBase.InstallMode
ComponentInstallerBase.Log
ComponentInstallerBase.PackageFiles
ComponentInstallerBase.PhysicalSitePath
ComponentInstallerBase.SupportsManifestOnlyInstall
ComponentInstallerBase.Completed
ComponentInstallerBase.Package
ComponentInstallerBase.Skipped
ComponentInstallerBase.Type
ComponentInstallerBase.Version
ComponentInstallerBase.ReadEventMessageNode(XPathNavigator)
Namespace: DotNetNuke.Services.Installer.Installers
Assembly: DotNetNuke.dll
Syntax
public class PackageInstaller : ComponentInstallerBase

Constructors

| Improve this Doc View Source

PackageInstaller(PackageInfo)

Initializes a new instance of the PackageInstaller class. This Constructor creates a new PackageInstaller instance.

Declaration
public PackageInstaller(PackageInfo package)
Parameters
Type Name Description
PackageInfo package

A PackageInfo instance.

| Improve this Doc View Source

PackageInstaller(String, InstallerInfo)

Initializes a new instance of the PackageInstaller class. This Constructor creates a new PackageInstaller instance.

Declaration
public PackageInstaller(string packageManifest, InstallerInfo info)
Parameters
Type Name Description
System.String packageManifest

The manifest as a string.

InstallerInfo info

An InstallerInfo instance.

Properties

| Improve this Doc View Source

DeleteFiles

Gets or sets a value indicating whether gets and sets whether the Packages files are deleted when uninstalling the package.

Declaration
public bool DeleteFiles { get; set; }
Property Value
Type Description
System.Boolean

A Boolean value.

| Improve this Doc View Source

IsValid

Gets a value indicating whether the Package is Valid.

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean

A Boolean value.

Methods

| Improve this Doc View Source

Commit()

The Commit method commits the package installation.

Declaration
public override void Commit()
Overrides
ComponentInstallerBase.Commit()
| Improve this Doc View Source

Install()

The Install method installs the components of the package.

Declaration
public override void Install()
Overrides
ComponentInstallerBase.Install()
| Improve this Doc View Source

ReadManifest(XPathNavigator)

The ReadManifest method reads the manifest file and parses it into components.

Declaration
public override void ReadManifest(XPathNavigator manifestNav)
Parameters
Type Name Description
XPathNavigator manifestNav
Overrides
ComponentInstallerBase.ReadManifest(XPathNavigator)
| Improve this Doc View Source

Rollback()

The Rollback method rolls back the package installation.

Declaration
public override void Rollback()
Overrides
ComponentInstallerBase.Rollback()
| Improve this Doc View Source

UnInstall()

The Uninstall method uninstalls the components of the package.

Declaration
public override void UnInstall()
Overrides
ComponentInstallerBase.UnInstall()

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS