https://bugs.winehq.org/show_bug.cgi?id=41609
Bug ID: 41609 Summary: Uninstaller entries are not removed from the registry when the uninstaller says they will be Product: Wine Version: 1.9.21 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ahyattdev@icloud.com
When you click on an entry in the Wine uninstaller for which the uninstaller is unable to execute, a dialog box is shown reporting that the installer was unable to execute.
It prompts you with whether or not to remove the uninstall entry from the registry with the options Yes or No.
When selecting Yes, the uninstall entry is never removed from the registry and remains in the list.
https://bugs.winehq.org/show_bug.cgi?id=41609
--- Comment #1 from ahyattdev ahyattdev@icloud.com --- The registry entry is supposed to be deleted by the following lines in the following file:
dlls/appwiz.cpl/appwiz.c 535-538
The code there:
/* delete the application's uninstall entry */ RegOpenKeyExW(iter->regroot, PathUninstallW, 0, KEY_READ, &hkey); RegDeleteKeyW(hkey, iter->regkey); RegCloseKey(hkey);
I can't solve this myself at the moment because I don't know C++ or the win32 API, but I believe that the error is within these lines.
https://bugs.winehq.org/show_bug.cgi?id=41609
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net, | |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- Should be fixed in wine 2.0.rc2.
http://source.winehq.org/git/wine.git/commit/537768b67520408d97ab032cd4bcc6c...
I don't know exactly how to test this.
https://bugs.winehq.org/show_bug.cgi?id=41609
ahyattdev ahyattdev@icloud.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from ahyattdev ahyattdev@icloud.com --- This fixes it. I tested it by installing 7-Zip, which uses an EXE uninstaller, then deleting the uninstaller (C:\Program Files\7-Zip\Uninstall.exe). After attempting to uninstall it from appwiz.cpl, I was prompted to delete the registry entry. This time, it worked and the entry was deleted.
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=41609
Hugh McMaster hugh.mcmaster@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster@outlook.com
https://bugs.winehq.org/show_bug.cgi?id=41609
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.0-rc3.