Repository navigation
RemSup v1.56 — Stable: updater bundle self-heal
RemSup v1.56 fixes an update that was rolled back with a FileNotFoundException (0x80070002, "Update handoff failed during launch candidate") on a computer where Remsup had been running for days. The single-file EXE extracts its .NET dependencies to a cache folder (normally %TEMP%.net<exe><id>). Something outside Remsup had deleted the files of that folder that the running process had not loaded yet, among them System.IO.Pipes.dll; the first step of the update handoff needs that file, so the update stopped and Remsup rolled back to the old version. The message had no text because the error carries an empty message. Now Remsup loads the assemblies the update needs when it starts (Windows keeps loaded files locked, so a cleanup cannot remove them), and before an update suspends any session or replaces any file it checks that they are present. If a file is missing, Remsup starts the same EXE once with --verify-bundle (it exits at once; the .NET host puts the missing files back into the same cache) and checks again. If that does not help, the update stops before anything changed and says "Remsup's temporary runtime files are incomplete (missing ). Restart Remsup and retry the update." A failure that names a missing file now shows the file name. Everything else from v1.55, including long text typing, live keyboard typing, the console targets and file transfer, is unchanged. The repository test script scripts/test-modern-desktop.ps1 listed a test project that does not exist (FileTransferRaceTests, whose class is already run by FileTransferTests); that stopped the script, and with it the repository Windows workflow, since v1.53. The entry is removed and the whole suite now runs to the end.
Verification
The exact executable listed below was installed on one authorized Windows test computer (ZZZZ, Windows 10.0.19041, installed copy) through the real in-app updater from v1.55 (Check for updates on 2026-11-15 at 14:42 UTC; the install ran by itself and finished within about 25 seconds): the new process started from the installed Remsup.exe with the SHA256 below, the v1.55 image stayed as Remsup.previous.exe, the new extraction folder held all 231 files including System.IO.Pipes.dll, the relay was ready again, the last install result was Installed with no new error, and three independent commands after the reconnect succeeded. A RustDesk connection to that computer was active during the step (a fact noted by the tester, not a condition of the test).
On the same computer an isolated fixture copy of this exact EXE (not the receiving instance) was started with its own extraction folder; a cleaner then deleted every extraction file that was not locked (231 files before, 79 after, all five checked handoff assemblies still present), and the same EXE with --verify-bundle exited with 0 in 1.2 seconds and restored all 231 files. The cleaner refused a folder outside the given root.
On a second authorized computer (the owner's own, running v1.52 with a cache that had lost 140 of its files) a full restart of Remsup made the automatic updater install v1.55 by itself within about 25 seconds, which supports the cause: the old process, not the update package, could not load its files.
On the build computer, with a real single-file fixture published with the product's publish settings, deleting every unlocked extraction file reproduced the rollback with the old behaviour (FileNotFoundException 0x80070002), and the new behaviour installed the update after the start-up loading and after the repair through --verify-bundle, and refused a cache that could not be repaired without suspending anything or replacing the EXE. With the real v1.56 EXE in fixture mode the same cleanup left all 23 checked handoff assemblies in place. The desktop UI layout tests (WebViewLayoutTests) pass with the fixed WebView2 runtime 155.0.4283.60 (30 checks), and the local test suite of the host, including the new BundleIntegrityTests, UpdateManagerTests and UpdateProcessTests additions, passes. The complete scripts/test-modern-desktop.ps1 of the public source export (commit named below, with the test script fix) ran to the end with exit code 0, including the file transfer race regressions and WebViewLayoutTests.
Known limitations
These results come from two computers: ZZZZ for the real update and the isolated cleanup fixture, and the owner's computer for the v1.52 restart. The real update was performed on one machine only. What is not shown on a device: a real update handoff after a cleanup of the cache of a running v1.56 process (the cleanup was done on an isolated fixture and on a build computer); that needs a later release. Which program deleted the files in the temp folder was not identified. Computers that already run v1.52 to v1.55 do not get the fix in their running process, because the check runs inside the old process: if their update ends with the rollback error, close Remsup and start it again, or start the same Remsup.exe a second time (it exits at once and puts the missing files back) and then use Check for updates; the next update after that is done by v1.56 itself. Only the assemblies on the update path are protected; other files of the cache that the running process has not used yet can still be deleted by a cleanup, and a restart restores them. The repair step is limited to 30 seconds; on a very slow disk the first run of a new EXE can take about 16 seconds (15.8 seconds in the first run on the build computer, 3.8 seconds in an earlier run, 1.2 seconds on ZZZZ). The repair needs the same user session and temp folder as the running process. On ZZZZ, Windows PowerShell's execution policy blocks running a .ps1 file directly; this is unrelated to the fix and was not changed. Elevated windows, Silver and other devices were not tested for this release.
Automatic updates
Automatic update checks are enabled by default (AutoUpdates=true) and query https://91.227.77.177:8444/latest.json 5 seconds after startup. That channel already serves this release (v1.56, the same bytes as the asset below; the in-app update on the test computer downloaded and installed exactly this file), so installed clients that check will be offered v1.56 and publishing this GitHub release does not change the channel. The install waits while a screen session is open. To prevent checks, disable AutoUpdates in Settings > General.
Security
Transport uses the existing pinned TLS configuration. This is not a claim of end-to-end encryption against the relay: screen images and typed input pass through the relay, and relay administrators can see relayed data. Screen control and typing remain controlled locally by the receiving owner's settings and approval. The new --verify-bundle option takes no input, opens no window and exits before the single-instance check and any user interface; it only makes the .NET host restore missing files of the EXE's own extraction folder. The update checks the same pinned channel as before and the hash of the downloaded EXE as before. This EXE does not bundle WebView2.
Exact artifact
File: RemsupDesktop_v1.56_stable.exe
Bytes: 62243471
SHA256: 93C9AB62170ED19B77D216F313C780131C8DBC623604AB4EDD04C7D7C227FDAA
Public source commit: 9389efb (the v1.56 source export 0274bf9 plus the test script fix)