Page 1 of 3

Office 2016 Package

Published: May 3, 2017 - 11:21
by Killian
Hello,

I want to create an Office 2016 package for deployment, but I can't create it. I'm using `wapt-get make-template`.

File "c:\wapt\waptservice\waptservice.py", line 2100, in run
self.running_task.run()
File "c:\wapt\waptservice\waptservice.py", line 1360, in pwrapper
return func(*arg, **kwargs)
File "c:\wapt\waptservice\waptservice.py", line 1420, in run
self._run()
File "c:\wapt\waptservice\waptservice.py", line 1844, in _run
self.result.get('errors',[])))

Re: OFFICE 2016 Package

Published: May 3, 2017 - 12:16 PM
by agauvrit
Hello Killian,

A sample Office 2016 package is available online: https://wapt.lesfourmisduweb.org/detail ... 1_all.wapt

A procedure exists on this online wiki: http://reseaux85.fr/index.php?title=Dep ... oft_Office

Happy deploying,

Alexandre

Re: OFFICE 2016 Package

Published: May 3, 2017 - 2:00 PM
by Killian
Thanks for your quick reply.

That's exactly what I did, and I just tried again, but I'm still making the same mistakes...

Re: OFFICE 2016 Package

Published: May 3, 2017 - 2:16 PM
by agauvrit
Could you provide more details about your error?

You can upload code using the "code" button.

Re: OFFICE 2016 Package

Published: May 3, 2017 - 2:20 PM
by Killian
That's my mistake

Code: Select all

