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@winehq.org Reporter: anton.nikolaevsky@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.