Skip to content

Commit

Permalink
Enable TLS1.2 on Win7 if not already enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
karl80038 committed May 31, 2023
1 parent 3913f8e commit 6111c45
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake
2 changes: 1 addition & 1 deletion common
2 changes: 1 addition & 1 deletion extensions
7 changes: 7 additions & 0 deletions qdigidoc4.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ msiexec /a libdigidocpp-3.13.8.1378.msi /qn TARGETDIR=C:\target
<Property Id="ARPPRODUCTICON" Value="qdigidoc4.ico"/>
<Property Id="APPLICATIONNAME" Value="qdigidoc4"/>
<Property Id="DESKTOP_SHORTCUT" Value="0"/>
<Property Id="TLS12" Value="1"/>
<MajorUpgrade AllowSameVersionUpgrades="yes" Schedule="afterInstallInitialize" DowngradeErrorMessage=
"A newer version of [ProductName] is already installed. If you are trying to downgrade, please uninstall the newer version first."/>
<UIRef Id="WixUI_Minimal2" />
Expand Down Expand Up @@ -165,6 +166,11 @@ msiexec /a libdigidocpp-3.13.8.1378.msi /qn TARGETDIR=C:\target
<?endif?>
<?endif?>
</Component>
<Component Id="ldapsOnW7" Guid="14397c62-610a-41ee-8168-a70757e71cdc">
<Condition><![CDATA[(VersionNT = 601 AND TLS12 = 1)]]></Condition>
<RegistryValue Root='HKLM' Type='integer' Name='DisabledByDefault' Value='0'
Key='SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client'/>
</Component>
<Directory Id="SchemaFolder" Name="schema"/>
<?ifdef var.qt_path ?>
<Directory Id="platforms" Name="platforms" FileSource="$(var.qt_path)\..\plugins\platforms">
Expand Down Expand Up @@ -206,6 +212,7 @@ msiexec /a libdigidocpp-3.13.8.1378.msi /qn TARGETDIR=C:\target
<ComponentRef Id="DesktopShortcut4" />
<ComponentRef Id="Application4"/>
<ComponentRef Id="Base"/>
<ComponentRef Id="ldapsOnW7"/>
<ComponentGroupRef Id="Schemas"/>
<?ifdef var.qt_path ?>
<ComponentRef Id="qwindows.dll" />
Expand Down

0 comments on commit 6111c45

Please sign in to comment.