https://bugs.winehq.org/show_bug.cgi?id=37833
Bug ID: 37833 Summary: BOINC uninstaller claims to be upgrading Product: Wine Version: 1.6.2 Hardware: x86-64 URL: http://boinc.berkeley.edu/dl/boinc_7.4.36_windows_inte lx86.exe OS: Linux Status: NEW Keywords: download, Installer, source Severity: trivial Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: imwellcushtymelike@gmail.com Distribution: Ubuntu
Created attachment 50381 --> https://bugs.winehq.org/attachment.cgi?id=50381 Wine 1.7.33 +msiexec,+msidb [5.5 MB]
When running the uninstall for BOINC from "wine uninstaller", the uninstaller claims to be upgrading BOINC. The uninstall completes successfully. For some reason the wrong messages are being displayed.
Tested with Wine 1.6.2 and Wine 1.7.33 with BOINC version 5.8.16, 6.6.38, 7.0.64 and 7.4.36, all 32-bit. 64-bit uninstall does not appear in the uninstaller list.
Very little in the console so attaching a trace.
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet err:rpc:I_RpcGetBuffer no binding err:rpc:I_RpcGetBuffer no binding
https://bugs.winehq.org/show_bug.cgi?id=37833
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
the strange behaviour is expected since Wine runs uninstallers in 'full UI' mode.
Whoever authored the package didn't take 'full UI' mode on uninstall into account.
Dumping the 'InstallUISequence' table of the .msi package with 'Orca' yields:
--- snip --- ... InstallWelcome Not Installed And (Not PATCH Or IS_MAJOR_UPGRADE) 1210
MaintenanceWelcome Installed And Not RESUME And Not Preselected And Not PATCH 1230
PatchWelcome PATCH And Not IS_MAJOR_UPGRADE 1205
SetupResume Installed And (RESUME Or Preselected) And Not PATCH 1220 ... --- snip ---
The 'Preselected' property is the culprit here.
It's set to '1' during resume of interrupted/suspended installation or when 'REMOVE' or various other properties are passed by command line (http://msdn.microsoft.com/en-us/library/aa371194%28v=vs.85%29.aspx).
Uninstall causes 'REMOVE=ALL' to be passed hence 'Preselected' is always '1'.
On Windows, uninstall is usually run with 'basic UI' mode hence the original dialog is never shown -> developer never noticed it.
My guess would be if you force the uninstaller to 'full UI' mode on Windows you should get the same result.
--- snip --- msiexec /x {D5F38128-79BF-4904-A3C9-D399537DAE80} /qf --- snip ---
Which leaves the point if we really want to change the Wine's default behaviour for uninstallers to 'basic UI' by passing '/qb'.
Regards
https://bugs.winehq.org/show_bug.cgi?id=37833
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- No change in wine-1.8-rc1
https://bugs.winehq.org/show_bug.cgi?id=37833
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |htl10@users.sourceforge.net
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- *** Bug 40578 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=37833
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- No change in Wine and Staging 4.18.
https://bugs.winehq.org/show_bug.cgi?id=37833
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- No change in Wine 7.9. As this is expected I won't keep testing until/unless the behaviour changes.