1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FSX FSX Registry key

Discussion in 'Tools programming' started by mendiola_loyola, 22 Sep 2009.

  1. mendiola_loyola

    mendiola_loyola Resource contributor

    Joined:
    18 Oct 2006
    Messages:
    270
    Country:
    peru
    Dear All:

    I'm using this registry key to get the FSX installation path:

    HKEY_LOCAL_MACHINE
    Software\Microsoft\Microsoft Games\Flight Simulator\10.0
    SetupPath

    Does FSX create the same registry key with all language versions?

    Will FSX create the same registry key with english, spanish, germany or french versions?

    Thanks.
    Alfredo Mendiola Loyola
    Lima, PerĂº
  2. Simon853

    Simon853

    Joined:
    15 Jan 2007
    Messages:
    516
    Yes it does, but there's one thing to beware: I've seen some instances where FSX has stored the path with an / on the end and others where it hasn't. So before you concatenate a path using the string, always check and add it if necessary, in case a user's path string ends differently to your development PC's entry.

    Si
  3. adr179

    adr179 Resource contributor

    Joined:
    5 May 2006
    Messages:
    257
    Country:
    slovenia
    Try:

    HKEY_CURRENT_USER

    Software\Microsoft\Microsoft Games\Flight Simulator\10.0

    value=AppPath

Share This Page