http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 50331648 / 685614140 (7%) (46066 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 78643200 / 685614140 (11%) (35101 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 110100480 / 685614140 (16%) (32841 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 143654912 / 685614140 (21%) (32235 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 168820736 / 685614140 (25%) (29910 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 201326592 / 685614140 (29%) (29839 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 224395264 / 685614140 (33%) (28433 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 258998272 / 685614140 (38%) (28830 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 288358400 / 685614140 (42%) (28600 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 315621376 / 685614140 (46%) (27975 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 347078656 / 685614140 (51%) (27984 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 376438784 / 685614140 (55%) (27883 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 413138944 / 685614140 (60%) (28164 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 443547648 / 685614140 (65%) (28088 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 467664896 / 685614140 (68%) (27433 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 502267904 / 685614140 (73%) (27659 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 535822336 / 685614140 (78%) (27818 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 564133888 / 685614140 (82%) (27027 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 606076928 / 685614140 (88%) (26918 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 632291328 / 685614140 (92%) (26557 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 655360000 / 685614140 (96%) (26240 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 583789836 / 685614140 (85%) (22011 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 685614140 / 685614140 (100%) (25785 KB/s)
Installing test-microsoftsetupbootstrapper
Installing pc1.test.com
Exception: Error during install of pc1.test.com (=51): errors in packages [[u'test-microsoftsetupbootstrapper', PackageEntry('test-microsoftsetupbootstrapper','16.0.4266.1001-0')]]
Traceback (most recent call last):
  File "c:\wapt\waptservice\waptservice.py", line 2100, in run
    self.running_task.run()
  File "c:\wapt\waptservice\waptservice.py", line 1360, in pwrapper
    return func(*arg, **kwargs)
  File "c:\wapt\waptservice\waptservice.py", line 1420, in run
    self._run()
  File "c:\wapt\waptservice\waptservice.py", line 1844, in _run
    self.result.get('errors',[])))
Exception: Error during install of pc1.test.com (=51): errors in packages [[u'test-microsoftsetupbootstrapper', PackageEntry('test-microsoftsetupbootstrapper','16.0.4266.1001-0')]]

Re: OFFICE 2016 Package

Published: May 3, 2017 - 2:26 PM
by Killian
Killian wrote:That's my mistake

Code: Select all

http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 50331648 / 685614140 (7%) (46066 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 78643200 / 685614140 (11%) (35101 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 110100480 / 685614140 (16%) (32841 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 143654912 / 685614140 (21%) (32235 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 168820736 / 685614140 (25%) (29910 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 201326592 / 685614140 (29%) (29839 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 224395264 / 685614140 (33%) (28433 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 258998272 / 685614140 (38%) (28830 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 288358400 / 685614140 (42%) (28600 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 315621376 / 685614140 (46%) (27975 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 347078656 / 685614140 (51%) (27984 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 376438784 / 685614140 (55%) (27883 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 413138944 / 685614140 (60%) (28164 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 443547648 / 685614140 (65%) (28088 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 467664896 / 685614140 (68%) (27433 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 502267904 / 685614140 (73%) (27659 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 535822336 / 685614140 (78%) (27818 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 564133888 / 685614140 (82%) (27027 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 606076928 / 685614140 (88%) (26918 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 632291328 / 685614140 (92%) (26557 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 655360000 / 685614140 (96%) (26240 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 583789836 / 685614140 (85%) (22011 KB/s)
http://srvtest.test.com/wapt/test-microsoftsetupbootstrapper_16.0.4266.1001-0_all.wapt : 685614140 / 685614140 (100%) (25785 KB/s)
Installing test-microsoftsetupbootstrapper
Installing pc1.test.com
Exception: Error during install of pc1.test.com (=51): errors in packages [[u'test-microsoftsetupbootstrapper', PackageEntry('test-microsoftsetupbootstrapper','16.0.4266.1001-0')]]
Traceback (most recent call last):
  File "c:\wapt\waptservice\waptservice.py", line 2100, in run
    self.running_task.run()
  File "c:\wapt\waptservice\waptservice.py", line 1360, in pwrapper
    return func(*arg, **kwargs)
  File "c:\wapt\waptservice\waptservice.py", line 1420, in run
    self._run()
  File "c:\wapt\waptservice\waptservice.py", line 1844, in _run
    self.result.get('errors',[])))
Exception: Error during install of pc1.test.com (=51): errors in packages [[u'test-microsoftsetupbootstrapper', PackageEntry('test-microsoftsetupbootstrapper','16.0.4266.1001-0')]]
Apparently, after this error, Office is still installed, but it puts my PC1 machine in "ERRORS" status
When I look at the nature of the error:

Code: Select all

installing Office 2016
TimeoutExpired: Command '"setup.exe" /adminfile "silent.msp"' timed out after 1200 seconds with output ''

Re: OFFICE 2016 Package

Published: May 3, 2017 - 3:02 PM
by agauvrit
This error means the installation took too long and WAPT stopped after the 1200-second maximum (which is already quite long).

Have you tried running the installation in debug mode with PyScripter?

https://www.wapt.fr/fr/doc/CreationPaqu ... et-waptdev

Re: OFFICE 2016 Package

Published: May 3, 2017 - 3:13 PM
by Killian
agauvrit wrote:This error means the installation took too long and WAPT stopped after the 1200-second maximum (which is already a lot).

Have you tried running the installation in debug mode with PyScripter?

https://www.wapt.fr/fr/doc/CreationPaqu ... et-waptdev

I'm getting this error:

Code: Select all

Message	File Name	Line	Position	
Traceback				
    <module>	C:\waptdev\test-msoffice-wapt\setup.py	2		
ImportError: No module named setuphelpers				

Re: OFFICE 2016 Package

Published: May 3, 2017 - 3:56 PM
by fludo67
Hello,

I had the same timeout problem with the Office package offered by Les Fourmis du Web.
The problem mainly occurs when Office 365 is pre-installed on the machine (or older Office modules, like the compatibility pack for Office 2007; it also crashes the 2016 installation).

To work around the problem, I added a routine to the setup.py file of my Office package to remove the Office 365 package or Office modules if they are present on the client machine. (This routine is called in the `def install` function just before running setup.exe /adminfile.)

Re: OFFICE 2016 Package

Published: May 3, 2017 - 3:57 PM
by Killian
fludo67 wrote:Hello,

I had the same timeout problem with the Office package offered by Les Fourmis du Web.
The problem mainly occurs when Office 365 is pre-installed on the machine (or older Office modules, like the compatibility pack for Office 2007; it also crashes the 2016 installation).

To work around the problem, I added a routine to the setup.py file of my Office package to remove the Office 365 package or Office modules if they are present on the client machine. (This routine is called in the def install function just before running setup.exe /adminfile.)

Thanks so much! Could you show me what your deletion routine looks like?