tis-microsoft-teams

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
walibix
Messages: 13
Registration: June 27, 2019 - 4:11 PM

May 16, 2022 - 3:21 PM

Good morning,

I'm sorry to bother you, this is becoming a bad habit
I am currently finalizing my various tests for importing an "existing" machine onto a WAPT 2.2 enterprise system
I put back my usual batch of packages
Everything behaves "normally" except for Teams

Code: Select all

Older Microsoft Teams version found (1.4.0.22976) 
Removing: Teams Machine-Wide Installer (1.4.0.22976)
Installing: Teams_windows_1.5.0.9163_x64.msi
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4035, in install_wapt
    exitstatus = setup.install()
  File "C:\WINDOWS\TEMP\wapthk53itws\setup.py", line 49, in install
  File "C:\Program Files (x86)\wapt\common.py", line 3990, in new_func
    return func(*args, **kwargs)
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1501, in install_msi_if_needed
    run(r'msiexec /norestart /q /i "%s" %s' % (msi, props), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2123, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "Teams_windows_1.5.0.9163_x64.msi" OPTIONS="noAutoStart=true" ALLUSER=1' returned non-zero exit status 1638.
Output:U n e   a u t r e   v e r s i o n   d e   c e   p r o d u i t   e s t   d Ú j Ó   i n s t a l l Ú e .   I m p o s s i b l e   d e   p o u r s u i v r e   l  i n s t a l l a t i o n   d e   c e t t e   v e r s i o n .   P o u r   c o n f i g u r e r   o u   s u p p r i m e r   l a   v e r s i o n   e x i s t a n t e   d e   c e   p r o d u i t ,   u t i l i s e z   l  a p p l i c a t i o n   A j o u t / S u p p r e s s i o n   d e   p r o g r a m m e s   d u   P a n n e a u   d e   c o n f i g u r a t i o n . 
 
 CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "Teams_windows_1.5.0.9163_x64.msi" OPTIONS="noAutoStart=true" ALLUSER=1' returned non-zero exit status 1638.
Output:U n e   a u t r e   v e r s i o n   d e   c e   p r o d u i t   e s t   d Ú j Ó   i n s t a l l Ú e .   I m p o s s i b l e   d e   p o u r s u i v r e   l  i n s t a l l a t i o n   d e   c e t t e   v e r s i o n .   P o u r   c o n f i g u r e r   o u   s u p p r i m e r   l a   v e r s i o n   e x i s t a n t e   d e   c e   p r o d u i t ,   u t i l i s e z   l  a p p l i c a t i o n   A j o u t / S u p p r e s s i o n   d e   p r o g r a m m e s   d u   P a n n e a u   d e   c o n f i g u r a t i o n . 
 
Any ideas?

Thanks in advance
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

May 16, 2022 - 5:39 PM

Hello,
I think you need to reboot the machine. There must be too many differences between these two versions, and Microsoft tends to delete leftover files from certain software upon reboot.
Rebooting and then trying the installation again should resolve the issue.

Regards,
Jimmy
walibix
Messages: 13
Registration: June 27, 2019 - 4:11 PM

May 17, 2022 - 07:45

Hello,

no unfortunately, the diagnosis remains the same after rebooting.

Regards.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 17, 2022 - 1:27 PM

Good morning,

The package is supposed to uninstall Teams before reinstalling it (see the line `Removing: Teams Machine-Wide Installer (1.4.0.22976)`). Do you still see Teams listed in your list of installed/uninstalled programs afterward? Do you see any remnants when you run the following command?

Code: Select all

wapt-get list-registry teams


If you try to uninstall it manually, what happens? Does the package install correctly afterwards?

By the way, it doesn't seem like you have the latest version of the Teams package; could you try with a more recent version?

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
walibix
Messages: 13
Registration: June 27, 2019 - 4:11 PM

May 18, 2022 - 11:03

Good morning,

Indeed, Teams Machine Wide was still present
I uninstalled it
wapt-get list-registry teams gives me an empty response

Restarting the installation: (with the new package)

Code: Select all

Installing: Teams_windows_1.5.0.11163_x64.msi
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4035, in install_wapt
    exitstatus = setup.install()
  File "C:\WINDOWS\TEMP\wapt0hf86vu0\setup.py", line 49, in install
  File "C:\Program Files (x86)\wapt\common.py", line 3990, in new_func
    return func(*args, **kwargs)
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1501, in install_msi_if_needed
    run(r'msiexec /norestart /q /i "%s" %s' % (msi, props), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2123, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "Teams_windows_1.5.0.11163_x64.msi" OPTIONS="noAutoStart=true" ALLUSER=1' returned non-zero exit status 1603.
Output:

CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "Teams_windows_1.5.0.11163_x64.msi" OPTIONS="noAutoStart=true" ALLUSER=1' returned non-zero exit status 1603.
Output:
Thank you again

Sincerely
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

May 18, 2022 - 2:23 PM

Hello,
which package are you trying to install?
What percentage of computers are affected by this package?
Was the PC restarted after uninstallation?

Regards,
Jimmy
walibix
Messages: 13
Registration: June 27, 2019 - 4:11 PM

May 19, 2022 - 4:18 PM

Hello,

tis-microsoft-teams v 1.5.0.11163-65 // Windows // 64-bit // PROD as of May 16, 2022.

Percentage of workstations affected, as these are test workstations: 100%? (1/1)
Numerous restarts.

Thank you again.

Best regards.
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

May 20, 2022 - 2:43 PM

Hello,
I don't have any other suggestions; you'll need to correct the installation manually.
Here's a working solution: https://support.microsoft.com/topic/fix ... f927e1eb4d

I don't think production PCs will be affected, but you should test it on small groups.
If necessary, I suggest you request personalized support so we can resolve your issue.

Sincerely,
Jimmy
Locked