Hi
I have a problem with installing prerequisites. Our company created WIX setup
for two applications, both requiring two prerequisites, .NET framework and one
of our products I'll call it X. The requirement chain is like this:
Application 1: requires .NET Framework 2.0 and requires X
Application 2: requires .NET framework 3.5 SP1 and requires X
Now, X itself requires .NET framework 2.0, so X must be installed after .NET
framework. We placed X in the c:\Program Files\Microsoft
SDKs\Windows\v6.0A\Bootstrapper\Packages\ and added <DependsOnProduct
Code="Microsoft.Net.Framework.2.0" />.
WIX settings:
Application 1 has
<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.2.0">
<ProductName>.NET Framework 2.0</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="X">
<ProductName>X</ProductName>
</BootstrapperFile>
</ItemGroup>
Application 2 has
<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.3.5.SP1">
<ProductName>Microsoft.Net.Framework.3.5.SP1</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="X">
<ProductName>X</ProductName>
</BootstrapperFile>
</ItemGroup>
The problem is the following
For application 1 it works fine while for Application 2 it doesn't. Setup
apparently doesn't figure out that X needs .NET 3.5 SP1 and installs X before
it. I thought that setup will figure out that .NET 3.5 SP1 includes .NET 2.0
(bootstrapper contains <IncludesProduct Code="Microsoft.Net.Framework.2.0" />)
which is needed by X but I was wrong. Now I'm stuck. I can't change
bootstrapper for X because it requires .NET 2.0 in case of Application 1. Also
I don't want to have two bootstrapper packages for X.
Does anyone have an idea how to control the installation sequence of
prerequisites?
Best regards
Tomaz
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users