Overview
Sometimes you need to know what M-Files version you have installed (for example, if there seems to somehow be more than one), and how it was installed - which version, package name, language and so on.
Solution
- Start an elevated Command Prompt (Run as Administrator).
- Execute this command (it may take a few minutes to complete):
wmic product where "name like '%%M-Files%%'" > c:\mfversions.txt
Review the output file (c:\mfversions.txt) - the column headers provide the relevant information, such as version, path to the .msi package, sometimes even the cached package may still be available so you can run it again to repair/uninstall the old version if needed.
The most relevant columns are:
- Caption and Description - to ensure which flavor you have (for example, it should usually read "M-Files Online").
- InstallDate - date in format yyyymmdd when the installation took place.
- InstallLocation - where the product was installed.
- InstallSource - where the .msi file that was used for the installation was located.
- LocalPackage and PackageCache - a local cached copy of the installation package that, if still available, you can run to repair/remove the installation.
- PackageName - the file name of the package that was used. You can find the version, language and flavor from this. You can also use this if you need to download that package again - to make sure you have the correct one.
- Version - the version of the product.
Tips
In your text editor, remove line wrapping and use a monospace font such as Courier New to review the file for better readability - this makes all letters take the same space as whitespace, so the content aligns with the column headers.
Tweak the c:\mfversions.txt path as necessary for your system - if you use different drive letters or want to save it to a different location.
If you are having issues with installation or uninstallation of the product, send this file to support, and for uninstallation, see this article: How to uninstall M-Files through command prompt.
