diff --git a/packages/common.vm/common.vm.nuspec b/packages/common.vm/common.vm.nuspec index 6a0f9e812..9941ff37c 100755 --- a/packages/common.vm/common.vm.nuspec +++ b/packages/common.vm/common.vm.nuspec @@ -2,7 +2,7 @@ common.vm - 0.0.0.20240412 + 0.0.0.20240416 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 b0de005a3..1501e1a02 100755 --- a/packages/common.vm/tools/vm.common/vm.common.psm1 +++ b/packages/common.vm/tools/vm.common/vm.common.psm1 @@ -639,10 +639,10 @@ function VM-Uninstall-With-Uninstaller { [string] $toolName, [Parameter(Mandatory=$true, Position=1)] [string] $category, - [Parameter(Mandatory=$true, Position=1)] + [Parameter(Mandatory=$true, Position=2)] [ValidateSet("EXE", "MSI")] [string] $fileType, - [Parameter(Mandatory=$true, Position=2)] + [Parameter(Mandatory=$true, Position=3)] # Some general silent args: # $silentArgs = '/qn /norestart' # MSI # $silentArgs = '/S' # NSIS diff --git a/packages/map.vm/map.vm.nuspec b/packages/map.vm/map.vm.nuspec index 8a2452dec..c2dd665af 100644 --- a/packages/map.vm/map.vm.nuspec +++ b/packages/map.vm/map.vm.nuspec @@ -2,7 +2,7 @@ map.vm - 0.0.0.20240410 + 0.0.0.20240416 David Zimmer Handful of small utility type applications useful for analyzing malicious code. diff --git a/packages/map.vm/tools/chocolateyuninstall.ps1 b/packages/map.vm/tools/chocolateyuninstall.ps1 index f1fa600a9..7790cc77d 100644 --- a/packages/map.vm/tools/chocolateyuninstall.ps1 +++ b/packages/map.vm/tools/chocolateyuninstall.ps1 @@ -8,4 +8,4 @@ $category = 'Utilities' VM-Remove-Tool-Shortcut $toolName $category # Manually silently uninstall -VM-Uninstall-With-Uninstaller "Malcode Analyst Pack *" "EXE" "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-" \ No newline at end of file +VM-Uninstall-With-Uninstaller "Malcode Analyst Pack *" "$category" "EXE" "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-" \ No newline at end of file