From 42a40d9477460c813cfb7fd45fd97a7aa6233230 Mon Sep 17 00:00:00 2001 From: MalwareMechanic Date: Wed, 30 Nov 2022 11:13:32 -0500 Subject: [PATCH] Remove python2.vm (#131) --- packages/python2.vm/python2.vm.nuspec | 12 ----------- .../python2.vm/tools/chocolateyinstall.ps1 | 20 ------------------- 2 files changed, 32 deletions(-) delete mode 100644 packages/python2.vm/python2.vm.nuspec delete mode 100644 packages/python2.vm/tools/chocolateyinstall.ps1 diff --git a/packages/python2.vm/python2.vm.nuspec b/packages/python2.vm/python2.vm.nuspec deleted file mode 100644 index 9d3e94928..000000000 --- a/packages/python2.vm/python2.vm.nuspec +++ /dev/null @@ -1,12 +0,0 @@ - - - - python2.vm - 2.7.18 - Python 2.7 is a programming language that lets you work more quickly and integrate your systems more effectively. - Python Software Foundation - - - - - diff --git a/packages/python2.vm/tools/chocolateyinstall.ps1 b/packages/python2.vm/tools/chocolateyinstall.ps1 deleted file mode 100644 index fcff91f9b..000000000 --- a/packages/python2.vm/tools/chocolateyinstall.ps1 +++ /dev/null @@ -1,20 +0,0 @@ -$ErrorActionPreference = 'Stop' -Import-Module vm.common -Force -DisableNameChecking - -try { - $installDir = "${Env:SystemDrive}\Python27" - $installArgs = '/qn /norestart ALLUSERS=1 ADDLOCAL=Extensions TargetDir="{0}"' -f $installDir - - $params = @{ - packageName = ${Env:ChocolateyPackageName} - fileType = 'msi' - silentArgs = $installArgs - url = 'https://www.python.org/ftp/python/2.7.18/python-2.7.18.msi' - checksum = 'D901802E90026E9BAD76B8A81F8DD7E43C7D7E8269D9281C9E9DF7A9C40480A9' - checksumType = 'sha256' - } - Install-ChocolateyPackage @params - VM-Assert-Path $installDir -} catch { - VM-Write-Log-Exception $_ -} \ No newline at end of file