Skip to main content Crate installrs Copy item path Source gui guiOptional native wizard GUI and dialog helpers. source Produce a Source from a literal path, hashed at compile time. Component An optional feature the user can select or deselect at install time. DirChild A named child inside an EmbeddedEntry::Dir tree. DirOp FileOp Installer MkdirOp RemoveOp Source Compile-time reference to an embedded file or directory. UninstallerOp DirChildKind The payload of a DirChild — either file data or a nested directory. EmbeddedEntry A top-level embedded entry baked into the installer binary at compile time. ErrorAction Decision returned from an on-error handler inside a directory install. OptionKind Declared shape of a user-defined command-line option. Register via
crate::Installer::option ; read parsed results via
crate::Installer::get_option . OptionValue Parsed value of a user-defined option, stored per-option after
crate::Installer::process_commandline . OverwriteMode What to do when a destination file already exists. FromOptionValue Types that can be pulled out of an OptionValue via
crate::Installer::get_option . Implemented for bool, String, i64,
i32, u64, u32. ProgressSink Sink for progress, status, and log events emitted by installer operations. source_path_hash_const Compile-time FNV-1a 64-bit hash of a path string (backslashes normalized to forward slashes). verify_payload Verify the compressed-payload SHA-256 emitted by the build tool. blobs
is a flat list of the unique embedded byte slices (one per deduplicated
storage file, in D_* declaration order); uninstaller_data is the
embedded uninstaller (empty slice for an uninstaller binary). Call at
process start — the generated main() invokes it before anything else. DirErrorHandler Per-file error handler for directory installs. DirFilter Filter closure for directory installs. Receives the relative path within
the directory (e.g. "bin/app.exe") and returns true to include the file.