[wix-users] Sending back the modified variable back to bundle from msi
Shintaro Takechi
devst119 at gmail.com
Wed Mar 7 15:31:44 PST 2018
Hi All,
I would like to install a secondary package via modified variable within
the first package.
Would that be possible?
Here is my bundle code.
<Variable Name="InstallMini"
Type="numeric"
Value="1"
bal:Overridable="yes"/>
<Chain>
<MsiPackage SourceFile="Msis\WiXSandBox.msi"
DisplayInternalUI="yes"
Compressed="yes"
Vital="yes"
>
<MsiProperty Name="INSTALLMINI" Value="[InstallMini]"/>
</MsiPackage>
<MsiPackage SourceFile="Msis\WixMiniInstaller.msi"
*InstallCondition="InstallMini"*
/>
</Chain>
Looking at the generated log, I can see that the INSTALLMINI is passed in
to the WiXSandBox, and being initially 1 is now modified to 0 within
the WiXSandBox.
However, the WixMiniInstaller is still being installed even though
InstallMini should be 0.
I think I am some how not passing back the InstallMini back to the bundle.
Would anybody know how I may be able to resolve this?
More information about the wix-users
mailing list