I found two issues with the MSI installer that I've been able to remedy:
At times, the MSI install when trying to remove the NSIS installation would just delete Mattermost.exe and appear to install successfully, but not actually. This was caused by the NSIS uninstallation running asynchronously with the MSI installer, so I've moved that to run synchronously instead.
If the application is running the MSI installer is supposed to prompt you to close it, which it does, but it's doing so using the WM_CLOSE message which only (sometimes) closes the window and will not close the whole app. This can cause the installer to fail since the existing executable is still running, so I've added a custom prompt that tells the user to close the app manually (like the EXE installer used to do) before making any changes.
A couple known issues I've listed below, none of which require fixes at this time.
Known Issues:
- Sometimes the app will not restart after auto-update. This is normal, and if this occurs the app can be safely launched manually.
- Sometimes during installation you may see this message: `Warning 1946. Property 'System.AppUserModel.ID' for shortcut 'Mattermost.Ink' could not be set.`. This can be safely ignored.
Summary
I found two issues with the MSI installer that I've been able to remedy:
Mattermost.exe
and appear to install successfully, but not actually. This was caused by the NSIS uninstallation running asynchronously with the MSI installer, so I've moved that to run synchronously instead.WM_CLOSE
message which only (sometimes) closes the window and will not close the whole app. This can cause the installer to fail since the existing executable is still running, so I've added a custom prompt that tells the user to close the app manually (like the EXE installer used to do) before making any changes.A couple known issues I've listed below, none of which require fixes at this time.