Windows MSI : small cleanups, disable Windows 7/8
This commit is contained in:
parent
74a744b51f
commit
cff7cf15d7
@ -860,23 +860,12 @@
|
|||||||
</Component>
|
</Component>
|
||||||
</Feature>
|
</Feature>
|
||||||
|
|
||||||
<!-- Extra condition to block the installer if NSIS based installation is detected-->
|
|
||||||
<Property Id="NSISINSTALLKEY">
|
|
||||||
<RegistrySearch Id='NSISKey' Type='raw'
|
|
||||||
Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Uninstall\MariaDB' Name='DisplayName' />
|
|
||||||
</Property>
|
|
||||||
<Condition
|
|
||||||
Message=
|
|
||||||
'Previous version of MariaDB was found, that used incompatible installer.
Please remove "[NSISINSTALLKEY]" before you proceed with this installation.'
|
|
||||||
>
|
|
||||||
<![CDATA[ NOT(NSISINSTALLKEY << "MariaDB @MAJOR_VERSION@.@MINOR_VERSION@.") OR Installed]]>
|
|
||||||
</Condition>
|
|
||||||
<Condition Message=
|
<Condition Message=
|
||||||
'Setting the ALLUSERS property is not allowed because [ProductName] is a per-machine application. Setup will now exit.'>
|
'Setting the ALLUSERS property is not allowed because [ProductName] is a per-machine application. Setup will now exit.'>
|
||||||
<![CDATA[ALLUSERS = "1"]]>
|
<![CDATA[ALLUSERS = "1"]]>
|
||||||
</Condition>
|
</Condition>
|
||||||
<Condition Message='This application is only supported on Windows Vista, Windows Server 2008, or higher.'>
|
<Condition Message='This application is only supported on Windows 10, Windows Server 2016, or higher.'>
|
||||||
<![CDATA[Installed OR (VersionNT >= 600)]]>
|
<![CDATA[Installed OR (VersionNT >= 603)]]>
|
||||||
</Condition>
|
</Condition>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user