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

Loading…
Cancel
Save