Browse Source

Installer now checks that the full .NET 4 beta 2 framework is installed.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5285 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Matt Ward 16 years ago
parent
commit
a101f657c6
  1. 18
      src/Setup/Setup.wxs

18
src/Setup/Setup.wxs

@ -42,17 +42,21 @@ @@ -42,17 +42,21 @@
so they never block the user from repairing, patching, or
uninstalling the package after it has been installed.
For example the user could do something odd like uninstall .NET 3.5
For example the user could do something odd like uninstall .NET
and then run the msi to uninstall SharpDevelop. Without the
"Installed OR" this would not be allowed.
-->
<!--
Check for .NET 3.5 SP1
http://msdn2.microsoft.com/en-us/library/aa480198.aspx#netfx30_topic14
Check for .NET 4.0 beta 2
-->
<PropertyRef Id="NETFRAMEWORK35_SP_LEVEL" />
<Condition Message="This setup requires the .NET Framework 3.5 SP 1 to be installed.">
Installed OR NETFRAMEWORK35_SP_LEVEL = "#1"
<Property Id="NETFRAMEWORK40FULL" Secure="yes">
<RegistrySearch Id="NetFramework40Full" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Install" Type="raw" />
</Property>
<Property Id="NETFRAMEWORK40FULLVERSION" Secure="yes">
<RegistrySearch Id="NetFramework40FullVersion" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Version" Type="raw" />
</Property>
<Condition Message="This setup requires the .NET 4.0 Full Framework Beta 2 to be installed.">
Installed OR (NETFRAMEWORK40FULL AND NETFRAMEWORK40FULLVERSION = "4.0.21006")
</Condition>
<!--
@ -579,7 +583,7 @@ @@ -579,7 +583,7 @@
</Feature>
</Feature>
<!-- Using WixUI temporarily -->
<!-- Using WixUI -->
<Property Id="WIXUI_INSTALLDIR">INSTALLDIR</Property>
<UIRef Id="WixUI_FeatureTree"/>

Loading…
Cancel
Save