• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX/CD/A/SE Version check

Messages
1,061
Country
ca-ontario
Again, with the installer ;)

Is it possible to programatically obtain the version of the FSX installed, and thus obtain the Service Pack level? My add-on runs only with SP2 level, and I need to warn the user to upgrade their FSX SP level before proceeding.

For example:

FSX CD (out of the box): v10.0.60905
FSX SP1: v10.0.61355.0
FSX SP2: v10.0.61472.0

Thanks!
 
Last edited:
Given that you know the detailed version numbers already, is it not just a matter of checking in the EXE file what the version number of the EXE is? That should be easy to do in code (I use that in my tools to see which P3D v4 is installed, since the registry doesn't tell you).
 
Thanks Arno!

The version numbers I have are from the Window's Control Panel/Programs And Features.

I guess I didn't ask the question correctly - I am using InstallShield, and the only programatic avenue I have is their own InstallScript language which is quite comprehensive, but I couldn't find anything that would let me extract file version from an exe. I was wondering if there are any shell commands that would extract version info from the file (I have shell command interface within InstallScript).

Then I searched a bit more into depth and found that there is indeed an Installscript call that is supposed to do just that (their help search engine is awful, only searches for specific function names, so I would have to know the function name beforehand to find out what it does)
 
Back
Top