C# Class ZeroInstall.Publish.WinForms.InstallerCapture

Holds state shared between Wizard pages when capturing an installer.
Inheritance: IDisposable
Afficher le fichier Open project: 0install/0install-win

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Dispose ( ) : void

Method Details

Download() public méthode

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.
Résultat void

ExtractInstallerAsArchive() public méthode

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.
Résultat void

RunInstaller() public méthode

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.
Résultat void

SetLocal() public méthode

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.
Résultat void