Retry pnputil install for PSW
@@ -425,7 +425,10 @@ function Install-PSW {
}
} else {
$psw_dir = Get-Item "$tempInstallDir\Intel*SGX*\PSW_INF*\"
+ Start-ExecuteWithRetry -RetryInterval 5 -ScriptBlock {
pnputil /add-driver $psw_dir\sgx_psw.inf /install
+ Get-Service "AESMService"
+ }
}
Start-ExecuteWithRetry -ScriptBlock {
Start-Service "AESMService" -ErrorAction Stop
