A calm, native assistant for building bootable Windows and Linux USB installers — on macOS, Windows, and Linux. No telemetry, no uploads, everything local.
wInstaller helps you create bootable operating system USB drives and continue into local virtualization, without learning disk utilities, ISO internals, FAT32 limits, or boot firmware rules. The app explains what it is doing, asks before destructive actions, validates the result, and keeps everything local.
wInstaller is expanding from macOS-only to macOS, Windows, and Linux. Each platform gets a fully native UI — SwiftUI, WinUI 3, and GTK4/libadwaita — built on one shared core engine. The macOS and Windows apps have landed; Linux is next. See Architecture below and docs/adr/ for the full reasoning.
| macOS | Windows | Linux |
|---|---|---|
| Releases | Releases | Coming soon (Phase 2) |
Release artifacts are currently unsigned (Gatekeeper/SmartScreen will warn on first launch); signing and notarization are tracked for 1.0. You can always build from source instead — see below.
The macOS app is feature-complete for the first-release happy path:
- Domain models and typed state machine (
WInstallerCore) - Unit + fixture tests (engine, parsers, executor)
- Real command runner (
Process, argv-only) plus a dry-run runner for tests - Live USB enumeration (
diskutil -plist) with internal-disk filtering - ISO mount + inspection (
hdiutil, read-only) - Real bootable-USB execution pipeline with the full safety gate
- VMware Fusion / UTM / Parallels detection and handoff
- Local logging with home-path redaction
- Liquid Glass SwiftUI interface (macOS 26) with native-material fallback
- App icon and
.apppackaging script
The Windows app covers the same first-release happy path natively
(apps/windows/):
- C# domain core mirroring the same state machine and safety gates
(
WInstaller.Core, unit-tested on Windows and Linux in CI) - Disk enumeration via PowerShell storage cmdlets with boot/system-disk filtering at every layer
- Read-only ISO mount + inspection (
Mount-DiskImage -Access ReadOnly) - Real erase → GPT/FAT32 format →
robocopy→ validate → eject pipeline DISM /Split-Imagefor oversizedinstall.wimfiles (no third-party tools)- A single UAC prompt scoped to the destructive step only (ADR-0003)
- Local logging with user-profile redaction, Simulate (dry-run) mode
- WinUI 3 assistant UI with Mica, generated from the shared string table
Safety note: Real disk operations format the selected removable drive. Always verify the target and prefer the Simulate toggle first. Destructive operations have not been run on hardware in CI — test on a spare USB.
The Linux native app is planned next (see ROADMAP.md and the phased delivery plan referenced from the ADRs).
git clone https://github.com/pedrobritx/winstaller.git
cd winstaller
swift build
swift test
swift run WInstallerApp # bare SwiftPM executable
# or: open Package.swift # in XcodeBuild requirement for Liquid Glass: the interface uses macOS 26 Liquid Glass APIs gated behind
if #available(macOS 26.0, *). Building requires the macOS 26 SDK (Xcode 26+); the app still runs on macOS 15 via the native-material fallback (deployment target stays at macOS 15).
To build a real .app bundle:
python3 Assets/Icon/generate_icon.py # generate app icon assets
scripts/build-app.sh # assemble build/wInstaller.app
open build/wInstaller.appWith only the Xcode Command Line Tools installed (no full Xcode), swift build
and swift run WInstallerApp work as-is, but swift test needs extra flags
since the Swift Testing macro plugin and runtime framework aren't on the
default search paths:
swift test \
-Xswiftc -plugin-path -Xswiftc /Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing \
-Xlinker -rpath -Xlinker /Library/Developer/CommandLineTools/Library/Developer/Frameworks \
-Xlinker -rpath -Xlinker /Library/Developer/CommandLineTools/Library/Developer/usr/libRequirements: Swift 6.0+, macOS 15.0+, Xcode 16+ or Command Line Tools.
Requires Windows 10 1809+ and the .NET 8 SDK.
git clone https://github.com/pedrobritx/winstaller.git
cd winstaller/apps/windows
dotnet build WInstaller.sln # core + tests + WinUI 3 app
dotnet test WInstaller.Core.Tests # engine/parser/executor tests
dotnet run --project WInstaller.App # launch the assistantTo produce the portable release build (what CI attaches to releases):
dotnet publish WInstaller.App -c Release -r win-x64 -p:Platform=x64 `
-p:WindowsAppSDKSelfContained=true --self-contained true -o publishSee apps/windows/README.md for how the app drives PowerShell storage cmdlets, robocopy, and DISM, and for the elevation model.
The Linux app (GTK4 + libadwaita, written in Rust, apps/linux/) does not exist
yet. Once it lands, build instructions will appear here (cargo build).
- Detect and verify ISO files.
- Detect Windows and Linux installation media.
- Detect removable USB drives and explain their current state.
- Confirm all destructive operations before erasing a drive.
- Format a selected USB drive for UEFI boot.
- Copy ISO contents to the USB drive.
- Split large Windows
install.wimfiles when FAT32 limits require it. - Validate the final bootable USB structure.
- Detect VMware Fusion and provide next-step guidance.
- Keep logs local and readable.
- Avoid telemetry, uploads, and hidden network behavior.
wInstaller should feel like something a first-party disk utility would be if it actually explained itself: it explains what it found, asks before anything destructive happens, validates the result, and never leaves the machine it runs on. Read the full manifesto on the landing page or VISION.md for the complete set of interaction principles.
wInstaller is three native UIs sharing one core engine:
- macOS: SwiftUI, calling into the core via a Swift wrapper package.
- Windows: WinUI 3 + C#/.NET, calling into the core via P/Invoke.
- Linux: GTK4 + libadwaita, written directly in Rust against the core crate (no FFI boundary).
The core (state machine, disk/ISO domain models, error taxonomy, and the
per-OS SystemAdapter trait) is the only shared layer — each UI is fully
native, with no cross-platform UI framework. See ARCHITECTURE.md
and every decision record under docs/adr/, starting with
docs/adr/0001-core-language-and-ffi.md.
Transition note: the shared Rust core (ADR-0001) has not landed yet. Today the macOS app implements the core in Swift (
Sources/WInstallerCore) and the Windows app in C# (apps/windows/WInstaller.Core) — both against the same screen registry, shared copy source, and safety rules, so swapping in the Rust core later replaces internals, not behavior.
- PRODUCT.md: mission, users, success criteria, and non-goals.
- VISION.md: product philosophy and interaction principles.
- REQUIREMENTS.md: functional and non-functional requirements.
- USER_FLOW.md: screen-by-screen assistant flow.
- ARCHITECTURE.md: app structure, modules, and state model.
- UI_GUIDELINES.md: per-OS interface rules.
- DESIGN_SYSTEM.md: reusable visual and component standards.
- TERMINAL_AUTOMATION.md: allowed commands, policies, and error recovery.
- BOOTABLE_USB_ENGINE.md: bootable media engine state machine.
- VMWARE_INTEGRATION.md: virtualization detection and handoff behavior.
- SECURITY.md: local-only trust model and permission strategy.
- ICON_GUIDELINES.md: app icon and interface icon direction.
- AI_RULES.md: implementation rules for coding agents.
- ROADMAP.md: phased delivery plan.
- docs/adr/: architecture decision records for the multi-platform evolution.
- docs/screen-inventory.yaml: canonical screen/step registry used for cross-platform parity checks.
Read AI_RULES.md and CONTRIBUTING.md before implementing a feature. Because the three UIs are separate native codebases sharing only the core engine, a user-visible feature must be reflected across all three (or explicitly tracked as pending) — see docs/adr/0008-feature-parity-enforcement.md.
wInstaller is free to use, share, modify, and fork for any noncommercial purpose (forks must remain noncommercial too). Commercial use requires a separate license — see COMMERCIAL-LICENSE.md for how to request one. Full terms: LICENSE.md.
Built and maintained by Pedro Brito.
