Skip to content

Commit 2bf4ccc

Browse files
metsmaiannaska
authored andcommitted
Enable TLS1.2 on Windows 7 (#396)
IB-5590 Signed-off-by: Raul Metsma <[email protected]>
1 parent 8962d9e commit 2bf4ccc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

qdigidoc4.wxs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ msiexec /a Eesti_ID_kaart-CPP-teek-arendajale-3.10.0.3672.BETA.msi /qn TARGETDIR
4242
<Icon Id="qdigidoc4.exe" SourceFile="$(var.client_path)"/>
4343
<Property Id="ARPPRODUCTICON" Value="qdigidoc4.exe"/>
4444
<Property Id="DESKTOP_SHORTCUT" Value="0"/>
45+
<Property Id="TLS12" Value="1"/>
4546
<MajorUpgrade AllowSameVersionUpgrades="yes" Schedule="afterInstallInitialize" DowngradeErrorMessage=
4647
"A newer version of [ProductName] is already installed. If you are trying to downgrade, please uninstall the newer version first."/>
4748
<Condition Message="[ProductName] requires Windows 7 or higher.">
@@ -168,6 +169,11 @@ msiexec /a Eesti_ID_kaart-CPP-teek-arendajale-3.10.0.3672.BETA.msi /qn TARGETDIR
168169
<File Source="$(var.qtconf)" />
169170
<?endif?>
170171
</Component>
172+
<Component Id="ldapsOnW7" Guid="14397c62-610a-41ee-8168-a70757e71cdc">
173+
<Condition><![CDATA[(VersionNT = 601 AND TLS12 = 1)]]></Condition>
174+
<RegistryValue Root='HKLM' Type='integer' Name='DisabledByDefault' Value='0'
175+
Key='SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client'/>
176+
</Component>
171177
<Directory Id="SchemaFolder" Name="schema"/>
172178
<Directory Id="CertsFolder" Name="certs"/>
173179
<?ifdef var.qt_path ?>
@@ -198,6 +204,7 @@ msiexec /a Eesti_ID_kaart-CPP-teek-arendajale-3.10.0.3672.BETA.msi /qn TARGETDIR
198204
<ComponentRef Id="DesktopShortcut4" />
199205
<ComponentRef Id="Application4"/>
200206
<ComponentRef Id="Base"/>
207+
<ComponentRef Id="ldapsOnW7"/>
201208
<ComponentGroupRef Id="Schemas"/>
202209
<?ifdef var.certsLocation ?>
203210
<ComponentGroupRef Id="Certs"/>

0 commit comments

Comments
 (0)