Format | Use it for |
|---|---|
exe | Direct app executable packaging, or a project-defined setup program through exe_installer_script. |
msi | Managed enterprise installer workflows. |
msix | Microsoft Store and modern Windows package identity workflows. |
[app]
name = "Acme Notes"
app_id = "com.acme.notes"
version = "1.4.0"
build = 37
[targets.windows]
enabled = true
[package.windows]
identity_name = "AcmeSoftware.AcmeNotes"
version = "1.4.37.0"
publisher = "CN=Acme Software Ltd, O=Acme Software Ltd, C=GB"
certificate_thumbprint = "0123456789ABCDEF0123456789ABCDEF01234567"
certificate_env = "WINDOWS_CERTIFICATE"
certificate_base64_env = "WINDOWS_CERTIFICATE_BASE64"
certificate_password_env = "WINDOWS_CERTIFICATE_PASSWORD"
exe_installer_script = "platforms/windows/package-exe.ps1"
Field | Why it exists |
|---|---|
identity_name | MSIX package identity. For Store packages this should match Partner Center. |
version | Windows package version. Use four numeric components for MSIX, for example 1.4.37.0. |
publisher | Distinguished name expected by package signing and Store identity. |
certificate_thumbprint | Uses a certificate already installed in the Windows certificate store. |
certificate_env | Environment variable containing a local certificate path when not using the certificate store. |
certificate_base64_env | CI-friendly certificate bytes. |
certificate_password_env | Secret source for the certificate password. |
exe_installer_script | Optional project-defined setup script for windows/exe. |
[[native.modules]]
name = "windows-helper"
path = "platforms/windows/helper"
[native.modules.windows]
cargo_manifest_path = "platforms/windows/helper/Cargo.toml"
cargo_package = "windows-helper"
features = ["installer"]
no_default_features = true
[[native.modules.windows.products]]
name = "helper"
path = "target/{profile}/windows-helper.exe"
kind = "runtime"
destination = "native/windows-helper.exe"
[[native.modules]]
name = "windows-protection"
path = "platforms/windows/native"
[native.modules.windows]
nuget_packages_config = "platforms/windows/native/packages.config"
nuget_packages_directory = "platforms/windows/native/packages"
msbuild_project = "platforms/windows/native/Protection.sln"
platform = "x64"
build_target = "Build"
test_binaries = ["platforms/windows/native/{platform}/{configuration}/ProtectionTests.exe"]
[[native.modules.windows.products]]
name = "cloud-files-provider"
path = "platforms/windows/native/{platform}/{configuration}/Provider.dll"
kind = "runtime"
destination = "native/Provider.dll"
[[native.modules.windows.products]]
name = "filesystem-minifilter"
path = "platforms/windows/native/{platform}/{configuration}/DriverPackage"
kind = "driver-package"
Environment variable | Meaning |
|---|---|
WINDOWS_BINARY | Path to the staged application executable. |
FISSION_WINDOWS_NATIVE_PRODUCTS_MANIFEST | JSON manifest describing staged native products. |
WINDOWS_PROFILE | Set to release for release builds. |
fission readiness package --project-dir . --target windows --format msix
fission package --project-dir . --target windows --format msix --release
fission readiness package --project-dir . --target windows --format exe
fission package --project-dir . --target windows --format exe --release