pub struct MsiConfig {Show 13 fields
pub id: Option<String>,
pub ids: Option<Vec<String>>,
pub wxs: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
pub replace: Option<bool>,
pub mod_timestamp: Option<String>,
pub skip: Option<StringOrBool>,
pub goamd64: Option<String>,
pub extra_files: Option<Vec<String>>,
pub extensions: Option<Vec<String>>,
pub if_condition: Option<String>,
pub hooks: Option<BuildHooksConfig>,
}Fields§
§id: Option<String>Unique identifier for this MSI config.
ids: Option<Vec<String>>Build IDs to include. Empty means all builds.
wxs: Option<String>Path to the WiX source file (.wxs). Goes through template engine. Required.
name: Option<String>Output MSI filename (supports templates).
version: Option<String>WiX schema version: v3 or v4 (auto-detected from .wxs if omitted).
replace: Option<bool>Remove source archives from artifacts, keeping only MSI.
mod_timestamp: Option<String>Output timestamp for reproducible builds.
skip: Option<StringOrBool>Skip this MSI config. Accepts bool or template string.
Accepts the legacy disable: spelling via serde alias for back-compat
with imported GoReleaser configs (GR docs list disable: string).
goamd64: Option<String>amd64 microarchitecture variant filter (v1 / v2 / v3 / v4).
When set, only artifacts with the matching amd64_variant metadata
are included. Mirrors GoReleaser Pro MSI’s goamd64: string field.
extra_files: Option<Vec<String>>Additional files available in the WiX build context (simple filenames).
extensions: Option<Vec<String>>WiX extensions to enable (e.g., “WixUIExtension”). Templates allowed.
if_condition: Option<String>Template-conditional: skip this MSI config if rendered result is “false” or empty (GoReleaser Pro). Render failure hard-errors (not silent-skip).
hooks: Option<BuildHooksConfig>Pre/post MSI-build hooks (GoReleaser Pro v2.14+). Accepts pre/post
or before/after via BuildHooksConfig’s serde aliases. Runs before
/ after candle+light for each matched artifact.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MsiConfig
impl<'de> Deserialize<'de> for MsiConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for MsiConfig
impl JsonSchema for MsiConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more