Overview
When installing M-Files or running the automatic updates the installation may fail with a "Not Specified. (22)" error and following details:ActivatorApp.cpp, xxx, Not Specified. (22) (0x80004005)
LogWriter.cpp, xx, Not Specified.(22) (0x80004005)
LogWriter.cpp, xxx, Not Specified. (22) (0x80004005)
LogWriter.cpp, xxx, Not Specified. (22) (0x80004005)
LogWriter.cpp, xxx, Not Specified. (22) (0x80004005)
Solution
During the installation process M-Files writes installation logs to the user's temporary directory. If the environment variable defining the path has an ending backslash, this could cause issues with the installation.As a workaround the TEMP environment variable can be checked, and the ending backslash removed. However please note that the TEMP variable can also be used by other applications.
My Computer > Right Click > Properties > Select the Advanced tab > Click the Environment Variables button
This issue has been fixed in M-Files August' 21 update and should not be any more seen with latest M-Files versions.
