[Bug 42808] New: msi: parent feature level is not propagated recursively on a whole subfeatures hierarchy
https://bugs.winehq.org/show_bug.cgi?id=42808 Bug ID: 42808 Summary: msi: parent feature level is not propagated recursively on a whole subfeatures hierarchy Product: Wine Version: 1.8.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi Assignee: wine-bugs(a)winehq.org Reporter: anton.nikolaevsky(a)gmail.com Distribution: --- Created attachment 57840 --> https://bugs.winehq.org/attachment.cgi?id=57840 sample MSI package triggering bug INITIAL CONDITIONS Have MSI package with: 1. 3 Features "A", "B" and "C" set up into the hierarchy where "A" is the parent feature of "B" and "B" is the parent feature of "C"; 2. Property "INSTALLTYPE" with default value "0"; 3. Condition setting Level of the Feature "A" to "0" (i.e. disables the feature) when INSTALLTYPE is not "0" 4. CustomAction "RunWithC" that is invoked when Feature "C" is to be installed. SCENARIO 1. Run the installer on Windows with the following command line: msiexec /i wine_msi_bug.msi /L*vx install.log /quiet INSTALLTYPE="1" Expected: CustomAction "RunWithC" has been skipped Actual: the same 2. Run the installer using WINE with the following command line: WINEDEBUG=+msi,+msidb,+msiexec wine msiexec.exe /i wine_msi_bug.msi '/L*vx' install.log /quiet INSTALLTYPE="1" >& wine.log Expected: CustomAction "RunWithC" has been skipped Actual: CustomAction "RunWithC" has been executed The difference can be clearly seen when comparing produced logs for both platforms: all 3 features are marked as skipped on Windows, only "A" and "B" are marked as skipped with WINE. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 --- Comment #1 from Anton Nikolaevsky <anton.nikolaevsky(a)gmail.com> --- Created attachment 57841 --> https://bugs.winehq.org/attachment.cgi?id=57841 installation log from Windows -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 --- Comment #2 from Anton Nikolaevsky <anton.nikolaevsky(a)gmail.com> --- Created attachment 57842 --> https://bugs.winehq.org/attachment.cgi?id=57842 installation log from WINE wine.log: 10392 trace:msi:MSI_SetFeatureStates examining feature L"A" (level 0 installed 2 request -1 action -1) 10393 trace:msi:MSI_SetFeatureStates examining feature L"C" (level 1 installed 2 request 3 action 3) 10394 trace:msi:MSI_SetFeatureStates examining feature L"B" (level 1 installed 2 request -1 action -1) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 --- Comment #3 from Anton Nikolaevsky <anton.nikolaevsky(a)gmail.com> --- Created attachment 57843 --> https://bugs.winehq.org/attachment.cgi?id=57843 WiX utility source file for sample MSI package generation -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 --- Comment #4 from Anton Nikolaevsky <anton.nikolaevsky(a)gmail.com> --- Created attachment 57845 --> https://bugs.winehq.org/attachment.cgi?id=57845 Windows batch script to generate sample MSI package using WiX toolset -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 Anton Nikolaevsky <anton.nikolaevsky(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 Anton Nikolaevsky <anton.nikolaevsky(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anton.nikolaevsky(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 --- Comment #5 from Hans Leidekker <hans(a)meelstraat.net> --- Created attachment 57854 --> https://bugs.winehq.org/attachment.cgi?id=57854 patch Thanks for the nice test case. Does this patch help? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 --- Comment #6 from Anton Nikolaevsky <anton.nikolaevsky(a)gmail.com> --- Hi Hans, Thanks for a quick reply. The patch, indeed, resolves the 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |d94653d0ebbfd5d48cba4e9d973 | |31f65023d0d07 Status|UNCONFIRMED |RESOLVED --- Comment #7 from Hans Leidekker <hans(a)meelstraat.net> --- Should be fixed by d94653d0ebbfd5d48cba4e9d97331f65023d0d07. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=42808 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.7. -- 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)
-
wine-bugs@winehq.org