This directory contains the full source of the alpha.6 standard player installer candidate, including its C# transaction engine. Alpha.6 is an installer-only candidate over the unchanged eight runtime files: it adds a custom Setup/worker icon, complete version metadata and an optional code-signing step in the build (see AV-ANALYSIS-2026-10-10.md). Alpha.5 fixed the Temp path alias compatibility issue found by the clean Windows runner. One EXE installs the gameplay suite and integrated loader together.
The original standalone loader source remains in installer/. The alpha.3
custom WinForms wrapper is retained here for comparison; its scan did not
resolve the original detections. Alpha.4 uses ModLab.iss, NativeWorker.cs,
SteamDiscovery.cs and NativeTransaction.cs instead.
The gameplay suite source is maintained separately. Its already released eight runtime files are build inputs. Rebuilding Setup from them needs no game SDK.
- Uses a standard Inno Setup 7.1.0 wizard with an inspectable, small C# worker.
- Discovers Steam libraries, offers Browse, and supports Install/Update or Remove/Restore in the same EXE.
- Verifies a compiled manifest SHA-256 and every runtime hash and file size.
- Installs exactly eight runtime files under the selected game's
~mods. - Backs up existing ModLab and conflicting loader files outside mounted Paks.
- Preserves the original baseline across updates and rolls back failed moves. Existing alpha.2 ownership records remain compatible.
- Rejects concurrent installers, running game processes, changed owned files, invalid destinations, junctions and symbolic links.
- Requests normal Windows UAC permission for protected Steam game folders.
- Executes file operations in C#. No PowerShell execution, execution-policy changes, downloader, background service or save access.
- Uses stock installer compression. No custom obfuscation, anti-debug check, artificial delay or antivirus exclusion is added by ModLab.
The EXE is unsigned. The build supports an optional CA-issued code-signing
certificate (-SignToolPath + -SignCertificateThumbprint in
tools/build_standard_installer.ps1); without one the EXE and worker remain
unsigned. Antivirus scan observations are recorded
separately from functional tests. No scan guarantees safety. The separately
documented game shutdown issue is not resolved by installer changes.
Requires .NET Framework 4.8 and the C# compiler shipped with Windows, plus the official Inno Setup 7.1.0 x64 compiler.
-
Obtain the approved ModLab 0.1.0-alpha.2 - Complete Manual Package from Nexus.
-
Copy the eight runtime files from
Dungeons/Content/Paks/~mods/ModLabLoaderandQoLSuitein that ZIP into one staging folder with their filenames. CopyModLab-runtime-manifest.jsoninto the staging folder asModLab.manifest.json. All eight manifest hashes must match. -
Run from the repository root:
./tools/build_standard_installer.ps1 -PackageDirectory 'C:\ModLab-runtime' -InnoCompiler 'C:\Program Files\Inno Setup 7\ISCC.exe' -Version 0.1.0-alpha.6 ./tests/check_standard_worker.ps1 -BuildMetadata './dist/player/standard-installer-build.json' ./tests/check_modlab_setup.ps1 -SetupPath './dist/player/ModLab-Setup-0.1.0-alpha.6.exe' -PackageDirectory 'C:\ModLab-runtime' -StandardSetup
The Setup and worker icon comes from ModLab.ico in this directory (generated
by tools/make_modlab_icon.py). Both binaries carry complete version
metadata. To sign a release, add
-SignToolPath <signtool.exe> -SignCertificateThumbprint <thumbprint>; the
worker is signed before Inno embeds it and the Setup is signed after
compilation, and the build record carries the signer certificate.
The EXE is written to dist/player/ModLab-Setup-0.1.0-alpha.6.exe. Build
metadata, worker hash and generated manifest binding are recorded in
dist/player/standard-installer-build.json; the record also carries the icon
hash and, when signing is used, the signer certificate. Compiler timestamps may differ;
compare source and extracted runtime hashes rather than expecting byte-identical
EXEs across separate builds.
The build requires valid Microsoft and Pyrsys compiler signatures before
invoking those tools. It records their hashes, certificate identities and the
manifest hash, and preserves a versioned
standard-installer-build-<version>.json record. Existing EXEs or versioned
records cannot be overwritten. An exclusive lock rejects simultaneous builds
of the same version/output. For a local rebuild, use
-OutputDirectory 'C:\ModLab-rebuild' and use that directory's metadata in the
checks above. Preserve uploaded release bytes and their scan identity.
Run ./tests/check_installer_build_guard.ps1 -InnoCompiler '<ISCC.exe path>'
to verify unsigned/wrong-publisher compiler rejection and existing-output
preservation. These controls do not clear antivirus detections.
The tests use temporary fixtures with Inno's /CURRENTUSER option and never
install to the protected real game folder. The final EXE was additionally
checked for migration from the previously released alpha.2 EXE:
./tests/check_modlab_setup.ps1 -SetupPath 'C:\ModLab-Setup-0.1.0-alpha.6.exe' -PackageDirectory 'C:\ModLab-runtime' -PreviousSetupPath 'C:\ModLab-Setup-0.1.0-alpha.2.exe' -StandardSetup
The native engine's detection, integrity, concurrency and running-game checks
can also be exercised through tests/run_player_installer_checks.ps1. This
builds the retained alpha.3 test wrapper; it does not publish that candidate.
See validation. Build/test PowerShell scripts are development
tools and are not included or executed in the player's installation.
The installer source is MIT licensed under LICENSE. Inno Setup and the embedded runtime retain their component licenses and third-party notices. This directory does not relicense the gameplay suite or original game content.