Class PackageInstaller
The PackageInstaller class is an Installer for Packages.
Inherited Members
Namespace: DotNetNuke.Services.Installer.Installers
Assembly: DotNetNuke.dll
Syntax
public class PackageInstaller : ComponentInstallerBase
Constructors
| Improve this Doc View SourcePackageInstaller(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. |
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 SourceDeleteFiles
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. |
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 SourceCommit()
The Commit method commits the package installation.
Declaration
public override void Commit()
Overrides
| Improve this Doc View SourceInstall()
The Install method installs the components of the package.
Declaration
public override void Install()
Overrides
| Improve this Doc View SourceReadManifest(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
| Improve this Doc View SourceRollback()
The Rollback method rolls back the package installation.
Declaration
public override void Rollback()
Overrides
| Improve this Doc View SourceUnInstall()
The Uninstall method uninstalls the components of the package.
Declaration
public override void UnInstall()