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.


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).
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.


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).