Removed Set-ExecutionPolicy RemoteSigned from Install-ServiceFabricSDK.ps1

This commit is contained in:
Marco Mansi
2020-03-26 16:20:08 +01:00
parent e6c9978ac2
commit 70c2ad2317
3 changed files with 2 additions and 6 deletions

View File

@@ -238,8 +238,7 @@
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
],
"execution_policy": "remotesigned"
]
},
{
"type": "windows-restart",

View File

@@ -219,8 +219,7 @@
"type": "powershell",
"scripts":[
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
],
"execution_policy": "remotesigned"
]
},
{
"type": "windows-restart",

View File

@@ -8,6 +8,4 @@
$temp_install_dir = 'C:\Windows\Installer'
New-Item -Path $temp_install_dir -ItemType Directory -Force
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
WebpiCmd.exe /Install /Products:MicrosoftAzure-ServiceFabric-CoreSDK /AcceptEula /XML:https://webpifeed.blob.core.windows.net/webpifeed/5.1/WebProductList.xml