Page 1 of 1

tis-microsoft-teams

Published: May 16, 2022 - 3:21 PM
by walibix
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

Re: tis-microsoft-teams

Published: May 16, 2022 - 5:39 PM
by jpele
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

Re: tis-microsoft-teams

Published: May 17, 2022 - 07:45
by walibix
Hello,

no unfortunately, the diagnosis remains the same after rebooting.

Regards.

Re: tis-microsoft-teams

Published: May 17, 2022 - 1:27 PM
by dcardon
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

Re: tis-microsoft-teams

Published: May 18, 2022 - 11:03
by walibix
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

Re: tis-microsoft-teams

Published: May 18, 2022 - 2:23 PM
by jpele
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

Re: tis-microsoft-teams

Published: May 19, 2022 - 4:18 PM
by walibix
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.

Re: tis-microsoft-teams

Published: May 20, 2022 - 2:43 PM
by jpele
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