Hi Bruce,
The package that comes with Visual Studio (which I assume you are
currently using) does the same registry check. From the product.xml
file:
<InstallChecks>
<RegistryCheck Property="DotNet40Full_TargetVersion"
Key="HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full"
Value="Version" />
</InstallChecks>
BTW, take a look in that file, and you'll see how to launch the package
specifying /q etc:
<Command PackageFile="dotNetFx40_Full_x86_x64.exe"
Arguments=" /q /norestart /ChainingPackage
FullX64Bootstrapper"
EstimatedInstalledBytes="1909616640"
EstimatedInstallSeconds="900"
EstimatedTempBytes="303106560">
You'll find it here:
C:\Program Files\Microsoft
SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX40
-Nick
-----Original Message-----
From: Bruce Cran [mailto:[email protected]]
Sent: 08 September 2010 10:53
To: Nick Ball
Cc: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] .Net 4 bootstrapper with Windows Imaging
Component
On Wed, 8 Sep 2010 10:39:24 +0100
"Nick Ball" <[email protected]> wrote:
> Why do you need to check the version of mscoree? Isn't the registry
> key check sufficient?
It seems that WiX 3.6 doesn't use the registry key for checking the
version of .NET either; at least, after rebooting having installed 4.0
it wanted to install it again :)
--
Bruce Cran
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users