Updates, Servicing, RsPatch.exe & RsUpdate.exe
RaggieSoft Installer Studio provides a complete, zero-service software update and servicing
architecture spanning Enterprise MSI, Windows Installer Patches (.MSP), and
RaggieScript EXE installers (Engine = raggiescript and .rssc).
1. Major Upgrades vs. Minor Upgrades vs. Small Updates
- Major Upgrade (Default Across All 4 Editions —
[Upgrade] Strategy = major): Mints a fresh deterministicProductCodewheneverVersionincrements while preserving your permanentUpgradeCode. Supports freely adding, renaming, moving, or retiring files and components viaRemoveExistingProducts(configurable asSchedule = earlyat Sequence1525orSchedule = lateat Sequence6550, withMigrateFeatures = truesettingAttributes = 257). - Minor Upgrade (Architect & Community —
[Upgrade] Strategy = minor): PreservesBaselineMsi'sProductCodewhile incrementingVersion. Can be delivered either as a compact.MSPpatch or viaSetupWizard.exe(which automatically detects the installedProductCodeviaMsiGetProductInfoWand appendsREINSTALL=ALL REINSTALLMODE=vomusso MSI Error1638never occurs). - Small Update Hotfix (Architect & Community — Opt-In
--allow-small-update): Emergency hotfix.MSPwhere bothProductCodeandProductVersionremain unchanged. Blocked by default (RSW084) unless--allow-small-updateis explicitly passed.
2. Diff & Component-Rule Planner (--plan-update)
Run instbuild.exe --plan-update <old.msi|.exe> <new.msi|.exe> [--diagnostics=json] (or RsPatch.exe plan)
before building a patch. The planner audits Microsoft's Windows Installer Component Rules automatically:
- RSW080: Mismatched
UpgradeCodebetween baseline and target packages. - RSW081: Deleted baseline
ComponentIdGUID (illegal in Minor/Small.MSPpatches; requires a Major Upgrade). - RSW082: Changed
KeyPathon an existingComponentId. - RSW083: Moved an existing
ComponentIdto a differentDirectory_. - RSW084: Unchanged
ProductVersionwithout--allow-small-update.
3. Binary-Delta Patching (RsPatch.exe via Windows msdelta.dll)
RsPatch.exe calls Windows 11's built-in System32\msdelta.dll (CreateDeltaB with PE executable
call/jump preprocessing and ApplyDeltaB) with zero third-party dependencies:
- MSI Patches (
.MSP):RsPatch.exe build-msp base.msi target.msi update.mspvalidates Component Rules, populatesMsiPatchMetadata(AllowRemoval = 1), and embeds the transform substorage. - RaggieScript EXE Deltas (
.rswpatch):RsPatch.exe build-exe old-setup.exe new-setup.exe update.rswpatchbuilds a SHA-256-sealedRSWPATCH1container recordingKeep,Add,Delta, andDelete(retired file) operations. Applying viaRsPatch.exe apply update.rswpatch "C:\Program Files\..."verifies baseline SHA-256 digests and rolls back 100% atomically via.rsw-rollback.jnlon any fault.
4. Zero-Service Static-CDN Updater (RsUpdate.exe — 100% DRY with Launcher)
RsUpdate.exe (included in Developer, Architect, and Community Editions) consumes the exact same static
apps-manifest.json array schema used by RaggieSoft Launcher—requiring zero background
SYSTEM services and zero database servers. When a matching patches entry exists for the user's
installedVersion and silicon architecture (x64 or ARM64), RsUpdate.exe
downloads and SHA-256-verifies the compact .msp or .rswpatch delta; otherwise it seamlessly
falls back to the full Major Upgrade installer.