Expand description
Types and service for implementing recoverable install and uninstall tasks.
The primary use for this crate is creating a Windows setup executable that is compressed
and packaged using cargo zng res --tool sfx.
§Self Setup
For zng apps the installer/uninstaller logic can be build as an alternate mode of the app main executable, avoiding
the cost of packaging a separate executable for install/uninstall and sharing the app look and feel.
§Crate
This crate is part of the zng project.
Modules§
- task
- Install and uninstall tasks.
Structs§
- Install
Config - Represents a list of tasks for a
SETUP.installoperation. - Prepared
Install Config - Represents data generated by
SETUP.prepare_installthat can be used to run aSETUP.commit_installoperation. - SETUP
- Setup service.
- Setup
Error - Represents a
SETUPoperation error. - Setup
OpStatus - Represents status of a
SETUPinstall or uninstall operation. - SfxClient
- Connection with a self-extracting executable generated by
cargo zng res --tool sfx. - SfxData
Info - Represents a data entry that can be served from a
SfxClient. - SfxRead
- Read requested data.
- SfxRead
Blocking - Read requested data.
- Uninstall
Config - Represents data generated by
SETUP.installthat can be used to run aSETUP.uninstalloperation.
Enums§
- Setup
Error State - Represents state of a setup operation that ended in a
SetupError. - Setup
Status - Represents status of
SETUP. - SfxError
- Error connecting or requesting data using
SfxClient.