Метод | Описание | |
---|---|---|
GatherInstallationInformation ( ) : |
This method is called by the installation engine in order to ask the provider what pieces of information it needs from the user in order to proceed with the installation. This method returns a Control used to gather the required installation information. This will be returned back to the provider after the user provides the information.
|
|
GetCurrentInstallationVersion ( ) : System.Version |
Gets the Version of the current Subtext installation.
|
|
GetInstallationStatus ( System.Version currentAssemblyVersion ) : InstallationState |
Gets the installation status.
|
|
Install ( System.Version assemblyVersion ) : void |
Installs this instance.
|
|
IsInstallationException ( |
Determines whether the specified exception is due to a problem with the installation.
|
|
IsPermissionDeniedException ( |
Determines whether the specified exception is due to a permission denied error.
|
|
ProvideInstallationInformation ( |
Provides the installation information as provided by the user back into the provider. The control passed in should be the same as that provided in GatherInstallationInformation, but with user values supplied within it.
|
|
Repair ( ) : bool |
Attempts to repair this instance. Returns true if it was successful.
|
|
UpdateInstallationVersionNumber ( System.Version newVersion, |
Updates the current installed version.
|
|
Upgrade ( ) : void |
Upgrades this instance. Returns true if it was successful.
|
|
ValidateInstallationInformation ( |
Validates the installation information provided by the user. Returns a string with an explanation of why it is incorrect.
|
public abstract GatherInstallationInformation ( ) : |
||
Результат |
public abstract GetCurrentInstallationVersion ( ) : System.Version | ||
Результат | System.Version |
public abstract GetInstallationStatus ( System.Version currentAssemblyVersion ) : InstallationState | ||
currentAssemblyVersion | System.Version | The version of the assembly that represents this installation. |
Результат | InstallationState |
public abstract Install ( System.Version assemblyVersion ) : void | ||
assemblyVersion | System.Version | The current assembly version being installed. |
Результат | void |
public abstract IsInstallationException ( |
||
exception | exception. | |
Результат | bool |
public abstract IsPermissionDeniedException ( |
||
exception | ||
Результат | bool |
public abstract ProvideInstallationInformation ( |
||
populatedControl | Populated control. | |
Результат | void |
public abstract UpdateInstallationVersionNumber ( System.Version newVersion, |
||
newVersion | System.Version | The new version that is now current. |
transaction | The transaction to perform this upgrade within. | |
Результат | void |
public abstract ValidateInstallationInformation ( |
||
control | control used to provide information. | |
Результат | string |