t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Windows in-app update leaves an unlaunchable install when IObit Uninstaller is installed (its UninstallMonitor deletes the new files)

Open beausee opened this issue 1 month ago • 0 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. On Windows 11, have IObit Uninstaller 15 installed with its default monitor settings ("Automatically delete leftovers of program uninstalled by other uninstallers" enabled).
  2. Install T3 Code (Beta) with the per-user NSIS installer (%LOCALAPPDATA%\Programs\t3code).
  3. When an update is available, install it from inside T3 Code.

Expected behavior

The update installs and T3 Code relaunches on the new version.

Actual behavior

T3 Code won't launch after the update and has to be reinstalled by hand. This has happened on every update since 0.0.45 (0.0.45 → 0.1.0 → 0.1.1 → 0.1.2 → 0.1.3).

The cause is outside T3 Code, but every Windows user with IObit Uninstaller will hit it:

  • During the update, the new installer runs the old Uninstall T3 Code (Beta).exe. IObit's background UninstallMonitor.exe detects that uninstall, logs it as "T3 Code (Beta) 0.1.2 uninstalled", and runs a "leftover" cleanup on %LOCALAPPDATA%\Programs\t3code\ while the new version is being written there.
  • It deletes whatever it can. Files in use are renamed *_IObitDel (for example T3 Code (Beta)_IObitDel_IObitDel.exe, ffmpeg_IObitDel_IObitDel.dll), and the rest are queued for deletion at the next reboot through PendingFileRenameOperations. In my case the queue included resources\app.asar and resources\server.asar.
  • Result: T3 Code (Beta).exe is missing. If the user reinstalls before rebooting, the queued deletions break the fresh install at the next reboot.

User data (%APPDATA%\t3code-v2, ~\.t3) is not affected.

Impact

Blocks work completely

Version or commit

0.1.2 → 0.1.3 (also seen on earlier updates since 0.0.45)

Environment

Windows 11 Pro for Workstations (22623), T3 Code (Beta) 0.1.3 per-user install, IObit Uninstaller 15.4

Logs or stack traces

# IObit Uninstaller monitor log (%APPDATA%\IObit\IObit Uninstaller\UMlog\2026-10-27.dbg), user paths redacted
[06:15:57] [UninstallMonitor.exe] [DriverHelper]Find InstallPackEx: %LOCALAPPDATA%\t3code-updater\pending\T3-Code-0.1.3-x64.exe
[06:16:13] [UninstallMonitor.exe] Location: %LOCALAPPDATA%\Programs\t3code\
[06:16:18] [UninstallMonitor.exe] FORM CLASS [TFrom_MonitorClean] NAME [From_MonitorClean] CREATE
[06:16:28] [UninstallMonitor.exe] DeletePowerScanData Begin
[06:16:44] [UninstallMonitor.exe] WriteHistoryIni:Begin T3 Code (Beta) 0.1.2
[06:16:44] [UninstallMonitor.exe] UninstallCmd:"%LOCALAPPDATA%\Programs\t3code\Uninstall T3 Code (Beta).exe" /currentuser
[06:16:44] [UninstallMonitor.exe] DeletePowerScanData End

# Install folder after the update
%LOCALAPPDATA%\Programs\t3code\T3 Code (Beta)_IObitDel_IObitDel.exe
%LOCALAPPDATA%\Programs\t3code\ffmpeg_IObitDel_IObitDel.dll
%LOCALAPPDATA%\Programs\t3code\resources\app.asar      (queued for delete-on-reboot)
%LOCALAPPDATA%\Programs\t3code\resources\server.asar   (queued for delete-on-reboot)

Workaround

In IObit Uninstaller → Settings, uncheck "Automatically delete leftovers of program uninstalled by other uninstallers". Reboot (to flush the queued deletions) before reinstalling T3 Code.

Possible mitigations on the T3 Code side, if you think they're worth it:

  • Add a known-issue / troubleshooting note so affected users find the workaround.
  • After an update, if the install is incomplete (main exe or app.asar missing, *_IObitDel files present), show a message that names IObit as the likely cause instead of failing silently.

beausee avatar Oct 27 '26 10:10 beausee