mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-28 15:55:47 +02:00
Update 7zip url for latest version
Fix #266 due to previous version now behind soureforge redirect.
This commit is contained in:
parent
5d7d9482f6
commit
4fbe02277d
|
@ -1,7 +1,7 @@
|
|||
if not exist "C:\Windows\Temp\7z920-x64.msi" (
|
||||
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://www.7-zip.org/a/7z920-x64.msi', 'C:\Windows\Temp\7z920-x64.msi')" <NUL
|
||||
if not exist "C:\Windows\Temp\7z1801-x64.msi" (
|
||||
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://www.7-zip.org/a/7z1801-x64.msi', 'C:\Windows\Temp\7z1801-x64.msi')" <NUL
|
||||
)
|
||||
msiexec /qb /i C:\Windows\Temp\7z920-x64.msi
|
||||
msiexec /qb /i C:\Windows\Temp\7z1801-x64.msi
|
||||
|
||||
if "%PACKER_BUILDER_TYPE%" equ "vmware-iso" goto :vmware
|
||||
if "%PACKER_BUILDER_TYPE%" equ "virtualbox-iso" goto :virtualbox
|
||||
|
@ -47,4 +47,4 @@ if exist "C:\Users\vagrant\prl-tools-win.iso" (
|
|||
)
|
||||
|
||||
:done
|
||||
msiexec /qb /x C:\Windows\Temp\7z920-x64.msi
|
||||
msiexec /qb /x C:\Windows\Temp\7z1801-x64.msi
|
||||
|
|
Loading…
Reference in New Issue
Block a user