C# 클래스 InstallOffice, Office-IT-Pro-Deployment-Scripts

파일 보기 프로젝트 열기: OfficeDev/Office-IT-Pro-Deployment-Scripts 1 사용 예제들

공개 메소드들

메소드 설명
ChangeBaseCdnUrl ( string updateSource ) : void
ChangeOfficeChannel ( string targetChannel, string baseUrl ) : Task
ChangeUpdateSource ( string updateSource ) : string
ClearRunningUpdateScenarioTasks ( ) : void
CopyFolder ( DirectoryInfo source, DirectoryInfo target ) : void
DetermineIfLanguageInstalled ( bool throwException = true ) : bool
GetArguments ( ) : List
GetBaseCdnUrl ( ) : string
GetCurrentOperation ( List executingTasks ) : CurrentOperation
GetEmbeddedItems ( string targetDirectory ) : List
GetExecutingScenario ( ) : string
GetOdtErrorMessage ( ) : string
GetOfficeC2RPath ( ) : string
GetOfficeCtrRegPath ( ) : RegistryKey
GetOfficeCtrRegPath ( ) : string
GetOfficePathList ( ) : OfficePathsReturn,
GetOfficeVersion ( ) : OfficeInstalledProducts,
GetRunningScenarioTasks ( ) : List
GetRunningScenarioTasks ( bool assumeUpdate = false ) : List
GetTextFileContents ( string fileName ) : string
IsLanguageInstalled ( string xmlFilePath, string language ) : bool
IsUpdateRunning ( ) : bool
Main1 ( string args ) : void
MoveFile ( string rootDirectory, string md5Hash, string fileName ) : void
ProPlusLanguageInstalled ( string productId, string language ) : bool
ResetUpdateSource ( ) : void
RestartC2RSerivce ( ) : void
RollBackInstall ( ) : void
RunOfficeUpdateAsync ( string version ) : Task
RunProgram ( ) : void
SetUpdateChannel ( string xml, string channel ) : string
UpdateLanguagePackInstall ( string xmlFilePath, bool convertToRemove = false ) : void
WaitForOfficeCtrUpadate ( bool showStatus = false ) : void
WaitForOfficeCtrUpadateWithError ( bool showStatus = false ) : void

비공개 메소드들

메소드 설명
AddLanguage ( XmlDocument xmlDoc, XmlNode productNode, string languageId ) : void
Beautify ( XmlDocument doc ) : string
BeautifyXml ( string xml ) : string
CleanUp ( string installDir ) : void
CopyStream ( Stream input, Stream output ) : void
ExtractXml ( string xmlFilePath ) : void
FindTempFilesPath ( ) : void
GenerateMD5Hash ( string filePath ) : string
GetAttribute ( XmlDocument xmlDoc, XmlNode xmlNode, string name ) : string
GetClientEdition ( XmlDocument doc ) : OfficeClientEdition
GetLanguagePackLanguages ( string xmlFilePath ) : List
GetRegistryKey ( string keyPath ) : RegistryKey
GetRegistrySubKeys ( string keyPath ) : List
GetRegistryValue ( RegistryKey regKey, string property ) : string
GetRegistryValue ( string keyPath, string property ) : string
HasValidArguments ( ) : bool
Initialize ( ) : void
IsLanguagePackInstall ( string xmlFilePath ) : bool
MinimizeWindow ( ) : void
RemoteLogging ( ) : void
RunInstall ( string odtFilePath, string xmlFilePath ) : int
SetAttribute ( XmlDocument xmlDoc, XmlNode xmlNode, string name, string value ) : void
SetClientEdition ( XmlDocument doc, OfficeClientEdition edition ) : void
SetConfigSilent ( XmlDocument doc ) : void
SetDisplayLevel ( XmlDocument doc, bool silent = true ) : void
SetLoggingPath ( string xmlFilePath ) : void
SetSourcePath ( string xmlFilePath ) : void
SetSourcePath ( string xmlFilePath, string sourcePath = null ) : void
ShowHelp ( ) : void
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool
ShowXml ( string xmlFilePath ) : void
StartWus ( ) : void
StopWus ( ) : void
ToggleWus ( bool toggle ) : void
UninstallOfficeProPlus ( string installationDirectory, IEnumerable fileNames ) : string
UpdateLanguagePackClientCulture ( string xmlFilePath, string clientCulture, bool convertToRemove = false ) : void

메소드 상세

ChangeBaseCdnUrl() 공개 메소드

public ChangeBaseCdnUrl ( string updateSource ) : void
updateSource string
리턴 void

ChangeOfficeChannel() 공개 메소드

