Commit c79f19a5 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-33374 main.mysql_connector_net fails on new Windows 11

Additionally pass `-ExecutionPolicy Bypass` to powershell.exe when
executing script
parent 93189df4
......@@ -4,7 +4,7 @@ let $sys_errno=0;
# Error 100 is returned by the powershell script
# if MySql.Data is not installed
--error 0,100
--exec powershell -NoLogo -NoProfile -File main\mysql_connector_net.ps1
--exec powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -File main\mysql_connector_net.ps1
if ($sys_errno != 0)
{
--skip Connector/NET is not installed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment