Page 1 of 1
[RESOLVED] Mattermost-Desktop package issue
Published: September 17, 2024 - 3:30 PM
by Yannick
Hello,
Since the last update of the Mattermost-desktop package (version 5.9.0), installations are no longer working.
Worse, the WAPT Console indicates that the packages are installed and up to date.
As a result, the existing machines remain on version 5.8, and new workstations do not have the program.
Attached is a screenshot of the installation on a new PC.
Server version: 2.5.5
OS: Debian 10.13
Admin machine: Windows 10 Pro.
After investigation, it seems that the installer cannot find MSIEXEC on the client machine, while other packages requiring MSIEXEC install correctly.
Can you help me resolve this issue?
Sincerely,
Yannick
Re: Mattermost-Desktop package issue
Published: September 17, 2024 - 10:57 PM
by sfonteneau
Hi Yannick
, thanks for reporting the error.
Actually, I checked the history, and Mattermost has switched its installer to "Non- Allusers" by default.
I've just fixed the package. It will uninstall the old Mattermost if it's present in AppData, then reinstall it in Program Files.
Thanks for the report.
Re: Mattermost-Desktop package issue
Published: September 18, 2024 - 08:24
by Yannick
Good morning,
Thank you for your response.
The new package has been successfully downloaded from the repository.
Unfortunately, I'm getting an error on the PC.
Code: Select all
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4235, in install_wapt
exitstatus = setup.install()
File "C:\Windows\TEMP\wapte7rizsbz\setup.py", line 17, in install
File "C:\Program Files (x86)\wapt\common.py", line 3991, in run
return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))
File "C:\Program Files (x86)\wapt\waptutils.py", line 2177, in run
raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command ['MsiExec.exe', '/X{95C1D261-22CB-4CD2-A091-892601E8B17E}', '/q', '/norestart'] returned non-zero exit status 1605.
Output:C e t t e a c t i o n e s t v a l i d e u n i q u e m e n t p o u r l e s p r o d u i t s d Ú j Ó i n s t a l l Ú s .
Code: Select all
CalledProcessErrorOutput: Command ['MsiExec.exe', '/X{95C1D261-22CB-4CD2-A091-892601E8B17E}', '/q', '/norestart'] returned non-zero exit status 1605.
Output:C e t t e a c t i o n e s t v a l i d e u n i q u e m e n t p o u r l e s p r o d u i t s d Ú j Ó i n s t a l l Ú s .
The Mattermost-desktop 5.8 package was indeed on the PC before the update.
But since the new package uninstalls the old version, it is impossible to perform a new installation.
Re: Mattermost-Desktop package issue
Published: September 18, 2024 - 09:56
by sfonteneau
I've just fixed a potential problem (which I can't reproduce here)
I had created a loop: "For all software that is associated with and has the name 'mattermost', uninstall it." But if several programs had the name "mattermost," then we could try uninstalling a program that no longer existed because we had just uninstalled it. I'm not sure if that's the case where you are.
In your case:
We are trying to uninstall Mattermost using the command:
Code: Select all
MsiExec.exe /X{95C1D261-22CB-4CD2-A091-892601E8B17E} /q /norestart
But Windows says that my product is not installed (yet the key {95C1D261-22CB-4CD2-A091-892601E8B17E} is indeed present on the machine... otherwise we wouldn't be going through the loop)
Re: Mattermost-Desktop package issue
Published: September 18, 2024 - 10:36 AM
by Yannick
I ran some tests on my computer.
If we let WAPT do its thing, we always get the same error.
However, if I uninstall from Windows and then reinstall from WAPT, everything works fine
I just pushed the new package to a user machine that no longer has Mattermost since the package was pushed last night => Failure with the error:
Code: Select all
CalledProcessErrorOutput: Command ['MsiExec.exe', '/X{95C1D261-22CB-4CD2-A091-892601E8B17E}', '/q', '/norestart'] returned non-zero exit status 1605.
Output:C e t t e a c t i o n e s t v a l i d e u n i q u e m e n t p o u r l e s p r o d u i t s d Ú j Ó i n s t a l l Ú s .
Same error when doing a forced installation.
Re: Mattermost-Desktop package issue
Published: September 18, 2024 - 11:21
by sfonteneau
Yannick wrote: ↑Sep 18, 2024 - 10:36 AM
I ran some tests on my machine.
If we let WAPT run, we always get the same error.
However, if we uninstall from Windows and then launch the installation from WAPT, everything goes smoothly.
I just pushed the new package to a user's machine that no longer has Mattermost since the package was pushed last night. => Failure with the error:
CalledProcessErrorOutput: Command ['MsiExec.exe', '/X{95C1D261-22CB-4CD2-A091-892601E8B17E}', '/q', '/norestart'] returned non-zero exit status 1605.
Output: This action is valid only for the products.
Same error occurs when doing a forced installation.
However, if he comes across this message, it means that the key {95C1D261-22CB-4CD2-A091-892601E8B17E} does indeed exist on the computer.
[Resolved] Mattermost-Desktop package issue
Published: October 9, 2024 - 12:06 PM
by Yannick
Hello,
Following a cleaning of the machines, the problem is resolved.
Re: Mattermost-Desktop package issue
Published: October 11, 2024 - 09:04
by dcardon
Hi Yannick,
thanks for the feedback.

I'm marking the topic as resolved.
Denis