public ChangeOfficeChannel ( string targetChannel, string baseUrl ) : Task
targetChannel string
baseUrl string
리턴 Task

ChangeUpdateSource() 공개 메소드

public ChangeUpdateSource ( string updateSource ) : string
updateSource string
리턴 string

ClearRunningUpdateScenarioTasks() 공개 메소드

public ClearRunningUpdateScenarioTasks ( ) : void
리턴 void

CopyFolder() 공개 정적인 메소드

public static CopyFolder ( DirectoryInfo source, DirectoryInfo target ) : void
source DirectoryInfo
target DirectoryInfo
리턴 void

DetermineIfLanguageInstalled() 공개 메소드

public DetermineIfLanguageInstalled ( bool throwException = true ) : bool
throwException bool
리턴 bool

GetArguments() 공개 메소드

public GetArguments ( ) : List
리턴 List

GetBaseCdnUrl() 공개 메소드

public GetBaseCdnUrl ( ) : string
리턴 string

GetCurrentOperation() 공개 메소드

public GetCurrentOperation ( List executingTasks ) : CurrentOperation
executingTasks List
리턴 CurrentOperation

GetEmbeddedItems() 공개 메소드

public GetEmbeddedItems ( string targetDirectory ) : List
targetDirectory string
리턴 List

GetExecutingScenario() 공개 메소드

public GetExecutingScenario ( ) : string
리턴 string

GetOdtErrorMessage() 공개 메소드

public GetOdtErrorMessage ( ) : string
리턴 string

GetOfficeC2RPath() 공개 메소드

public GetOfficeC2RPath ( ) : string
리턴 string

GetOfficeCtrRegPath() 공개 메소드

public GetOfficeCtrRegPath ( ) : RegistryKey
리턴 RegistryKey

GetOfficeCtrRegPath() 공개 메소드

public GetOfficeCtrRegPath ( ) : string
리턴 string

GetOfficePathList() 공개 메소드

public GetOfficePathList ( ) : OfficePathsReturn,
리턴 OfficePathsReturn,

GetOfficeVersion() 공개 메소드

public GetOfficeVersion ( ) : OfficeInstalledProducts,
리턴 OfficeInstalledProducts,

GetRunningScenarioTasks() 공개 메소드

public GetRunningScenarioTasks ( ) : List
리턴 List

GetRunningScenarioTasks() 공개 메소드

public GetRunningScenarioTasks ( bool assumeUpdate = false ) : List
assumeUpdate bool
리턴 List

GetTextFileContents() 공개 메소드

public GetTextFileContents ( string fileName ) : string
fileName string
리턴 string

IsLanguageInstalled() 공개 메소드

public IsLanguageInstalled ( string xmlFilePath, string language ) : bool
xmlFilePath string
language string
리턴 bool

IsUpdateRunning() 공개 메소드

public IsUpdateRunning ( ) : bool
리턴 bool

Main1() 공개 정적인 메소드

public static Main1 ( string args ) : void
args string
리턴 void

MoveFile() 공개 메소드

public MoveFile ( string rootDirectory, string md5Hash, string fileName ) : void
rootDirectory string
md5Hash string
fileName string
리턴 void

ProPlusLanguageInstalled() 공개 메소드

public ProPlusLanguageInstalled ( string productId, string language ) : bool
productId string
language string
리턴 bool

ResetUpdateSource() 공개 메소드

public ResetUpdateSource ( ) : void
리턴 void

RestartC2RSerivce() 공개 정적인 메소드

public static RestartC2RSerivce ( ) : void
리턴 void

RollBackInstall() 공개 메소드

public RollBackInstall ( ) : void
리턴 void

RunOfficeUpdateAsync() 공개 메소드

public RunOfficeUpdateAsync ( string version ) : Task
version string
리턴 Task

RunProgram() 공개 메소드

public RunProgram ( ) : void
리턴 void

SetUpdateChannel() 공개 메소드

public SetUpdateChannel ( string xml, string channel ) : string
xml string
channel string
리턴 string

UpdateLanguagePackInstall() 공개 메소드

public UpdateLanguagePackInstall ( string xmlFilePath, bool convertToRemove = false ) : void
xmlFilePath string
convertToRemove bool
리턴 void

WaitForOfficeCtrUpadate() 공개 메소드

public WaitForOfficeCtrUpadate ( bool showStatus = false ) : void
showStatus bool
리턴 void

WaitForOfficeCtrUpadateWithError() 공개 메소드

public WaitForOfficeCtrUpadateWithError ( bool showStatus = false ) : void
showStatus bool
리턴 void