Hello,
We're all new to WAPT (we've been testing since this morning), and we're looking for a way to deploy MS Office 2010 (and later versions) with the settings we use (configuration options, KMS path, etc.) in these files:
setup.exe /adminfile toto.MSP /config toto.xml
as well as the update directory (SP1.exe).
Is there a command that allows us to specify these settings?
Thanks in advance.
WAPT and MS Office
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
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
- Frédéric Bonnier
- Messages: 24
- Registration: June 23, 2014 - 10:10
- Location: Nantes
- Contact :
Hello,
It is possible to deploy MS Office via WAPT (in fact, almost anything is possible with WAPT).
Is this the first WAPT package you've created? If so, I advise you to start with a simpler package before tackling MS Office.
To create a package, follow this link: http://dev.tranquil.it/scenari/guide_cr ... _wapt.html
The setuphelper documentation helps to understand the structure of the functions used in setup.py. http://wapt.tranquil.it/wapt/nightly/1.2.1-rc1/docs/
Frédéric Bonnier
It is possible to deploy MS Office via WAPT (in fact, almost anything is possible with WAPT).
Is this the first WAPT package you've created? If so, I advise you to start with a simpler package before tackling MS Office.
To create a package, follow this link: http://dev.tranquil.it/scenari/guide_cr ... _wapt.html
The setuphelper documentation helps to understand the structure of the functions used in setup.py. http://wapt.tranquil.it/wapt/nightly/1.2.1-rc1/docs/
Frédéric Bonnier
Frédéric Bonnier - Tranquil IT Systems.
Display yourself on the WAPT user map by completing the questionnaire.
Discover our service offerings at Tranquil IT Systems and join us on Twitter.
Display yourself on the WAPT user map by completing the questionnaire.
Discover our service offerings at Tranquil IT Systems and join us on Twitter.
@fbonnier: Thank you for your reply.
Indeed, before deploying MS Office, we tested with other, simpler programs (VLC, Notepad++, etc.): no problem since these don't require any special configuration files.
Our issue really lies with the MS Office configuration files. Is it possible to include them in the deployment? And if so, how?
Indeed, before deploying MS Office, we tested with other, simpler programs (VLC, Notepad++, etc.): no problem since these don't require any special configuration files.
Our issue really lies with the MS Office configuration files. Is it possible to include them in the deployment? And if so, how?
- Yvan Karmouta
- Messages: 34
- Registration: June 18, 2014 - 10:09
- Contact :
Hello,
you simply need to include these files directly in the Wapt package.
During installation, you can then manipulate them with the setup.py script, just as you already do with MSI or EXE files.
you simply need to include these files directly in the Wapt package.
During installation, you can then manipulate them with the setup.py script, just as you already do with MSI or EXE files.
Yvan Karmouta - Tranquil IT Systems
Feel free to leave us your opinion on Wapt in the forum, or to answer our questionnaires
.
Feel free to leave us your opinion on Wapt in the forum, or to answer our questionnaires
-
Jennifer Mercier
- Messages: 1
- Registration: May 4, 2015 - 7:02 p.m.
Hello,
were you able to create the package for MS Office? If so, would it be possible to share the package, please?
Thank you.
were you able to create the package for MS Office? If so, would it be possible to share the package, please?
Thank you.
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Good morning
Mine looks like this:
Please note that you must generate your silent.smp file using the following procedure before anything else.
You can use this procedure:
https://support.software.dell.com/kb/111193
Simon
Mine looks like this:
Code: Select all
uninstallstring = 'MsiExec.exe /qn /X{90150000-0011-0000-0000-0000000FF1CE}'
def install():
print('installing Office 2013')
cmd = '"setup.exe" /adminfile "silent.msp"'
run(cmd,timeout=1200,accept_returncodes=[1641,3010,0])
You can use this procedure:
https://support.software.dell.com/kb/111193
Simon
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Good morning
It seems to me that this is possible when creating the MSP
But I advise you, if you can, to use Microsoft's KMS activation
Below you will find another method, but I do not recommend it!
Indeed, this implies entering the key in plain text in the wapt package, which means that anyone can retrieve the key if the wapt package is downloaded by a user.
If this method still interests you, you can add this to the end of your setup.py file (for Office 2016)
It seems to me that this is possible when creating the MSP
But I advise you, if you can, to use Microsoft's KMS activation
Below you will find another method, but I do not recommend it!
Indeed, this implies entering the key in plain text in the wapt package, which means that anyone can retrieve the key if the wapt package is downloaded by a user.
If this method still interests you, you can add this to the end of your setup.py file (for Office 2016)
Code: Select all
acto = run('cscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /dstatus"')
if 'ERROR' in acto :
run('cscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /inpkey:AAAA-AAAA-AAAA-AAAA-AAAA')
run('cscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /act"')
else :
print('activation deja ok')
acto = run('cscript "%ProgramFiles%\Microsoft Office\Office16\OSPP.VBS" /dstatus"')
if 'ERROR' in acto :
print('echec activation')
error('Error Act')
Good morning,
I am requesting help as I am unfortunately unable to install MS Office 2007 with WAPT.
I created a silent.msp file with a license key as well as SETUP_REBOOT Never and AUTO_ACTIVATE.
I created my package containing the ISO in the package root, the MSP file, and an uninstall file in XML format:
Here is my setup.py file
WAPT returns an error:
Exception: Error during install of pc4001v.montupet.com (=2): errors in packages test-office2007
Installing test-office2007
Exception: Error during install of test-office2007 (=15-0): errors in packages test-office2007
Traceback (most recent call last):
File "C:\wapt\waptservice\waptservice.py", line 2031, in run
self.running_task.run()
File "C:\wapt\waptservice\waptservice.py", line 1291, in pwrapper
return func(*arg, **kwargs)
File "C:\wapt\waptservice\waptservice.py", line 1351, in run
self._run()
File "C:\wapt\waptservice\waptservice.py", line 1775, in _run
','.join([ p[1].package for p in self.result['errors']]),
Exception: Error during install of test-office2007 (=15-0): errors in packages test-office2007
I don't understand where this error comes from.
I followed these procedures:
https://wiki.lesfourmisduweb.org/index. ... aquet_wapt
viewtopic.php?f=9&t=360
I gladly accept your help.
I am requesting help as I am unfortunately unable to install MS Office 2007 with WAPT.
I created a silent.msp file with a license key as well as SETUP_REBOOT Never and AUTO_ACTIVATE.
I created my package containing the ISO in the package root, the MSP file, and an uninstall file in XML format:
Code: Select all
<Configuration Product="ProPLus">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallstring = 'MsiExec.exe /qn /X{90150000-0011-0000-0000-0000000FF1CE}' # j'ai mis cela mais pour l'instant je cherche seulement à installe
def install():
print('installing aiz-office2007')
cmd ='"setup.exe" /adminfile "install_sans_access.MSP"'
run(cmd,timeout=10000,accept_returncodes=[1641,3010,0])Exception: Error during install of pc4001v.montupet.com (=2): errors in packages test-office2007
Installing test-office2007
Exception: Error during install of test-office2007 (=15-0): errors in packages test-office2007
Traceback (most recent call last):
File "C:\wapt\waptservice\waptservice.py", line 2031, in run
self.running_task.run()
File "C:\wapt\waptservice\waptservice.py", line 1291, in pwrapper
return func(*arg, **kwargs)
File "C:\wapt\waptservice\waptservice.py", line 1351, in run
self._run()
File "C:\wapt\waptservice\waptservice.py", line 1775, in _run
','.join([ p[1].package for p in self.result['errors']]),
Exception: Error during install of test-office2007 (=15-0): errors in packages test-office2007
I don't understand where this error comes from.
I followed these procedures:
https://wiki.lesfourmisduweb.org/index. ... aquet_wapt
viewtopic.php?f=9&t=360
I gladly accept your help.
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Have you tried manually launching your installation without WAPT:
setup.exe /adminfile "install_sans_access.msp"
to see if your MSP is working correctly?
Simon
setup.exe /adminfile "install_sans_access.msp"
to see if your MSP is working correctly?
Simon
