Office 2010 Deployment

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
benlukas62
Messages: 5
Registration: May 12, 2016 - 5:36 p.m.

May 12, 2016 - 5:44 PM

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. :)
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 12, 2016 - 10:28 PM

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
benlukas62
Messages: 5
Registration: May 12, 2016 - 5:36 p.m.

May 13, 2016 - 07:33

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. :)
Attachments
Untitled 5.png
Untitled 5.png (8.62 KB) Viewed 4535 times
Untitled 2.png
Untitled 2.png (31.98 KB) Viewed 4535 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 13, 2016 - 4:20 PM

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.
benlukas62
Messages: 5
Registration: May 12, 2016 - 5:36 p.m.

May 17, 2016 - 07:33

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 :)
Locked