Method | Description | |
---|---|---|
Paratext7orLaterInstalled ( ) : bool |
Determines the installation or absence of the Paratext program by checking for the existence of the registry key that that application uses to store its program files directory in the local machine settings. This is 'HKLM\Software\ScrChecks\1.0\Program_Files_Directory_Ptw(7,8,9)' NOTE: This key is not opened for write access because it will fail on non-administrator logins.
|
|
SetValueAsAdmin ( this key, string name, string value ) : void |
Extension method to write a registry key to somewhere in HKLM hopfully with eleverating privileges. This method can cause the UAC dialog to be shown to the user (on Vista or later). Can throw SecurityException on permissions problems.
|
|
UpgradeUserSettingsIfNeeded ( ) : void |
E.g. the first time the user runs FW8, we need to copy a bunch of registry keys from HKCU/Software/SIL/FieldWorks/7.0 -> FieldWorks/8.
|
Method | Description | |
---|---|---|
CopyAllValuesToNewSubKey ( |
||
CopySubKeyTree ( |
||
CopyValueToNewKey ( string valueName, |
||
MigrateVersion7ValueIfNeeded ( ) : void |
public static Paratext7orLaterInstalled ( ) : bool | ||
return | bool |
public static SetValueAsAdmin ( this key, string name, string value ) : void | ||
key | this | |
name | string | |
value | string | |
return | void |
public static UpgradeUserSettingsIfNeeded ( ) : void | ||
return | void |