C# 클래스 Config.CSScriptInstaller

파일 보기 프로젝트 열기: oleg-shilo/cs-script 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ShellExtensionHasMoved bool
contextMenus System.Collections.ArrayList
doubleClickAction string
justInstalled bool
restrictedMode bool
settings csscript.Settings
targetCLRVersion CLRVersion

Private Properties

프로퍼티 타입 설명
AddToPath string
CopyAllFiles void
CopyKeyValue void
CreateDefaultConfig void
DeleteKey void
DeleteKeyValue void
EnsureComShellExtensionPlacement void
FindWindow System.IntPtr
GetCurrentConfig void
GetKey Microsoft.Win32.RegistryKey
GetMethod System.Reflection.MethodInfo
GetPropertyValue object
GetTargetCLRVersion string
IsShellCmdEnabled bool
KeyExists bool
MergeLocalIncluds void
RegCloseKey uint
RegGetValueExp string
RegOpenKeyEx int
RegQueryValueEx int
RegSetStrValue int
RegSetValueEx int
RemoveFromPath string
SendMessageTimeout bool
SetForegroundWindow System.IntPtr
SetTargetCLRVersion void
ShowMessageBox DialogResult
ShowReminder bool

공개 메소드들

메소드 설명
CSScriptInstaller ( bool quiet, bool update ) : csscript
EnableComShellExtForAll ( bool enable ) : void
GetComShellExtRegisteredDll ( ) : string
GetEnvironmentVariable ( string variable ) : string
GetExecutingEngineDir ( ) : string
GetHighestNetVersion ( ) : System.Version
GetKeyValue ( string name, string valueName ) : object
GetNotepadPP ( ) : string
GetScriptIcon ( ) : string
Install ( bool installShellExtension ) : void
InstallComShellExt ( bool install, Form form, bool silent ) : void
IsComShellExtInstalled ( ) : bool
IsComShellExtInstalledForAllFiles ( ) : bool
IsFileAssosiationOk ( ) : bool
IsInstalled ( ) : bool
ReinstallShellExt ( ) : void
ResetCsDefaultProgram ( ) : void
RestartExplorer ( ) : void
RunApp ( string app, string args ) : string
RunAppSafe ( string app, string args ) : string
SetEnvironmentVariable ( string variable, string value ) : void
SetKeyValue ( string keyName, string name, object value ) : void
UnInstall ( ) : void
Update ( ) : void
UpdateFromInstallation ( csscript destSettings, string installDir ) : void
ValidateShellExtensionsCompatibility ( ) : void

비공개 메소드들

메소드 설명
AddToPath ( string dir, string path ) : string
CopyAllFiles ( string srcRootDir, string destRootDir ) : void
CopyKeyValue ( string keyName, string srcValueName, string destValueName ) : void
CreateDefaultConfig ( string filename ) : void
DeleteKey ( string name ) : void
DeleteKeyValue ( string name, string valueName ) : void
EnsureComShellExtensionPlacement ( ) : void
FindWindow ( string ClassName, string WindowText ) : IntPtr
GetCurrentConfig ( ArrayList menus, string &doubleClickAction ) : void
GetKey ( string name, bool writable ) : RegistryKey
GetMethod ( Assembly assembly, string name, Type types, BindingFlags bf ) : MethodInfo
GetPropertyValue ( object o, string name ) : object
GetTargetCLRVersion ( string appConfigFile ) : string
IsShellCmdEnabled ( string name, string command ) : bool
KeyExists ( string name ) : bool
MergeLocalIncluds ( string scHomeDir ) : void
RegCloseKey ( int hKey ) : uint
RegGetValueExp ( uint key, string subKey, string valName ) : string
RegOpenKeyEx ( uint hKey, string lpSubKey, uint ulOptions, int samDesired, int &phkResult ) : int
RegQueryValueEx ( int hKey, string lpValueName, int lpReserved, uint &lpType, StringBuilder lpData, int &lpcbData ) : int
RegSetStrValue ( uint key, string subKey, string valName, string val ) : int
RegSetValueEx ( int hKey, string lpValueName, int Reserved, int dwType, [ lpData, int cbData ) : int
RemoveFromPath ( string dir, string path ) : string
SendMessageTimeout ( IntPtr hWnd, int Msg, int wParam, string lParam, int fuFlags, int uTimeout, int lpdwResult ) : bool
SetForegroundWindow ( IntPtr hWnd ) : IntPtr
SetTargetCLRVersion ( string version, string filename ) : void
ShowMessageBox ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton ) : DialogResult
ShowReminder ( string message, string title ) : bool

