NativeAccess.xml location

Discussion in 'Software' started by nmkeraj, Apr 3, 2022.

  1. nmkeraj

    nmkeraj Producer

    Joined:
    May 2, 2016
    Messages:
    621
    Likes Received:
    96
    Location:
    Milky Way
    Hi, Regarding the latest releases of NI on the sister site.
    What location does "%COMMONPROGRAMFILES%\Native Instruments\Service Center\" refer to:
    C:\Program Files (x86)\... or C:\Program Files\...?
    I use windows 10 and the link opens "C:\Program Files (x86)\Native Instruments\Service Center\". Is it a proper place for NativeAccess.xml and not "C:\Program Files\Native Instruments\Service Center\"?
     
  2.  
  3. BEAT16

    BEAT16 Audiosexual

    Joined:
    May 24, 2012
    Messages:
    9,081
    Likes Received:
    7,009
    When you use the MigDocs.xml, MigApp.xml, and MigUser.xml XML files, you can use environment variables to identify folders that may be different on different computers. CsIDL (Constant Special Item ID List) values provide a way to identify folders that are frequently used by applications but may not have the same name or location on a particular computer. For example, the Documents folder may be "C:\Users\<Username>\My Documents" on one computer and "C:\Documents" and "Settings" on another computer. You can use the asterisk (*) in MigUser.xml, MigApp.xml, and MigDoc.xml files. However, you cannot use the asterisk (*) wildcard characters in the Config.xml file.

    COMMONPROGRAMFILES(X86)
    Points to the C:\Program Files (x86)\Common Files folder on 64-bit systems.
     
  4. nmkeraj

    nmkeraj Producer

    Joined:
    May 2, 2016
    Messages:
    621
    Likes Received:
    96
    Location:
    Milky Way
    How about this then %COMMONPROGRAMFILES%\ ? It points to C:\Program Files (x86)
     
  5. BEAT16

    BEAT16 Audiosexual

    Joined:
    May 24, 2012
    Messages:
    9,081
    Likes Received:
    7,009
    On 64-bit operating systems, the ProgramW6432 environment variable points to c:\program files.
    The full list for a 32-bit app on an English version of Windows:

    • ProgramFiles => c:\program files (x86)
    • ProgramFiles(x86) => c:\program files (x86)
    • ProgramW6432 => c:\program files
    • CommonProgramFiles => c:\program files (x86)\common files
    • CommonProgramFiles(x86) => c:\program files (x86)\common files
    • CommonProgramW6432 => c:\program files\common files
    https://stackoverflow.com/questions/2539724/wow64-get-x64-commonprogramfiles-from-32-bit-process
     
Loading...
Loading...