[RESOLVED] Office 2013 package with license management

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
Louis
Messages: 4
Registration: May 20, 2021 - 2:03 p.m.

May 20, 2021 - 2:27 PM

Hello!

I'd like to know if anyone in the community has already developed an Office 2013 with license management and could share it with me, or help me develop my own, as I'm not sure how to do it.

The few tutorials I've found here are a bit outdated or incomplete.

Thank you in advance for your help.

Sincerely.
florentR2
Messages: 100
Registration: February 13, 2020 - 5:23 PM

May 20, 2021 - 5:18 PM

Good morning,
If you are using a KMS volume license, you need to generate an XML file and pass it as a parameter with /config during installation.

For example, our XML looks like this:

Code: Select all

<Configuration Product="ProPlus">
<Display Level="basic" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" NoCancel="no" /> 
<Setting Id="KMSSERVICENAME" Value="ServeurKMS.xxx" />
<Setting Id="AUTO_ACTIVATE" Value="1" />
</Configuration>
And the setup.py

Code: Select all

install_exe_if_needed("setup.exe",'/adminfile officeproplus2013_32bits.msp /config config.xml',key='Office15.PROPLUS',min_version='15.0.4420.1017', timeout=1800)
Louis
Messages: 4
Registration: May 20, 2021 - 2:03 p.m.

May 26, 2021 - 3:52 PM

Hello,
I would like to have more information about setup.py.

What is the purpose of "/adminfile officeproplus2013_32bits.msp" and "key='Office15.PROPLUS'"?

Sincerely,
Louis.
florentR2
Messages: 100
Registration: February 13, 2020 - 5:23 PM

May 27, 2021 - 09:51

For the

Code: Select all

/adminfile officeproplus2013_32bits.msp
This is the standard Office deployment method. You should consult the Microsoft documentation.

For the

Code: Select all

key='Office15.PROPLUS
WAPT uses it to check if the software is properly installed; it also prevents Office from reinstalling if it's already installed. You can obtain it with

Code: Select all

wapt-get list-registry office
Locked