feat(installer): full RynthCore + RynthSuite installer with user-chosen folders

- RynthCore.iss: one installer for the launcher/engine/Loot Editor and RynthSuite
  (RynthAi plugin, Monster Editor), with a second folder page for RynthSuite
  (/SUITEDIR= for silent installs), HKA Software\Rynth CoreDir/SuiteDir values and
  cleanup of 0.4.x / RynthBundle leftovers that broke the 2026-10-04 reinstall
- RynthInstallPaths: env var -> HKCU -> HKLM (32-bit) -> C:\Games default resolver,
  linked into launcher, engine, loader, injector and status agent; replaces every
  hard-coded C:\Games\RynthCore / RynthSuite path
- Launcher consumes PendingPluginRegistration on start (adds the installed RynthAi
  DLL, prunes rows for files the installer removed, syncs engine.json)
- Build-Installer.ps1: Monster Editor publish, core/suite staging, deps.json staging
  check, previous-release archiving, versioned RynthCore-Setup-<ver>.exe
- Release 2026.10.4.2 (previous 2026.10.4.1)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-04 14:30:28 -04:00
commit f5002902c9
23 changed files with 689 additions and 116 deletions

View file

@ -5,6 +5,7 @@ using System.IO;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using RynthCore.Install;
namespace RynthCore.Injector;
@ -33,7 +34,7 @@ internal static class LaunchCommand
{
// The "bulletproof" private AC copy intended for RynthCore launches — a
// separate DAT lock domain from the shared Turbine install.
private const string PrivateAcClientPath = @"C:\Games\RynthCore\AcClient\acclient.exe";
private static readonly string PrivateAcClientPath = Path.Combine(RynthInstallPaths.CoreDir, "AcClient", "acclient.exe");
// Matches LaunchAccountProfile.NoneOption — explicit opt-out of auto-login.
private const string NoneOption = "(None — no auto-login)";

View file

@ -2,13 +2,15 @@ using System;
using System.IO;
using System.Linq;
using System.Text;
using RynthCore.Install;
namespace RynthCore.Injector;
internal static class Program
{
// Unified log path — must stay in sync with RynthCore.Engine.LogPaths.
private const string UnifiedLogDirectory = @"C:\Games\RynthCore\Logs";
// Installer-chosen RynthCore folder (falls back to C:\Games\RynthCore).
private static readonly string UnifiedLogDirectory = RynthInstallPaths.CoreLogsDir;
private const string UnifiedLogFileName = "RynthCore.log";
private static int Main(string[] args)

View file

@ -10,4 +10,9 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<!-- Install-location resolver (installer-chosen RynthCore / RynthSuite folders). -->
<Compile Include="..\RynthCore.App\RynthInstallPaths.cs" Link="Shared\RynthInstallPaths.cs" />
</ItemGroup>
</Project>