Browse Source

Using 'Installed OR' in the installer's LaunchConditions so they do not block the user from repairing or uninstalling if the package has been already been installed.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2155 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 19 years ago
parent
commit
80fb684f1c
  1. 15
      src/Setup/Setup.wxs

15
src/Setup/Setup.wxs

@ -34,13 +34,22 @@ @@ -34,13 +34,22 @@
IncludeMinimum="no"/>
</Upgrade>
<!-- Conditions to be satisfied before the installer begins.-->
<!--
Conditions to be satisfied before the installer begins.
Note that we are using "Installed OR" in the conditions so
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 2.0
and then run the msi to uninstall SharpDevelop. Without the
"Installed OR" this would not be allowed.
-->
<!--
Check for .NET 2.0
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/msinetassemblysupport.asp
-->
<Condition Message="This setup requires the .NET Framework 2.0 or higher.">
MsiNetAssemblySupport &gt;= "2.0.50727"
Installed OR MsiNetAssemblySupport &gt;= "2.0.50727"
</Condition>
<!--
@ -48,7 +57,7 @@ @@ -48,7 +57,7 @@
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/operating_system_property_values.asp
-->
<Condition Message="The operating system you are using is not supported by SharpDevelop (95/98/ME/NT3.x/NT4.x).">
VersionNT &gt;= 500
Installed OR VersionNT &gt;= 500
</Condition>
<!--

Loading…
Cancel
Save