[Bug 58415] New: Wine msiexec behaviour deviates from MS msiexec for tables missing from .msi
http://bugs.winehq.org/show_bug.cgi?id=58415 Bug ID: 58415 Summary: Wine msiexec behaviour deviates from MS msiexec for tables missing from .msi Product: Wine Version: 10.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi Assignee: wine-bugs(a)winehq.org Reporter: depaoli.renzo(a)gmail.com Distribution: --- While investigating a problematic .msi file, I noticed the following: The .msi file in its InstallExecuteSequence calls functions that depend on tables in the msi. However these tables do not exit. Examples found: "LaunchConditions", but no "LaunchCondition Table" "IsolateComponents", but no "IsolatedComponent Table" "PublishComponents/UnpublishComponents", but no "PublishComponent Table" "RegisterMIMEInfo/UnregisterMIMEInfo", but no "MIME table" "RegisterTypeLibraries/UnregisterTypeLibraries", but no "TypeLib table" "RegisterComPlus/UnregisterComPlus", but no "Complus table" When MS msiexec processes the .msi, it reports "Return value 0" in these cases. However when Wine msiexec does the same, it reports "Return value 1" instead. When modifying the .msi with the Orca MSI editor adding the missing tables (left empty), then MS msiexec reports "Return value 1", and Wine msiexec does the same. So there is a mismatch between the two implementations; I would conclude that Wine msiexec is missing a check for missing tables. Whether there are problems resulting from this difference in behaviour I cannot say, but it is at least not making investigations of .msi-issues any easier. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer --- Comment #1 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Is the installer you were testing available to download? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 Renzo de Paoli <depaoli.renzo(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |depaoli.renzo(a)gmail.com --- Comment #2 from Renzo de Paoli <depaoli.renzo(a)gmail.com> --- Created attachment 78836 --> http://bugs.winehq.org/attachment.cgi?id=78836 Test case "SimpleInstall" for illustration Two simple .msi files, both call IsolateComponents, but one has the corresponding table, while the other does not. Logfiles are included based on CLI use: Wine 10.0 msiexec /i SimpleInstall_IsolateComponent_woTable.msi /qb /L*X woTableLogWine.txt msiexec /i SimpleInstall_IsolateComponent_wTable.msi /qb /L*X wTableLogWine.txt Win10 msiexec /i SimpleInstall_IsolateComponent_woTable.msi /qb /L*X woTableLogWin.txt msiexec /i SimpleInstall_IsolateComponent_wTable.msi /qb /L*X wTableLogWin.txt -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 --- Comment #3 from Renzo de Paoli <depaoli.renzo(a)gmail.com> --- (In reply to Ken Sharp from comment #1)
Is the installer you were testing available to download?
Good morning Ken. The installer in question is part of Solidworks 2020 SP5 (swwi/data/solidworks.msi, ~50MiB). AFAIK, there is no publicly available download other than registering for a trial. However, I created "SimpleInstalls" that should illustrate the case based on the IsolatedComponent function and table. I included the log files I got when running them under Win10 and Wine. I hope this helps. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase --- Comment #4 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- That's great. Thank you. The only other thing to test is the latest version of Wine (currently 10.10) to make sure it hasn't already been fixed. https://gitlab.winehq.org/wine/wine/-/wikis/Download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO --- Comment #5 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Please upgrade Wine and retry. https://gitlab.winehq.org/wine/wine/-/wikis/Download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 --- Comment #6 from Renzo de Paoli <depaoli.renzo(a)gmail.com> --- (In reply to Ken Sharp from comment #5)
Please upgrade Wine and retry. https://gitlab.winehq.org/wine/wine/-/wikis/Download
Good evening Ken. I just re-tried with Wine 10.12 dev. Command used: msiexec /i SimpleInstall_IsolateComponent_wTable.msi /qb /L*X wTableLogWine_10-12.txt wTableLogs, Return values that "should 0": Windows 10, Baseline Action start 09:13:22: AppSearch. Action ended 09:13:22: AppSearch. Return value 0. Action start 09:13:23: MigrateFeatureStates. Action ended 09:13:23: MigrateFeatureStates. Return value 0. Action start 09:13:23: RemoveFiles. Action ended 09:13:23: RemoveFiles. Return value 0. Action start 09:13:23: RegisterClassInfo. Action ended 09:13:23: RegisterClassInfo. Return value 0. Action start 09:13:23: RegisterExtensionInfo. Action ended 09:13:23: RegisterExtensionInfo. Return value 0. Action start 09:13:23: RegisterProgIdInfo. Action ended 09:13:23: RegisterProgIdInfo. Return value 0. Action start 09:13:23: RegisterMIMEInfo. Action ended 09:13:23: RegisterMIMEInfo. Return value 0. Action start 09:13:23: RegisterTypeLibraries. Action ended 09:13:23: RegisterTypeLibraries. Return value 0. Action start 09:13:23: RegisterComPlus. Action ended 09:13:23: RegisterComPlus. Return value 0. Action start 09:13:23: PublishComponents. Action ended 09:13:23: PublishComponents. Return value 0. Action start 09:13:23: MsiPublishAssemblies. Action ended 09:13:23: MsiPublishAssemblies. Return value 0. Wine 10.0 Action start 09:29:14: AppSearch. Action ended 09:29:14: AppSearch. Return value 1. Action start 09:29:14: MigrateFeatureStates. Action ended 09:29:14: MigrateFeatureStates. Return value 0. Action start 09:29:14: RemoveFiles. Action ended 09:29:14: RemoveFiles. Return value 1. Action start 09:29:14: RegisterClassInfo. Action ended 09:29:14: RegisterClassInfo. Return value 1. Action start 09:29:14: RegisterExtensionInfo. Action ended 09:29:14: RegisterExtensionInfo. Return value 1. Action start 09:29:14: RegisterProgIdInfo. Action ended 09:29:14: RegisterProgIdInfo. Return value 1. Action start 09:29:14: RegisterMIMEInfo. Action ended 09:29:14: RegisterMIMEInfo. Return value 1. Action start 09:29:14: RegisterTypeLibraries. Action ended 09:29:14: RegisterTypeLibraries. Return value 1. Action start 09:29:14: RegisterComPlus. Action ended 09:29:14: RegisterComPlus. Return value 1. Action start 09:29:14: PublishComponents. Action ended 09:29:14: PublishComponents. Return value 1. Action start 09:29:14: MsiPublishAssemblies. Action ended 09:29:14: MsiPublishAssemblies. Return value 1. Wine 10.12 development Action start 18:43:55: AppSearch. Action ended 18:43:55: AppSearch. Return value 1. Action start 18:43:55: MigrateFeatureStates. Action ended 18:43:55: MigrateFeatureStates. Return value 1. Action start 18:43:55: RemoveFiles. Action ended 18:43:55: RemoveFiles. Return value 1. Action start 18:43:55: RegisterClassInfo. Action ended 18:43:55: RegisterClassInfo. Return value 1. Action start 18:43:55: RegisterExtensionInfo. Action ended 18:43:55: RegisterExtensionInfo. Return value 1. Action start 18:43:55: RegisterProgIdInfo. Action ended 18:43:55: RegisterProgIdInfo. Return value 1. Action start 18:43:55: RegisterMIMEInfo. Action ended 18:43:55: RegisterMIMEInfo. Return value 1. Action start 18:43:55: RegisterTypeLibraries. Action ended 18:43:55: RegisterTypeLibraries. Return value 1. Action start 18:43:55: RegisterComPlus. Action ended 18:43:55: RegisterComPlus. Return value 1. Action start 18:43:55: PublishComponents. Action ended 18:43:55: PublishComponents. Return value 1. Action start 18:43:55: MsiPublishAssemblies. Action ended 18:43:55: MsiPublishAssemblies. Return value 1. Conclusion: In regard to the bug, Wine 10.12 shows identical behaviour to Wine 10.0. The only difference is "MigrateFeatureStates", which strictly speaking does not belong to this bug, but it returns a "1" for some reason now, possibly a new, separate issue. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 Renzo de Paoli <depaoli.renzo(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|10.0 |10.12 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58415 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |UNCONFIRMED Ever confirmed|1 |0 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla