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

Class ResourceFileInstaller

The ResourceFileInstaller installs Resource File Components (zips) to a DotNetNuke site.

Inheritance
System.Object
ComponentInstallerBase
FileInstaller
ResourceFileInstaller
Inherited Members
FileInstaller.SupportsManifestOnlyInstall
FileInstaller.DeleteFiles
FileInstaller.Files
FileInstaller.DefaultPath
FileInstaller.PhysicalBasePath
FileInstaller.BasePath
FileInstaller.Commit()
FileInstaller.Install()
FileInstaller.ReadManifest(XPathNavigator)
FileInstaller.Rollback()
FileInstaller.UnInstall()
FileInstaller.ProcessFile(InstallFile, XPathNavigator)
FileInstaller.ReadCustomManifest(XPathNavigator)
ComponentInstallerBase.InstallMode
ComponentInstallerBase.Log
ComponentInstallerBase.PackageFiles
ComponentInstallerBase.PhysicalSitePath
ComponentInstallerBase.Completed
ComponentInstallerBase.Package
ComponentInstallerBase.Skipped
ComponentInstallerBase.Type
ComponentInstallerBase.Version
ComponentInstallerBase.ReadEventMessageNode(XPathNavigator)
Namespace: DotNetNuke.Services.Installer.Installers
Assembly: DotNetNuke.dll
Syntax
public class ResourceFileInstaller : FileInstaller

Fields

| Improve this Doc View Source

DEFAULT_MANIFESTEXT

The ResourceFileInstaller installs Resource File Components (zips) to a DotNetNuke site.

Declaration
public const string DEFAULT_MANIFESTEXT = null
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

AllowableFiles

Gets a list of allowable file extensions (in addition to the Host's List).

Declaration
public override string AllowableFiles { get; }
Property Value
Type Description
System.String
Overrides
ComponentInstallerBase.AllowableFiles
| Improve this Doc View Source

CollectionNodeName

Gets the name of the Collection Node (resourceFiles).

Declaration
protected override string CollectionNodeName { get; }
Property Value
Type Description
System.String
Overrides
FileInstaller.CollectionNodeName
| Improve this Doc View Source

ItemNodeName

Gets the name of the Item Node (resourceFile).

Declaration
protected override string ItemNodeName { get; }
Property Value
Type Description
System.String
Overrides
FileInstaller.ItemNodeName
| Improve this Doc View Source

Manifest

The ResourceFileInstaller installs Resource File Components (zips) to a DotNetNuke site.

Declaration
protected string Manifest { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

CommitFile(InstallFile)

The CommitFile method commits a single file.

Declaration
protected override void CommitFile(InstallFile insFile)
Parameters
Type Name Description
InstallFile insFile

The InstallFile to commit.

Overrides
FileInstaller.CommitFile(InstallFile)
| Improve this Doc View Source

DeleteFile(InstallFile)

The DeleteFile method deletes a single file.

Declaration
protected override void DeleteFile(InstallFile file)
Parameters
Type Name Description
InstallFile file
Overrides
FileInstaller.DeleteFile(InstallFile)
| Improve this Doc View Source

InstallFile(InstallFile)

The InstallFile method installs a single file.

Declaration
protected override bool InstallFile(InstallFile insFile)
Parameters
Type Name Description
InstallFile insFile

The InstallFile to install.

Returns
Type Description
System.Boolean

true if the installation was successful, otherwise false.

Overrides
FileInstaller.InstallFile(InstallFile)
| Improve this Doc View Source

IsCorrectType(InstallFileType)

Gets a flag that determines what type of file this installer supports.

Declaration
protected override bool IsCorrectType(InstallFileType type)
Parameters
Type Name Description
InstallFileType type

The type of file being processed.

Returns
Type Description
System.Boolean

true if this is the correct type, otherwise false.

Overrides
FileInstaller.IsCorrectType(InstallFileType)
| Improve this Doc View Source

ReadManifestItem(XPathNavigator, Boolean)

The ReadManifestItem method reads a single node.

Declaration
protected override InstallFile ReadManifestItem(XPathNavigator nav, bool checkFileExists)
Parameters
Type Name Description
XPathNavigator nav

The XPathNavigator representing the node.

System.Boolean checkFileExists

Flag that determines whether a check should be made.

Returns
Type Description
InstallFile

A new InstallFile instance.

Overrides
FileInstaller.ReadManifestItem(XPathNavigator, Boolean)
| Improve this Doc View Source

RollbackFile(InstallFile)

The RollbackFile method rolls back the install of a single file.

Declaration
protected override void RollbackFile(InstallFile insFile)
Parameters
Type Name Description
InstallFile insFile
Overrides
FileInstaller.RollbackFile(InstallFile)
Remarks

For new installs this removes the added file. For upgrades it restores the backup file created during install.

| Improve this Doc View Source

UnInstallFile(InstallFile)

The UnInstallFile method unInstalls a single file.

Declaration
protected override void UnInstallFile(InstallFile unInstallFile)
Parameters
Type Name Description
InstallFile unInstallFile

The InstallFile to unInstall.

Overrides
FileInstaller.UnInstallFile(InstallFile)

Extension Methods

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