MDEV-33374 main.mysql_connector_net fails on new Windows 11

Additionally pass `-ExecutionPolicy Bypass` to powershell.exe when
executing script
This commit is contained in:
Vladislav Vaintroub 2024-02-02 17:32:32 +01:00
parent 93189df44e
commit c79f19a5ed

View file

@ -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