Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bob Tanner
packer-windows
Commits
e4c087cd
Unverified
Commit
e4c087cd
authored
Apr 12, 2018
by
Stefan Scherer
Browse files
Retry after five seconds
parent
c3a89434
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/vm-guest-tools.bat
View file @
e4c087cd
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\7z920-x64.msi"
(
powershell
-Command
"Start-Sleep 5 ; (New-Object System.Net.WebClient).DownloadFile('http://www.7-zip.org/a/7z920-x64.msi', 'C:\Windows\Temp\7z920-x64.msi')"
<
NUL
)
msiexec
/qb /i
C
:\Windows\Temp\7z920
-x
64
.msi
if
"
%PACKER_BUILDER_TYPE%
"
equ
"vmware-iso"
goto
:vmware
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment