Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

Commit dfed7e5

Browse files
committed
Tweaked the downloading of the vmware tools in script/vmtool.bat to remove the file prior to retrying the download.
1 parent 44791eb commit dfed7e5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

script/vmtool.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ if defined _VMWARE_TOOLS_SIZE if not "%_VMWARE_TOOLS_SIZE%" == "0" goto install_
199199
:download_vmware_tools
200200
echo ==^> Downloading the VMware tools from %VMWARE_TOOLS_URL%/%VMWARE_TOOLS_FILE%
201201

202+
del /F "%VMARE_TOOLS_SETUP_PATH%"
203+
202204
call "%SystemRoot%\_download.cmd" "%VMWARE_TOOLS_URL%/%VMWARE_TOOLS_FILE%" "%VMWARE_TOOLS_SETUP_PATH%"
203205
if errorlevel 1 (
204206
echo ==^> ERROR: Unable to download file from %VMWARE_TOOLS_URL%/%VMWARE_TOOLS_FILE%

0 commit comments

Comments
 (0)