Subject: Leftover {tmp} uninstall folder after uninstall (is-XXXXXXXXXX-uninstall.tmp)

33 views
Skip to first unread message

Марат Гайдуллин

unread,
Mar 19, 2026, 6:50:51 PM (13 days ago) Mar 19
to innosetup

Description:

During uninstallation of any application installed via Inno Setup, a temporary folder remains in {tmp} after the process completes.

The folder has the following pattern:

is-XXXXXXXXXX-uninstall.tmp

Inside it, two files remain:

_unins.tmp _unins-done.tmp

Observed in versions:

  • 6.7.1

  • 7.0.0

Notes:
The issue appears consistently regardless of the installed application.

Assumption:
Preliminarily, it looks related to the [Setup] directive:

WizardStyle=...

Possibly affecting cleanup behavior of temporary uninstall resources.

Expected behavior:
The {tmp} directory should be fully cleaned after uninstall completes, with no leftover folders or files.

Actual behavior:
Temporary uninstall folder and files remain after uninstall.

Gavin Lambert

unread,
Mar 20, 2026, 2:08:59 AM (13 days ago) Mar 20
to innosetup
On Friday, March 20, 2026 at 11:50:51 AM UTC+13 Марат Гайдуллин wrote:

During uninstallation of any application installed via Inno Setup, a temporary folder remains in {tmp} after the process completes.

Windows doesn't allow a running executable to delete itself, so this is inevitable.  (Inno has to go to great pains to delete the copy in {app}; this is a side effect.)

IIRC, the file does get registered to be deleted on next reboot.
Reply all
Reply to author
Forward
0 new messages