C# 클래스 ZeroInstall.Publish.WinForms.InstallerCapture

Holds state shared between Wizard pages when capturing an installer.
상속: IDisposable
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
Download ( [ url, [ handler ) : void

Downloads the installer from the web to a temporary file.

Use either this or SetLocal.

ExtractInstallerAsArchive ( [ feedBuilder, [ handler ) : void

Tries extracting the installer as an Archive.

RunInstaller ( [ handler ) : void

Runs the installer and waits for it to exit.

SetLocal ( [ url, [ path ) : void

Sets the installer source to a pre-existing local file.

Use either this or Download.

비공개 메소드들

메소드 설명
Dispose ( ) : void

메소드 상세

Download() 공개 메소드

Downloads the installer from the web to a temporary file.
Use either this or SetLocal.
A file could not be downloaded from the internet. A downloaded file could not be written to the disk. An operation failed due to insufficient rights.
public Download ( [ url, [ handler ) : void
url [ The URL of the file to download.
handler [ A callback object used when the the user is to be informed about progress.
리턴 void

ExtractInstallerAsArchive() 공개 메소드

Tries extracting the installer as an Archive.
The user canceled the task. The installer could not be extracted as an archive. Read or write access to a temporary file is not permitted.
public ExtractInstallerAsArchive ( [ feedBuilder, [ handler ) : void
feedBuilder [ All collected data is stored into this builder.
handler [ A callback object used when the the user is to be informed about progress.
리턴 void

RunInstaller() 공개 메소드

Runs the installer and waits for it to exit.
The user canceled the task. There is a problem access a temporary file. Read or write access to a temporary file is not permitted.
public RunInstaller ( [ handler ) : void
handler [ A callback object used when the the user is to be informed about progress.
리턴 void

SetLocal() 공개 메소드

Sets the installer source to a pre-existing local file.
Use either this or Download.
public SetLocal ( [ url, [ path ) : void
url [ The URL the file was originally downloaded from.
path [ The local path of the file.
리턴 void