Class ResourceFileInstaller
The ResourceFileInstaller installs Resource File Components (zips) to a DotNetNuke site.
Inherited Members
Namespace: DotNetNuke.Services.Installer.Installers
Assembly: DotNetNuke.dll
Syntax
public class ResourceFileInstaller : FileInstaller
Fields
| Improve this Doc View SourceDEFAULT_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 SourceAllowableFiles
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
| Improve this Doc View SourceCollectionNodeName
Gets the name of the Collection Node (resourceFiles
).
Declaration
protected override string CollectionNodeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceItemNodeName
Gets the name of the Item Node (resourceFile
).
Declaration
protected override string ItemNodeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceManifest
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 SourceCommitFile(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
| Improve this Doc View SourceDeleteFile(InstallFile)
The DeleteFile method deletes a single file.
Declaration
protected override void DeleteFile(InstallFile file)
Parameters
Type | Name | Description |
---|---|---|
InstallFile | file |
Overrides
| Improve this Doc View SourceInstallFile(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
| Improve this Doc View SourceIsCorrectType(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 |
Overrides
| Improve this Doc View SourceReadManifestItem(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
| Improve this Doc View SourceRollbackFile(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
Remarks
For new installs this removes the added file. For upgrades it restores the backup file created during install.
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. |