dwchan
Enthusiast
Enthusiast

VMTools silent install during build

I had this working on one time.  I include the VMware Tools installation on my custom iso and included during my windows 2016 build.  It was part of the unattend.xml

<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Path>D:\CustomFolder\setup64.exe /s /v &quot;/qn REBOOT=R&quot; /l C:\Temp\VMwareToolsInstall.log</Path>
<Order>1</Order>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>

For what ever reason, it is not kicking off the vmtool setup anymore and I Can't figure out what change for the life of me.  I was able to grab the default installation log

2020-12-02T17:24:35.958-08:00| inst-build-12406962| I0: [Resource] LOG_INST_NAME = <not defined>
2020-12-02T17:24:35.958-08:00| inst-build-12406962| I0: [Resource] LOG_MSI_NAME = <not defined>
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Operating system info:
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Admin install = TRUE
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Major version = 10
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Minor version = 0
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Service pack = 0
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Build number = 14393
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Bitness = 64-bit
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Platform = NT
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Running from: "D:\CustomFolder\setup64.exe"
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Command line: /s /v "/qn REBOOT=R" /l c:\temp\vm.log
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Installing VMware Tools 10.3.10.10540 (build-12406962)
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Sending rpc command 'log Command line: /s /v "/qn REBOOT=R" /l c:\temp\vm.log' to the host
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sending request='log Command line: /s /v "/qn REBOOT=R" /l c:\temp\vm.log'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sent request='log Command line: /s /v "/qn REBOOT=R" /l c:\temp\vm.log', reply='', len=0, status=1, rpcStatus=1
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Sending rpc command 'log Installing VMware Tools 10.3.10.10540 (build-12406962)' to the host
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sending request='log Installing VMware Tools 10.3.10.10540 (build-12406962)'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sent request='log Installing VMware Tools 10.3.10.10540 (build-12406962)', reply='', len=0, status=1, rpcStatus=1
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: [Resource] MINORUPGRADE = 1
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Performing VMware Tools style install/upgrade
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Sending rpc command 'info-set guestinfo.toolsInstallErrCode Invalid' to the host
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sending request='info-set guestinfo.toolsInstallErrCode Invalid'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sent request='info-set guestinfo.toolsInstallErrCode Invalid', reply='', len=0, status=1, rpcStatus=1
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Sending rpc command 'toolinstall.installerActive 1' to the host
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sending request='toolinstall.installerActive 1'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sent request='toolinstall.installerActive 1', reply='Unknown command', len=15, status=1, rpcStatus=0
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Failed to send rpc command 'toolinstall.installerActive 1'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: [Resource] SINGLE_FILE = 1
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: [Resource] PRODUCT_REG_NAME = <not defined>
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Sending rpc command 'info-set guestinfo.toolsInstallErrCode 0' to the host
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sending request='info-set guestinfo.toolsInstallErrCode 0'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sent request='info-set guestinfo.toolsInstallErrCode 0', reply='', len=0, status=1, rpcStatus=1
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Sending rpc command 'toolinstall.installerActive 0' to the host
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sending request='toolinstall.installerActive 0'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sent request='toolinstall.installerActive 0', reply='Unknown command', len=15, status=1, rpcStatus=0
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Failed to send rpc command 'toolinstall.installerActive 0'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Sending rpc command 'toolinstall.end 0' to the host
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sending request='toolinstall.end 0'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Rpci: Sent request='toolinstall.end 0', reply='Unknown command', len=15, status=1, rpcStatus=0
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Failed to send rpc command 'toolinstall.end 0'
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: DisplayMessageBox: "VMware Product Installation" - "Usage:
/? : Show this dialog.
/a : Perform an administrative install.
/a <full path to existing administrative install> : Patch an existing administrative install.
/s : Hide initialization dialog. For silent mode use /s /v/qn.
/v : Parameters to pass to installer
/c : Clean out installation registration information
/l : Perform a detailed logging.
/l <fullpath to log file> : Perform a detailed logging.
/x : Unpack the product installer into %TEMP% folder.


More command line options may be available. Consult the silent install section of the product manual for a complete list of settings and properties that may be set from the installer command line."
2020-12-02T17:24:35.958-08:00| BootStrapper-build-12406962| I0: Setup exit code is: 0
2020-12-02T17:24:35.974-08:00| inst-build-12406962| I2: Util_FileExists: Found "C:\Users\ADMINI~1\AppData\Local\Temp\vminst.log"
2020-12-02T17:24:35.974-08:00| inst-build-12406962| I2: Util_FileExists: Did not find file/directory: "C:\Users\ADMINI~1\AppData\Local\Temp\vmmsi.log"| posix code 2 (No such file or directory)

0 Kudos
0 Replies