From 7c0d53a80fc46eea39f97abd8db6a04e8f454c51 Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Fri, 3 Feb 2017 22:07:33 +0100 Subject: [PATCH] (itunes) Added ignore error on remove-item --- automatic/iTunes/tools/chocolateyInstall.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automatic/iTunes/tools/chocolateyInstall.ps1 b/automatic/iTunes/tools/chocolateyInstall.ps1 index 3921d8ff5f84..72736c1b0932 100644 --- a/automatic/iTunes/tools/chocolateyInstall.ps1 +++ b/automatic/iTunes/tools/chocolateyInstall.ps1 @@ -37,4 +37,4 @@ foreach ($msiFile in $msiFileList) { Install-ChocolateyInstallPackage @packageArgs } -Remove-Item $packageArgs.unzipLocation -Recurse +Remove-Item $packageArgs.unzipLocation -Recurse -Force -ea 0