Opened 16 years ago

Closed 16 years ago

Last modified 12 years ago

#11 closed defect (fixed)

After uninstalling POPFile the "Add/Remove Programs" list still shows entries for POPFile

Reported by: Brian Smith Owned by: Brian Smith
Priority: low Milestone:
Component: Installer Version: 0.22.6
Severity: Keywords: uninstaller
Cc:

Description

After running the installer it is confusing to still see the "Uninstall POPFile" entry (or entries, in the case of Windows XP) listed. It looks as if something went wrong with the uninstaller.

Change History (5)

comment:1 by Brian Smith, 16 years ago

Status: newassigned

This is caused by the fact that the "Add/Remove Programs" list does not get automatically refreshed when an uninstaller built using NSIS is run. If the "Add/Remove Programs" window is closed and then re-opened the "Add/Remove Programs" list should no longer display the program.

Although the program's entry is shown in the list, the registry data should have been removed so another attempt at uninstalling should result in a message from Windows saying that the program appears to have already been uninstalled and Windows will then offer to remove the program from the list.

Automatic refresh of the "Add/Remove Programs" list has always been a problem with NSIS-based installers. The main reason is the default behaviour of the uninstaller. Some workarounds have been suggested over the years but as far as I know there is no easy solution that works on all flavours of Windows (e.g. one recommended solution only works on "English" versions of Windows).

This is considered to be a cosmetic problem so it is not near the top of my "To Do" list. Perhaps it is time to do some more research in the NSIS Support forum?

in reply to:  1 comment:2 by naoki iimura, 16 years ago

I closed the "Add/Remove Programs" window and re-opened it but they are still exist.

In the installer-Uninstall.nsh, the uninstaller checks the "UninstallString" value of the registry entry is "$G_ROOTDIR\uninstall.exe" but the values are "\"$G_ROOTDIR\uninstall.exe\" /UNINTALL". Is this the cause of the problem?

comment:3 by Brian Smith, 16 years ago

Is this the cause of the problem?

Yes! I had forgotten to update the test on the UninstallString value after changing the code that writes the string.

comment:4 by Brian Smith, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in the setup-test-2.exe installer (at least as far as the UninstallString mismatch is concerned).

There is still the problem of the erratic behaviour of the installer/uninstaller with respect to the Start Menu and registry which deserves a separate ticket.

comment:5 by Brian Smith, 16 years ago

There is still the problem of the erratic behaviour of the installer/uninstaller with respect to the Start Menu and registry which deserves a separate ticket.

See Ticket 20

Note: See TracTickets for help on using tickets.