Page 1 of 1

Office 2010 Deployment

Published: May 12, 2016 - 5:44 PM
by benlukas62
Hello,

I'm new to WAPT, but I've managed to deploy some "small" programs like Audacity and Google Earth.
The problem is that I set up WAPT to deploy Office 2010 because I don't have access to Group Policy Objects (GPOs).

I initially had trouble creating the package with the `make-template` command; it couldn't find the source. I solved this by copying the entire Office_2010 folder into the generated folder (along with the Python file).

When I try to deploy this package, I either get a timeout error message or the status shows "OK," but nothing is deployed to the machine. I succeeded on one machine after several attempts... but it's not very efficient.

I'm trying to work around this by creating a script (AutoIt, VB.NET, or batch file) that launches the Office setup.exe file located on a network share, but nothing happens when I deploy it to a remote machine, even though it works fine on the WAPT server using the Install command line.

I'm stuck. Can anyone help?

Thanks. :)

Re: Office 2010 Deployment

Published: May 12, 2016 - 10:28 PM
by sfonteneau
Hello,

to set the timeout, you need to add `timeout=1200`.

By default, WAPT waits 5 minutes for a command to complete on its own; otherwise, WAPT kills the command to prevent the system from looping indefinitely.

Adding a timeout allows you to modify the default value.

Have you looked at the different topics on MS Office for WAPT on the forum:
viewtopic.php?f=9&t=468
viewtopic.php?f=9&t=26
viewtopic.php?f=9&t=360

Simon

Re: Office 2010 Deployment

Published: May 13, 2016 - 07:33
by benlukas62
Hello,

thank you for your reply. It's precisely by addressing these issues that I've been able to make some progress (including all Office folders in the package folder, the "Setup Error" message, /Verysilent...).

However, I've noticed that there's always a .msp file. What exactly is its purpose?

In the organization where I work, we're somewhat restricted by central administration (no access to GPOs), and they provided us with the Office 2010 suite, which is an update of Office 2007 and Outlook 2003. I don't have an activation key, which seems to be generated automatically. Of course, they haven't provided us with any deployment documentation...

Here's a screenshot of the Office folder I have, as well as the script folder:

Thank you in advance. :)

Re: Office 2010 Deployment

Published: May 13, 2016 - 4:20 PM
by sfonteneau
The MSP file is used to make the installation silent and also allows you to customize the installation.

If your setup.exe is already silent, you don't need to do anything.

Re: Office 2010 Deployment

Published: May 17, 2016 - 07:33
by benlukas62
Hello,

I was indeed able to resolve my Office 2010 deployment problems. I was also testing on a machine that was causing the issue; I tried it on other machines, and it worked without any problems.

Here is the content of my Python file, in case it's helpful to someone experiencing the same problem:

def install():
print('installing md-microsoftsetupbootstrapper')
cmd ='"setup.exe"'
run(cmd,timeout=10000,accept_returncodes=[1641,3010,0])

Thank you for your help :)