C# 클래스 MediaPortal.DeployTool.Utils

파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1

공개 메소드들

메소드 설명
AutoRunApplication ( string action ) : bool
Check64bit ( ) : bool
CheckFileVersion ( string aFilePath, string aMinimumVersion, System.Version &aCurrentVersion ) : bool
CheckNSISUninstallString ( string RegistryPath, string MementoSection ) : MediaPortal.DeployTool.CheckResult
CheckPrerequisites ( ) : void
CheckStartupPath ( ) : bool
CheckTargetDir ( string dir ) : bool
CheckUninstallString ( string clsid, bool delete ) : string
DownloadFile ( string FileName, string prg ) : DialogResult
ErrorDlg ( string msg ) : void
GetCurrentPackageVersion ( ) : System.Version
GetDisplayVersion ( ) : string
GetDownloadString ( string session_id, string node_id ) : string
GetPackageVersion ( string type ) : System.Version
IsAeroEnabled ( ) : bool
IsCurrentPackageUpdatabled ( System.Version pkgVer ) : bool
IsOfficialBuild ( string build ) : bool
IsPackageUpdatabled ( System.Version pkgVer ) : bool
LocalizeDownloadFile ( string filename, string downloadtype, string prg ) : string
Log ( string message ) : void
NotifyReboot ( string DisplayName ) : void
OpenSubKey ( RegistryKey pParentKey, string pSubKeyName, bool pWriteable, eRegWow64Options pOptions ) : RegistryKey
PathFromRegistry ( string regkey ) : string
RetryDownloadFile ( string FileName, string prg ) : DialogResult
SetDeployXml ( string section, string entry, string value ) : void

Adds a record to deploy.xml (will be created if it does not exist). This will then be picked up by MP itself and applied to mediaportal.xml

UninstallMSI ( string clsid ) : void
UninstallNSIS ( string RegistryFullPathName ) : void
VersionFromRegistry ( string regkey ) : System.Version

비공개 메소드들

메소드 설명
DwmIsCompositionEnabled ( int &pfEnabled ) : int
GetRegistryKeyHandle ( RegistryKey pRegisteryKey ) : IntPtr
GetUserAgentOsString ( ) : string
IsWow64Process ( [ hProcess, [ lpSystemInfo ) : bool
PointerToRegistryKey ( IntPtr hKey, bool pWritable, bool pOwnsHandle ) : RegistryKey
RegOpenKeyEx ( IntPtr hKey, string subKey, uint options, int sam, IntPtr &phkResult ) : int

메소드 상세

AutoRunApplication() 공개 정적인 메소드

public static AutoRunApplication ( string action ) : bool
action string
리턴 bool

Check64bit() 공개 정적인 메소드

public static Check64bit ( ) : bool
리턴 bool

CheckFileVersion() 공개 정적인 메소드

public static CheckFileVersion ( string aFilePath, string aMinimumVersion, System.Version &aCurrentVersion ) : bool
aFilePath string
aMinimumVersion string
aCurrentVersion System.Version
리턴 bool

CheckNSISUninstallString() 공개 정적인 메소드

public static CheckNSISUninstallString ( string RegistryPath, string MementoSection ) : MediaPortal.DeployTool.CheckResult
RegistryPath string
MementoSection string
리턴 MediaPortal.DeployTool.CheckResult

CheckPrerequisites() 공개 정적인 메소드

public static CheckPrerequisites ( ) : void
리턴 void

CheckStartupPath() 공개 정적인 메소드

public static CheckStartupPath ( ) : bool
리턴 bool

CheckTargetDir() 공개 정적인 메소드

public static CheckTargetDir ( string dir ) : bool
dir string
리턴 bool

CheckUninstallString() 공개 정적인 메소드

public static CheckUninstallString ( string clsid, bool delete ) : string
clsid string
delete bool
리턴 string

DownloadFile() 공개 정적인 메소드

public static DownloadFile ( string FileName, string prg ) : DialogResult
FileName string
prg string
리턴 DialogResult

ErrorDlg() 공개 정적인 메소드

public static ErrorDlg ( string msg ) : void
msg string
리턴 void

GetCurrentPackageVersion() 공개 정적인 메소드

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

GetDisplayVersion() 공개 정적인 메소드

public static GetDisplayVersion ( ) : string
리턴 string

GetDownloadString() 공개 정적인 메소드

public static GetDownloadString ( string session_id, string node_id ) : string
session_id string
node_id string
리턴 string

GetPackageVersion() 공개 정적인 메소드

public static GetPackageVersion ( string type ) : System.Version
type string
리턴 System.Version

IsAeroEnabled() 공개 정적인 메소드

public static IsAeroEnabled ( ) : bool
리턴 bool

IsCurrentPackageUpdatabled() 공개 정적인 메소드

public static IsCurrentPackageUpdatabled ( System.Version pkgVer ) : bool
pkgVer System.Version
리턴 bool

IsOfficialBuild() 공개 정적인 메소드

public static IsOfficialBuild ( string build ) : bool
build string
리턴 bool

IsPackageUpdatabled() 공개 정적인 메소드

public static IsPackageUpdatabled ( System.Version pkgVer ) : bool
pkgVer System.Version
리턴 bool

LocalizeDownloadFile() 공개 정적인 메소드

public static LocalizeDownloadFile ( string filename, string downloadtype, string prg ) : string
filename string
downloadtype string
prg string
리턴 string

Log() 공개 메소드

public Log ( string message ) : void
message string
리턴 void

NotifyReboot() 공개 정적인 메소드

public static NotifyReboot ( string DisplayName ) : void
DisplayName string
리턴 void

OpenSubKey() 공개 정적인 메소드

public static OpenSubKey ( RegistryKey pParentKey, string pSubKeyName, bool pWriteable, eRegWow64Options pOptions ) : RegistryKey
pParentKey Microsoft.Win32.RegistryKey
pSubKeyName string
pWriteable bool
pOptions eRegWow64Options
리턴 Microsoft.Win32.RegistryKey

PathFromRegistry() 공개 정적인 메소드

public static PathFromRegistry ( string regkey ) : string
regkey string
리턴 string

RetryDownloadFile() 공개 정적인 메소드

public static RetryDownloadFile ( string FileName, string prg ) : DialogResult
FileName string
prg string
리턴 DialogResult

SetDeployXml() 공개 정적인 메소드

Adds a record to deploy.xml (will be created if it does not exist). This will then be picked up by MP itself and applied to mediaportal.xml
public static SetDeployXml ( string section, string entry, string value ) : void
section string name attribute of section element in mediaportal.xml
entry string name attribute of entry element in mediaportal.xml
value string Value to be set for this section/entry
리턴 void

UninstallMSI() 공개 정적인 메소드

public static UninstallMSI ( string clsid ) : void
clsid string
리턴 void

UninstallNSIS() 공개 정적인 메소드

public static UninstallNSIS ( string RegistryFullPathName ) : void
RegistryFullPathName string
리턴 void

VersionFromRegistry() 공개 정적인 메소드

public static VersionFromRegistry ( string regkey ) : System.Version
regkey string
리턴 System.Version