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