메소드 상세

CSScriptInstaller() 공개 메소드

public CSScriptInstaller ( bool quiet, bool update ) : csscript
quiet bool
update bool
리턴 csscript

EnableComShellExtForAll() 공개 정적인 메소드

public static EnableComShellExtForAll ( bool enable ) : void
enable bool
리턴 void

GetComShellExtRegisteredDll() 공개 정적인 메소드

public static GetComShellExtRegisteredDll ( ) : string
리턴 string

GetEnvironmentVariable() 공개 정적인 메소드

public static GetEnvironmentVariable ( string variable ) : string
variable string
리턴 string

GetExecutingEngineDir() 공개 정적인 메소드

public static GetExecutingEngineDir ( ) : string
리턴 string

GetHighestNetVersion() 정적인 공개 메소드

static public GetHighestNetVersion ( ) : System.Version
리턴 System.Version

GetKeyValue() 공개 정적인 메소드

public static GetKeyValue ( string name, string valueName ) : object
name string
valueName string
리턴 object

GetNotepadPP() 공개 정적인 메소드

public static GetNotepadPP ( ) : string
리턴 string

GetScriptIcon() 공개 정적인 메소드

public static GetScriptIcon ( ) : string
리턴 string

Install() 공개 메소드

public Install ( bool installShellExtension ) : void
installShellExtension bool
리턴 void

InstallComShellExt() 공개 정적인 메소드

public static InstallComShellExt ( bool install, Form form, bool silent ) : void
install bool
form System.Windows.Forms.Form
silent bool
리턴 void

IsComShellExtInstalled() 공개 정적인 메소드

public static IsComShellExtInstalled ( ) : bool
리턴 bool

IsComShellExtInstalledForAllFiles() 공개 정적인 메소드

public static IsComShellExtInstalledForAllFiles ( ) : bool
리턴 bool

IsFileAssosiationOk() 공개 정적인 메소드

public static IsFileAssosiationOk ( ) : bool
리턴 bool

IsInstalled() 정적인 공개 메소드

static public IsInstalled ( ) : bool
리턴 bool

ReinstallShellExt() 공개 정적인 메소드

public static ReinstallShellExt ( ) : void
리턴 void

ResetCsDefaultProgram() 공개 정적인 메소드

public static ResetCsDefaultProgram ( ) : void
리턴 void

RestartExplorer() 공개 정적인 메소드

public static RestartExplorer ( ) : void
리턴 void

RunApp() 정적인 공개 메소드

static public RunApp ( string app, string args ) : string
app string
args string
리턴 string

RunAppSafe() 정적인 공개 메소드

static public RunAppSafe ( string app, string args ) : string
app string
args string
리턴 string

SetEnvironmentVariable() 공개 정적인 메소드

public static SetEnvironmentVariable ( string variable, string value ) : void
variable string
value string
리턴 void

SetKeyValue() 정적인 공개 메소드

static public SetKeyValue ( string keyName, string name, object value ) : void
keyName string
name string
value object
리턴 void

UnInstall() 공개 메소드

public UnInstall ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateFromInstallation() 정적인 공개 메소드

static public UpdateFromInstallation ( csscript destSettings, string installDir ) : void
destSettings csscript
installDir string
리턴 void

ValidateShellExtensionsCompatibility() 공개 정적인 메소드

public static ValidateShellExtensionsCompatibility ( ) : void
리턴 void

프로퍼티 상세

ShellExtensionHasMoved 공개적으로 프로퍼티

public bool ShellExtensionHasMoved
리턴 bool

contextMenus 공개적으로 프로퍼티

public ArrayList,System.Collections contextMenus
리턴 System.Collections.ArrayList

doubleClickAction 공개적으로 프로퍼티

public string doubleClickAction
리턴 string

justInstalled 공개적으로 정적으로 프로퍼티

public static bool justInstalled
리턴 bool

restrictedMode 공개적으로 프로퍼티

public bool restrictedMode
리턴 bool

settings 공개적으로 프로퍼티

public Settings,csscript settings
리턴 csscript.Settings

targetCLRVersion 공개적으로 프로퍼티

public CLRVersion targetCLRVersion
리턴 CLRVersion