Office 365 package - loading bar?

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
Answer
vwiton
Messages: 8
Registration: May 31, 2023 - 2:17 p.m.

January 2, 2025 - 2:21 PM

Hello,

We currently have Office 2021 Standard deployed on our workstations and would like to begin migrating to Microsoft Office 365, for which we have purchased licenses.

Installation with the basic package (slightly modified for our use by uninstalling and reinstalling PowerPoint and Visio) works well. However, I have a question: since installing such a package is very time-consuming, is it possible to implement a progress bar during the installation? For example, by providing a status in the self-service interface when clicking "Install"? Looking at the SetupHelpers documentation, I noticed the function `show_progress(self, show_box=False, msg='Loading...', progress=None, progress_max=None)`.

I tried using it in my code within the `install()` function of my package, specifying progress values, but without success. Does anyone have an example of how to use this function? Or perhaps a method to provide users with progress updates during the installation? The idea is to offer a self-service migration process so that our users can initiate the update according to their availability.

Thank you in advance.

Valentin
vwiton
Messages: 8
Registration: May 31, 2023 - 2:17 p.m.

January 7, 2025 - 4:42 PM

Hello,

I'm reviving this thread. As another member mentioned before their message was deleted, I also tried modifying the configuration.xml file to display the GUI, but since the install() function of a WAPT package is called with the local administrator account on the machine, this method doesn't work.

Any help or suggestions would be greatly appreciated. :)

Thank you in advance for your assistance.

Valentin
Answer