diff --git a/packages/installer.vm/installer.vm.nuspec b/packages/installer.vm/installer.vm.nuspec index 556361faf..fabbc9ad4 100644 --- a/packages/installer.vm/installer.vm.nuspec +++ b/packages/installer.vm/installer.vm.nuspec @@ -2,7 +2,7 @@ installer.vm - 0.0.0.20240402 + 0.0.0.20240912 Mandiant Generic installer for custom virtual machines. diff --git a/packages/installer.vm/tools/chocolateyinstall.ps1 b/packages/installer.vm/tools/chocolateyinstall.ps1 index 513fb978d..71f7b5fed 100644 --- a/packages/installer.vm/tools/chocolateyinstall.ps1 +++ b/packages/installer.vm/tools/chocolateyinstall.ps1 @@ -32,14 +32,7 @@ try { } VM-Write-Log "INFO" "Packages installation complete" - ## Configure taskbar with custom Start Layout if it exists. - $customLayout = Join-Path ${Env:VM_COMMON_DIR} "CustomStartLayout.xml" - if (Test-Path $customLayout) { - Import-StartLayout -LayoutPath $customLayout -MountPath "C:\" - Stop-Process -Name explorer -Force # This restarts the explorer process so that the new taskbar is displayed. - } else { - VM-Write-Log "WARN" "CustomStartLayout.xml missing. No items will be pinned to the taskbar." - } + Stop-Process -Name explorer -Force # This restarts the explorer process so that the new taskbar is displayed. # Set Profile/Version specific configurations VM-Write-Log "INFO" "Beginning Windows OS VM profile configuration changes"