I have wix bundle with several packages and custom BA. All packages have InstallCondition attribute. All packages individually are installed successfully. But if I install some of the packages, and then try to add others in Modify mode, they are not installed. InstallCondition evaluates to true, and Cache="always". Log looks like this (Package1 is installed, Package2 I want to add):
Detected package: Package1.msi, state: Present, cached: Complete
Detected package: Package2.msi, state: Absent, cached: Complete
...
Setting string variable 'Package1' to value 'true'
Setting string variable 'Package2' to value 'true'
...
Condition 'Package1 = "true"' evaluates to true.
Condition 'Package2 = "true"' evaluates to true.
...
Planned package: Package1.msi, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
Planned package: Package2.msi, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
Also removing part of packages in Modify mode runs successfully.