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

Class LanguageInstaller

The LanguageInstaller installs Language Packs to a DotNetNuke site.

Inheritance
System.Object
ComponentInstallerBase
FileInstaller
LanguageInstaller
Inherited Members
FileInstaller.SupportsManifestOnlyInstall
FileInstaller.DeleteFiles
FileInstaller.Files
FileInstaller.DefaultPath
FileInstaller.PhysicalBasePath
FileInstaller.BasePath
FileInstaller.ReadManifest(XPathNavigator)
FileInstaller.CommitFile(InstallFile)
FileInstaller.DeleteFile(InstallFile)
FileInstaller.InstallFile(InstallFile)
FileInstaller.IsCorrectType(InstallFileType)
FileInstaller.ProcessFile(InstallFile, XPathNavigator)
FileInstaller.ReadManifestItem(XPathNavigator, Boolean)
FileInstaller.RollbackFile(InstallFile)
FileInstaller.UnInstallFile(InstallFile)
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 LanguageInstaller : FileInstaller

Constructors

| Improve this Doc View Source

LanguageInstaller(LanguagePackType)

Initializes a new instance of the LanguageInstaller class.

Declaration
public LanguageInstaller(LanguagePackType type)
Parameters
Type Name Description
LanguagePackType type

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

A String.

Overrides
ComponentInstallerBase.AllowableFiles
| Improve this Doc View Source

CollectionNodeName

Gets the name of the Collection Node ("languageFiles").

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

A String.

Overrides
FileInstaller.CollectionNodeName
| Improve this Doc View Source

ItemNodeName

Gets the name of the Item Node ("languageFile").

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

A String.

Overrides
FileInstaller.ItemNodeName

Methods

| Improve this Doc View Source

Commit()

The Commit method finalises the Install and commits any pending changes.

Declaration
public override void Commit()
Overrides
FileInstaller.Commit()
Remarks

In the case of Modules this is not neccessary.

| Improve this Doc View Source

Install()

The Install method installs the language component.

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

ReadCustomManifest(XPathNavigator)

The ReadCustomManifest method reads the custom manifest items.

Declaration
protected override void ReadCustomManifest(XPathNavigator nav)
Parameters
Type Name Description
XPathNavigator nav

The XPathNavigator representing the node.

Overrides
FileInstaller.ReadCustomManifest(XPathNavigator)
| Improve this Doc View Source

Rollback()

The Rollback method undoes the installation of the component in the event that one of the other components fails.

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

UnInstall()

The UnInstall method uninstalls the language component.

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

Extension Methods

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