Silent & personalized installation Office ProPlus2021 Retail

otakusan93

New Member
Messages
1
Reaction score
0
Hello everyone.

I'm not the 1st but I'm desperately trying to automate the installation of Office 2021 with the .XML file via the WPI interface (Windows Post Install Wizard).
I keep getting error codes, whether I'm an administrator or not.
when I run the installation manually, everything works fine.

2025-01-02_19h22_34.png

Capture d'écran 2025-01-02 192042.png
The path is structured like this:

“%wpipath%\Install\Bureautique\ProPlus2021Retail\Office\Setup64.exe” /configure Configuration2025.xml.

I tried like this :
“%wpipath%\Install\Bureautique\ProPlus2021Retail\Office\Setup64.exe /configure" Configuration2025.xml.

And like this :
“%wpipath%\Install\Bureautique\ProPlus2021Retail\Office\Setup64.exe /configure Configuration2025.xml"

if I run the install manually, everything works fine.

if I run it via a .bat file or a pre-configured command line, it refuses in all cases.

I also tried with the 1st setup.exe but I don't want to download the files as they are already available in WPI in their entirety to save time on installation.

Here is the error code log of WPI :

jeudi 2 janvier 2025 17:18:01 - cmd1 *** Echec *** (Code de retour 1): "C:\Windows\SysWOW64\cmd.exe" /C "C:\WPI\Install\Bureautique\ProPlus2021Retail\Office\install_office.bat"
jeudi 2 janvier 2025 17:18:03 - Installation terminée.

Do you have a solution ?

I've also tried Post Install with NTlite, but nothing happens (I ran the command on the user's 1st connection).
 
This is NTLite forum, we don't really support 3rd-party apps. But here's the sticking point that most Office users don't know: Office Setup is really stupid about folder paths.

You need to change directory ("cd path") into the install folder, before running ".\Setup /configure configuration.xml". Otherwise it doesn't find the required files. That's how it's designed to work.
Code:
cmd /c "cd %wpipath%\Install\Bureautique\ProPlus2021Retail\Office" && ".\Setup64.exe /configure Configuration2025.xml"
 
Back
Top