Mattermost-desktop update folder

Thanks for adding online updates to mattermost-desktop.

Problem: updates are installed to default folder on the system partition:

I would like the new version to be installed over the old one to directory where it was originally located (for example, d:\Soft\Mattermost). Can this be configured somehow?

Ver 5.1.0-rc4, Windows 11.

Hi @Verevkin, would you be open to reporting this issue either at Issues · mattermost/desktop · GitHub or at Mattermost?

I am not registered on github.
Isn’t this forum enough?


Hi @Verevkin,

Thanks for your question. Currently we do not support changing the install directory for the Windows installer when automatically updating, so it will by default always install to the same directory (which is C:\Users\<username>\AppData\Local\Programs\mattermost-desktop)

Sorry for the inconvenience. This is something we might be able to support in a future release.


But WHY?! Process starting path is always known. :roll_eyes:

I was forced to write a stupid script:

:: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
:: Elimination of damage after updating mattermost-desktop
:: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

cd /d %~dp0
set LOCAL_NAME=mattermost-desktop
set SOFT_PATH=d:\Soft\Mattermost

:: moving the files and deleting the folder
robocopy %LOCAL_NAME% %SOFT_PATH% /copyall /mir /move 
if errorlevel 2 goto error

:: creating a symlink
mklink /d %LOCAL_NAME% %SOFT_PATH%
if errorlevel 1 goto error


@echo ErrorLevel: %errorlevel%

Current build: 5.1.0-rc.7