Office365 Package and Silent Install

What I would do is a test run (outside of Windows install). Open a CMD window as Administrator, and run the SFX. Setup should finish with no help (input) from you.
 
What I would do is a test run (outside of Windows install). Open a CMD window as Administrator, and run the SFX. Setup should finish with no help (input) from you.
its works .. no Problem ..

the other Problem is MS has disabled login for the O365 installation for a few months

EDIT .. i have found them

I could imagine that it is a service that is not running
 

Attachments

  • MpCmdRun.log
    1.8 KB
  • msedge_installer.log
    66.4 KB
  • WIN-5IN5985OFCO-20220807-1353.log
    136 KB
  • WIN-5IN5985OFCO-20220807-1354.log
    207.9 KB
  • WIN-5IN5985OFCO-20220807-1354a.log
    391.4 KB
  • WIN-5IN5985OFCO-20220807-1354b.log
    60.8 KB
  • WIN-5IN5985OFCO-20220807-1354c.log
    18.8 KB
  • WIN-5IN5985OFCO-20220807-1550.log
    19.7 KB
  • WIN-5IN5985OFCO-20220807-1625.log
    21.4 KB
Last edited:
Nice tuto, thanks.
I'm concerned with Office2019ProRetail.
I was at first trying to install the classic way, by adding the setup.exe in the post-setup panel, adding the "parameters" ( /configure myconfig2019.xml) in the dedicated box and copying the directory with the downloaded files directly in .\sources\$OEM$\$$\Setup\Files
Despite the fact that everything was correctly copied to C:\Windows\Setup\ during installation, when setup.exe was launched by the SetupComplete.cmd script => it immediately generated an Office error before installation could begin.

So I tried your method and it works (almost) really fine. Almost, because the installation freezes at some point, around 60-70%. This is weird because if I don't add the Office2019.exe to the post-setup and I launch it by hand once the Win10 is installed, then Office installs with no freeze. So the Office2019.exe is OK. The freeze only occurs when it is added to the post-setup.
Any ideas ?

Did you found a solution for this? I have the same problem. Used method #1 in this post and added the package to the post-setup. The installation starts but keeps hanging at arround 60/70%. Installing the package afterwards (manual) works fine.
 
Last edited:
Try point to the setup.xml defining your Configuration.xml point to the folder where Office files is downloaded.
Don't want MS Office spy on you - disable telemetri - but have to download every months updates manually - following script can be used:
cls
@Echo off
cls
echo:
echo ========= Fjerner indhentning af Office Telemetri data =========
echo:
echo:
echo 4 Office Telemetri Opgavestyringspunkter
schtasks /Change /TN "Microsoft\Office\Office Automatic Updates 2.0" /Disable >nul 2>&1
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack2016" /Disable >nul 2>&1
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn2016" /Disable >nul 2>&1
schtasks /Change /TN "Microsoft\Office\Office ClickToRun Service Monitor" /Disable >nul 2>&1
echo:
echo 29 Office Telemetri registringsdatabaseindstillinger
REG ADD HKCU\Software\Microsoft\Office\Common\ClientTelemetry /v DisableTelemetry /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common /v sendcustomerdata /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\Feedback /v enabled /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\Feedback /v includescreenshot /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Outlook\Options\Mail /v EnableLogging /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Word\Options /v EnableLogging /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common /v qmenable /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common /v updatereliabilitydata /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\General /v shownfirstrunoptin /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\General /v skydrivesigninoption /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\ptwatson /v ptwoptin /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\Firstrun /v disablemovie /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM /v Enablelogging /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM /v EnableUpload /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM /v EnableFileObfuscation /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v accesssolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v olksolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v onenotesolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v pptsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v projectsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v publishersolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v visiosolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v wdsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedapplications /v xlsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v agave /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v appaddins /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v comaddins /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v documentfiles /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKCU\Software\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v templatefiles /t REG_DWORD /d 1 /f >nul 2>&1
echo:
echo 23 Office Telemetri Group Policy muligheder
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\Common /v qmenable /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\Common /v updatereliabilitydata /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\Common\General /v shownfirstrunoptin /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\Common\General /v skydrivesigninoption /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\Common\ptwatson /v ptwoptin /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\Firstrun /v disablemovie /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM /v Enablelogging /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM /v EnableUpload /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM /v EnableFileObfuscation /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v accesssolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v olksolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v onenotesolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v pptsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v projectsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v publishersolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v visiosolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v wdsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedapplications /v xlsolution /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v agave /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v appaddins /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v comaddins /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v documentfiles /t REG_DWORD /d 1 /f >nul 2>&1
REG ADD HKLM\Software\Policies\Microsoft\Office\16.0\OSM\preventedsolutiontypes /v templatefiles /t REG_DWORD /d 1 /f >nul 2>&1
echo:
echo:
echo ================ Office er nu fri for Telemetri ================
echo:
echo:
echo ================ Dette vindue lukker automatisk ================
timeout /t 3 /nobreak >nul
exit
 
Did you found a solution for this? I have the same problem. Used method #1 in this post and added the package to the post-setup. The installation starts but keeps hanging at arround 60/70%. Installing the package afterwards (manual) works fine.
Hanging is probably coz you don't downloaded the files in avance. If setup.xml don't find Office files for setup locally you have to download them first before can install. So there you've your hang'ing' ;)
 
Hanging is probably coz you don't downloaded the files in avance. If setup.xml don't find Office files for setup locally you have to download them first before can install. So there you've your hang'ing' ;)
I downloaded office with ODT (setup.exe /download config.xml). If i run the package afterwards while disabeling my internet connection it works fine.
 
As said- what's the problem?
Problem is that the Office installer described as in the TS of this topic is not working. I added it to the post-setup. When installing windows 11 from the generated iso in NTlite the post-setup proces starts installing Office but at 60/70% it just hangs doing nothing (see screenshot on page 1 of this topic from user Hos). If i start the same package afterwards it installs just fine. I am using this image for our autpilot devices so i just want en clean install with office pre installed.
 
You've a point.
- it seems to me the POST-SETUP in NTL don't look for locally OFFICE folder, but force the download method before can install.
Maybe NUHI can change the handling for this?
 
Much easier and use OCT and don't forget to update ODT regularly.
My Configuration file is 7 KB - not one KB!
There are 2 files for the Configuration file to work.
One is download and the other is installation when downloaded (recommended if want to integrate in NTL).
Simply lines in a .bat or .cmd:
setup /download configuration.xml
and
setup /configure configuration.xml
 
Last edited:
Did anyone get it to install from the USB location, not downloading from the web? Mine is working when downloading from the web, but it takes around 3-4 hours. I am using the method in the first post.
 
What installer are you using? The whole point is to download an offline copy, and avoid web setup on the install PC.
The instructions for both methods work as written.
 
When you run the SFX, it extracts the Office installer but it's never cleaned up. Thus you're left with both an installed copy of Office and the installer folder. Normally this is several GB of disk space, which can be a hassle if your system drive is a tiny SSD.
 
When you run the SFX, it extracts the Office installer but it's never cleaned up. Thus you're left with both an installed copy of Office and the installer folder. Normally this is several GB of disk space, which can be a hassle if your system drive is a tiny SSD.
The version I use leave them in Temp folder
 
Back
Top