Driving me nuts. Installing Office 2019

mgoedhart

New Member
Messages
11
Reaction score
1
I want to install Office 2019 at post-setup Before Logon. After Logon it does work but takes to long.
I use the latest NTlite version.

What I tried:
Make SFX. It starts but hangs at 50-70%
Copy the files in $oem$. It starts but hangs at 50-70%
By powershell evaluated. Also hanging

What I normaly do is in OOBE press F10. run Powershell script evaluated. This works perfect. Also I did this with a clean Windows 11 ISO I used for NTLite.
This works perfect. So what's the problem in post-setup? File Rights?

Who can help me?



Mark
 
I want to install Office 2019 at post-setup Before Logon. After Logon it does work but takes to long.
There's no difference in speed between installing Office using (Before logon) or (After logon). What you don't get is a visual confirmation of progress from (Before logon), because a Windows splash screen is hiding it. So your impression of elapsed time isn't correct.

What I tried:
Make SFX. It starts but hangs at 50-70%
Copy the files in $oem$. It starts but hangs at 50-70%
By powershell evaluated. Also hanging
If you read through the complete O365 thread that discusses SFX, the problem is always if you want the progress bar (not silent) then Office has the stupid requirement of having you to click OK to dismiss it at the end. Otherwise, the Office installer sits there and never exits.

When run from (Before logon), Windows by design doesn't allow user interaction with any commands or installers while running. Thus if you want to run O365 setup, you must change the Display Level to None. Because you can't click OK to dismiss.

What I normaly do is in OOBE press F10. run Powershell script evaluated. This works perfect. Also I did this with a clean Windows 11 ISO I used for NTLite.
This works perfect. So what's the problem in post-setup? File Rights?
What PS script are you using? I don't see one mentioned in the O365/SFX thread.
 
Thanks for your reply,

I must install a lot of laptops and don't want to login first to install office.
I tried several things. Silent install (works at after logon). Not Silent. With cmd files. Other xml files Powershell etc. I use Powershell a lot to do tasks. But stil hanging for a long long long time.
I used chatgpt. With this It worked with a clean iso file.
I'm going to try to embed it in NTLite.
 
There's no real advantage embedding it in a PS script, unless you're dynamically modifying the XML. In the end, you're just calling Setup as an external process so PS gives you no real improvement.

The one trick is you have to change your current directory to the staging folder before running setup.exe. The installer doesn't take into account where the folder is, when searching for files.
 
Back
Top