Silent installation and removal of the XDK is available to advanced users. This topic describes these two options:
To see the full range of command-line options for XboxOneXDK.exe, enter XboxOneXDK.exe /? at the command line.
Note Xbox One XDK setup does not support installing to a non-default location. The
/installpathcommand-line switch, which is listed in the help output forXboxOneXDK.exe /?, doesn’t work correctly and should not be used.
To silently install the XDK, run the XboxOneXDK.exe from a command prompt or script.
| Exit code (hex) | Exit code (decimal) | Description |
|---|---|---|
| 0x0 | 0 | Success, with no reboot required. |
| 0xBC2 | 3010 | Success, with a reboot required. |
| 0x7D5 | 2005 | An instance of setup is already running. |
| 0x7D7 or 0x7DA | 2007 or 2010 | A pending reboot needs to be completed before setup can run. |
| 0x3E8 | 1000 | Invalid command line parameter. |
| 0x3E9 | 1001 | Invalid value provided to a command line parameter. |
| 0x80070642 | 1602 | Setup was cancelled during installation of one of the components. |
| 0x80070643 | 1603 | Setup failed during installation of one of the components. |
call taskkill /F /IM Microsoft.Durango.TransportProxy.exe
call taskkill /F /IM xbrdevicesrv.exe
call taskkill /F /IM devenv.exe
call taskkill /F /IM msbuild.exe
call taskkill /F /IM xbtplinksvc.exe
net stop msiserver
for /F "delims=" %%G in ('dir /b /s "%programdata%\package cache\XboxOneXdk*.exe"') DO (
call "%%G" /uninstall /norestart /q
set _EXITCODE=!errorlevel!
if not "!_EXITCODE!" == "0" (
if not "!_EXITCODE!" == "3010" (
echo Process returned exit code !_EXITCODE!. See logs in %temp%\xboxonesdk for more details.
goto :END
)
)
echo Uninstall completed successfully with exit code !_EXITCODE!
)