Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

determine version of flight sim

Featured Replies

Not exactly a SimConnect problem, but is there a way to know inthe installer of an Flight Sim add-on whether the FS version on the user's machine machine is FS9, FSX RTM or FSX SP1? Are there registry keys that tell me this machine currently has the FSX SP1 installed?Is there an officially sanctioned way to determine the version?

This is entirely off the top of my head but you could use the win32 api to locate the file version of the exe which is buried into the standard exe header. The catch is to find the install folder. The registry should hold the setup path for FS9 or FSX. For versions older than FS9, I'm not sure. Sure, the blunt HDD search would help, and you may even fake the search by looking only in the default install paths, but that also has holes in it.Simconnect (FSX only) does give you the information provided it can connect to the server (ie, FS running) during the open event.Etienne

The open event is kind of late to get information for the installation process of the add-on ;-)I have to decide which executable to install in the first place. One version binds against the simconnect RTM version, the other binds against simconnect SP1.Christian

  • 1 month later...
  • Commercial Member

Christian-check your installer to see if it has Version check functions in there - the fsx.exe installed can tell you which version it is, using Win32 functions such as GetFileVersionInfo().If your installer does not allow external Win32 calls, you can make a DLL the way your installer likes, which, linked against Version.dll will be able to call GetFileVersionInfo() and check FSX.EXE for what you need.

Lefteris Kalamaras - Founder

www.flightsimlabs.com

 

sig_fsldeveloper.jpg

  • Commercial Member

>I have to decide which executable to install in the first>place. One version binds against the simconnect RTM version,>the other binds against simconnect SP1.Check the other thread here which contains the solution to this -- a solution, in fact, which would not only allow your installer to work this out (as the FSUIPC4 installer does), but which would allow you to have just the one executable in the first place.The thread is http://forums.avsim.net/dcboard.php?az=sho...sg_id=969&page=RegardsPete

Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.