antonio.tricoci
Member
Hi everyone, I managed to install Office silently in ntlite but I still have the Office extraction folder on my disk, is there a command that deletes it after the silent installation of Office?
cmd /c "pushd C:\Office && .\setup /configure configuration.xml && popd && rmdir C:\Office /s /q
In this way?cmd /c "pushd C:\Office && .\setup /configure configuration.xml && popd && rmdir C:\Office /s /q"
In fact the name of my xml file is configurazione and not configuration, I then corrected the string and now everything is ok, Office is installed correctly in silent mode and in the end the folder with the installation files is deleted, you were really precious Garlin , really thank you!!!!!Perfect.
@echo off
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if exist "%%i:\Office365_Deploy" (
set DRIVE=%%i
goto :INSTALL
)
)
:INSTALL
cd /d %DRIVE%:\Office365_Deploy && .\setup.exe /configure configuration-Office365-x64.xml