MS OFFICE error

Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided 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 (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
Gaschet
Messages: 7
Registration: February 20, 2018 - 09:14
Location: Nantes

February 21, 2018 - 09:37

Hello, I'm new to the forum and currently work for a research lab.
I have a virtual server running Windows Server 2012 R2 without IIS. I installed and configured WAPT and successfully imported and installed packages from the TranquilITsystems repository on my machines.
However, I've been stuck for a few days creating my Office package. I followed the tutorial, but the console displays: "
Office Standard 2013 Installation
Timeout Expired: Command ""setup exe" /adminfile "conf Msp"' timed out after 1200 seconds with output ''."
I've attached my folder and the script.

Thank you.
Folder: https://imgur.com/mj6MfaZ
Attachments
silebt.PNG
silebt.PNG (46.32 KB) Viewed 22471 times
script.PNG
script.PNG (228.37 KB) Viewed 22471 times
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

February 21, 2018 - 9:40 AM

Hello,

It's in the documentation: https://www.wapt.fr/fr/doc-1.5/Frequent ... tput-600-0

Regards,

Alexandre
Gaschet
Messages: 7
Registration: February 20, 2018 - 09:14
Location: Nantes

February 21, 2018 - 09:42

Hello, thank you for your quick reply, but I've already set it to 1200 seconds, as indicated by my error code:

Timeout Expired: Command ""setup exe" /adminfile "conf Msp"' timed out after 1200 seconds with output ''
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

February 21, 2018 - 09:48

Oops, not awake yet. :D

In this case, it's most likely that something went wrong during the installation and caused it to pause.

Are you able to manually launch the installation and observe what happens?

Are you uninstalling the old versions from your transformation file?
Gaschet
Messages: 7
Registration: February 20, 2018 - 09:14
Location: Nantes

February 21, 2018 - 09:51

No worries, yes, when I run `wapt-get install "my package name"` it works. Actually, when I run the package on one of my machines via the WAPT console, the client retrieves the package from its cache but doesn't install anything.
It gets stuck at the installation stage...
No, it seems to me that the script checks if I already have Office, and if it's already installed, it doesn't go any further and tells me that Office is installed.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

February 21, 2018 - 10:06 AM

Ah, there's been a misunderstanding. I understand "manual installation" to mean executing the command line launched by setup.py, which is:

Code: Select all

setup.exe /adminfile etab.msp
The command-line installation method wapt-get install mypackage works when you are a local administrator of the machine; installation from the console goes through the WAPTService service in a system account, therefore with more rights than the Administrator account.

Logically, the installation from the console should work correctly.

Is the service running on the workstation?
To restart it:

Code: Select all

net stop waptservice
net start waptservice 
Gaschet
Messages: 7
Registration: February 20, 2018 - 09:14
Location: Nantes

February 21, 2018 - 10:12

Hello,
yes, the service is running correctly, and when I manually run the command "setup.exe /adminfile conf.msp", it works.
I get an error message on my machine, but that's because I already have Office installed.
Attachments
setup.PNG
setup.PNG (79.46 KB) Viewed 22458 times
Gaschet
Messages: 7
Registration: February 20, 2018 - 09:14
Location: Nantes

February 22, 2018 - 09:29

New
observation:
• On my server, when I run my script via Python, everything works, and if it's not already installed, the installation window opens correctly (install now or customize).
• On my client, when I launch the package, my client retrieves the wapt package from its cache but doesn't proceed any further, resulting in a "Timeout 1200 seconds" error.
I hope this helps guide you towards a solution.

Thank you.
Gaschet
Messages: 7
Registration: February 20, 2018 - 09:14
Location: Nantes

February 22, 2018 - 11:15

Up!
I found my problem. After checking my script several times and finding no issues, I focused on the silent.xml file. I took the configured options and looked at what they did. I saw that the options prevented a window from being displayed.
However, when I test with Python or when I install using WaptGet, I always get a window. I therefore conclude that it's not using my silent.xml file and is instead using the XML file located in "ProductName.WW"/config.xml.
So I modified that file, copied it to the root directory, uploaded it, ran my package, and the installation went smoothly.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 22, 2018 - 7:13 PM

https://wapt.lesfourmisduweb.org/detail ... 1_all.wapt

Code: Select all

   
    if not installed_softwares('Microsoft Office Professionnel Plus 2016'):
            cmd = '"setup.exe" /adminfile "silent.msp"'
    else:
            cmd = 'msiexec.exe /p silent.msp'
Basically, if the product is already installed, you need to use msiexec.exe /p silent.msp and not adminfile
Locked