Headless CLI (instbuild.exe) & AI Agent Authoring
RaggieSoft Installer Studio was designed from Day 1 so human engineers and autonomous AI coding agents can create, validate, and compile production Windows installers from scratch without touching a mouse or fighting opaque XML/binary files.
Core instbuild.exe Commands
; 1. Sub-millisecond schema, GUID, 3-part version, Component rule & mnemonic linter instbuild.exe --validate --diagnostics=json MyProject.rsip --arch=arm64 ; 2. Compile standalone Enterprise .msi + LZMS-compressed Setup.exe (+ VPAT 2.5 HTML5) instbuild.exe MyProject.rsip --arch=arm64 --with-vpat instbuild.exe MyProject.rsip --arch=x64 --with-vpat ; 3. Build an entire multi-project .rsis Suite in deterministic BuildOrder instbuild.exe MyWorkspace.rsis --with-vpat ; 4. Emit a reusable 64-bit Merge Module (.msm), GPO Transform (.mst), or Patch (.msp) instbuild.exe --emit-msm MyLibrary.rsip out\MyLibrary-x64.msm --arch=x64 instbuild.exe --generate-mst Base.msi CustomOrg.msi OrgPolicy.mst instbuild.exe --generate-msp v1.0.0.msi v1.1.0.msi Update-1.1.0.msp ; 5. Regenerate constexpr AI specifications (llms.txt, llms-full.txt, SKILL.md) instbuild.exe --emit-ai-spec .\specs
Zero-Drift AI Specifications (llms.txt & SKILL.md)
Because instbuild.exe --emit-ai-spec generates llms.txt, llms-full.txt, and
SKILL.md directly from the compiler's own C++20 constexpr field descriptors in
RswSchema.hpp, the AI documentation can never drift out of sync with the validator!
- Step 1 — Read: Point your AI agent at
specs/llms-full.txt(orhttps://raggiesoftstudio.com/llms-full.txt). - Step 2 — Author: Have the agent write a commented
.rsipmanifest using$(ARCH)payload paths, a permanentUpgradeCodeGUID, 3-partMajor.Minor.Buildversion numbers, and&keyboard mnemonics. - Step 3 — Validate: Run
instbuild.exe --validate --diagnostics=jsonand confirm"ok": truebefore compiling. - Step 4 — Compile & Inspect: Compile
arm64andx64outputs and verify withmsiprism.exe --inspect-summary.