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
ef69e6fb
Commit
ef69e6fb
authored
Oct 10, 2013
by
dylanmei
Browse files
Fix quotes in vm-guest-tools script
parent
1fcdcec0
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/chef.bat
View file @
ef69e6fb
...
...
@@ -4,4 +4,4 @@ if not exist "C:\Windows\Temp\chef.msi" (
)
msiexec
/qb /i
C
:\Windows\Temp\chef.msi
start
/wait
powershell
-Command
"Start-Sleep 1"
<
NUL
powershell
-Command
"Start-Sleep 1"
<
NUL
scripts/vm-guest-tools.bat
View file @
ef69e6fb
...
...
@@ -11,7 +11,7 @@ goto :done
if
not
exist
"C:\Windows\Temp\VMWare\setup.exe"
(
powershell
-Command
"(New-Object System.Net.WebClient).DownloadFile('http://softwareupdate.vmware.com/cds/vmw-desktop/ws/10.0.0/1295980/windows/packages/tools-windows-9.6.0.exe.tar', 'C:\Windows\Temp\vmware-tools.exe.tar')"
<
NUL
cmd
/c
"C:\Program Files\7-Zip\7z.exe"
x
C
:\Windows\Temp\vmware
-tools
.exe.tar
-oC
:\Windows\Temp
cmd
/c
"
"
C
:\Program
Files
\7
-Zip
\7z.exe
" x C:\Windows\Temp\vmware-tools.exe.tar -oC:\Windows\Temp
"
cmd
/c
C
:\Windows\Temp\tools
-windows
-
9
.6.0
cmd
/c
""
C
:\Program
Files
\7
-Zip
\7z.exe
" x "
C
:\Program
Files
(
x86
)
\VMWare\tools
-windows
\windows.iso
" -oC:\Windows\Temp\VMWare"
del
/F /S /Q
"C:\Program Files (x86)\VMWare"
...
...
@@ -27,7 +27,7 @@ goto :done
cmd
/c
certutil
-addstore -f
"TrustedPublisher"
A
:\oracle
-cert
.cer
mv
C
:\Users\vagrant\VBoxGuestAdditions.iso
C
:\Windows\Temp
cmd
/c
"C:\Program Files\7-Zip\7z.exe"
x
C
:\Windows\Temp\VBoxGuestAdditions.iso
-oC
:\Windows\Temp\virtualbox
cmd
/c
"
"
C
:\Program
Files
\7
-Zip
\7z.exe
" x C:\Windows\Temp\VBoxGuestAdditions.iso -oC:\Windows\Temp\virtualbox
"
cmd
/c
C
:\Windows\Temp\virtualbox\VBoxWindowsAdditions.exe
/S
goto
:done
...
...
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