From 998bb17a80e5dd50095db36a4bcbef5a79355e64 Mon Sep 17 00:00:00 2001 From: Naacbin Date: Sat, 1 Jun 2024 20:12:07 +0200 Subject: [PATCH] Add 1603 to validExitCodes --- packages/common.vm/common.vm.nuspec | 2 +- packages/common.vm/tools/vm.common/vm.common.psm1 | 2 +- packages/dokan.vm/dokan.vm.nuspec | 2 +- packages/dokan.vm/tools/chocolateyinstall.ps1 | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/common.vm/common.vm.nuspec b/packages/common.vm/common.vm.nuspec index e38b9ce4f..1f37764c8 100755 --- a/packages/common.vm/common.vm.nuspec +++ b/packages/common.vm/common.vm.nuspec @@ -2,7 +2,7 @@ common.vm - 0.0.0.20240516 + 0.0.0.20240531 Common libraries for VM-packages Mandiant diff --git a/packages/common.vm/tools/vm.common/vm.common.psm1 b/packages/common.vm/tools/vm.common/vm.common.psm1 index d7d043e7a..8439f9403 100755 --- a/packages/common.vm/tools/vm.common/vm.common.psm1 +++ b/packages/common.vm/tools/vm.common/vm.common.psm1 @@ -676,7 +676,7 @@ function VM-Install-With-Installer { [Parameter(Mandatory=$false)] [string] $sha256, [Parameter(Mandatory=$false)] - [array] $validExitCodes= @(0, 3010, 1605, 1614, 1641), + [array] $validExitCodes= @(0, 3010, 1603, 1605, 1614, 1641), [Parameter(Mandatory=$false)] [bool] $consoleApp=$false, [Parameter(Mandatory=$false)] diff --git a/packages/dokan.vm/dokan.vm.nuspec b/packages/dokan.vm/dokan.vm.nuspec index 942f83907..789439704 100644 --- a/packages/dokan.vm/dokan.vm.nuspec +++ b/packages/dokan.vm/dokan.vm.nuspec @@ -2,7 +2,7 @@ dokan.vm - 2.1.0 + 2.1.0.20240603 kacos2000 Dokan simplifies the creation of custom file systems on Windows without the complexity of developing kernel-level drivers, offering an accessible solution for file system development, similar to FUSE on Linux. diff --git a/packages/dokan.vm/tools/chocolateyinstall.ps1 b/packages/dokan.vm/tools/chocolateyinstall.ps1 index a6b1cc9d0..c82578e60 100644 --- a/packages/dokan.vm/tools/chocolateyinstall.ps1 +++ b/packages/dokan.vm/tools/chocolateyinstall.ps1 @@ -8,6 +8,7 @@ $exeSha256 = '930b596d6cd7a8f3508f39bd4eab8c2f178178d39d11a9e135180b69820df47f' $fileType = 'MSI' $silentArgs = '/qn /norestart' +$validExitCodes= @(0, 3010, 1603, 1605, 1614, 1641) try { $toolDir = Join-Path ${Env:RAW_TOOLS_DIR} $toolName @@ -33,6 +34,7 @@ try { fileType = $fileType file = $installerPath silentArgs = $silentArgs + validExitCodes= $validExitCodes softwareName = $toolName } Install-ChocolateyInstallPackage @packageArgs