Does it indicate a warning or error?
The script referenced has no problems.
View attachment 13542
EDIT: Here is the script contents:
The script referenced has no problems.
View attachment 13542
EDIT: Here is the script contents:
Code:
@echo off
REM --------------------------------------------------------------------------------------------------------------------
REM MAYBE_INSTALL_VMWARE_TOOLS()
REM --------------------------------------------------------------------------------------------------------------------
setlocal
set "LOGFILE=%PUBLIC%\Desktop\Post-Setup.log"
set "EXEFILE=%PUBLIC%\Desktop\Post-Setup\VMware Tools 12.5.0 (x64) setup.exe"
wmic bios get serialnumber | find "VMware" >nul
REM systeminfo | find "BIOS" | find "VMware" >nul
REM systeminfo | find "System Manufacturer" | find "VMware" >nul
REM systeminfo | find "System Model" | find "VMware" >nul
if %errorLevel% == 0 (
echo Installing VMware Tools...
echo %time% - Installing VMware Tools... >> "%LOGFILE%"
start /wait "" "%EXEFILE%" /S /v "/qn REBOOT=R"
echo Installed VMware Tools with exit code %errorLevel%.
echo %time% - Installed VMware Tools with exit code %errorLevel%. >> "%LOGFILE%"
) else (
echo Not installing VMware Tools.
echo %time% - Not installing VMware Tools. >> "%LOGFILE%"
)
REM --------------------------------------------------------------------------------------------------------------------