# How to Programmatically Get InDesign Installation Directory?

**URL:** <https://forums.creativeclouddeveloper.com/t/how-to-programmatically-get-indesign-installation-directory/11205>\
**Category:** InDesign\
**Tags:** uxp\
**Created:** [July 23, 2025, 9:34am UTC](https://forums.creativeclouddeveloper.com/t/how-to-programmatically-get-indesign-installation-directory/11205 "2025-07-23T09:34:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexG](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@AlexG](https://forums.creativeclouddeveloper.com/u/AlexG)\
**Post date:** [July 23, 2025, 9:34am UTC](https://forums.creativeclouddeveloper.com/t/how-to-programmatically-get-indesign-installation-directory/11205/1 "2025-07-23T09:34:09Z")

</div>

Hey all,  
I’m working on a plugin and I’m wondering if there’s a reliable way to get the path to the InDesign installation directory (the folder where the app is actually installed).

I’m currently able to get the user’s home directory using the **os module** , which is great for accessing things like user shortcut sets and other data stored in roaming folders.  
[https://developer.adobe.com/indesign/uxp/reference/uxp-api/reference-js/Modules/os/OS/](https://developer.adobe.com/indesign/uxp/reference/uxp-api/reference-js/Modules/os/OS/)

This lets me build directory paths relative to the home directory, for example:

```auto
  {
    name: "shortcuts",
    paths: {
      win32:
        "\\AppData\\Roaming\\Adobe\\InDesign\\Version {version}\\{locale}\\InDesign Shortcut Sets\\",
      darwin:
        "/Library/Application Support/Adobe/InDesign/Version {version}/{locale}/InDesign Shortcut Sets/",
    },

```

The issue I’m running into is that I want to access the **default shortcut sets** , which are stored in the application’s installation directory, like so:

```auto
  {
    name: 'default_shortcuts',
    paths: {
      win32: "\\Program Files\\Adobe\\Adobe InDesign {year}\\Presets\\InDesign Shortcut Sets\\{locale}\\",
      darwin: "/Applications/Adobe InDesign {year}/Presets/InDesign Shortcut Sets/{locale}/",
    }
  },

```

Right now, it seems like I have to guess where the user has installed InDesign, which isn’t ideal.  
Is there a reliable way (via scripting, UXP, or any other method) to programmatically get the InDesign installation directory, so I can build a path to the default shortcuts folder regardless of where the app is installed?

Any insights or suggestions would be much appreciated!

Thanks!

---

<div class="post-metadata">

**Author:** ![Omachi](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/omachi/32/3188_2.png) [@Omachi](https://forums.creativeclouddeveloper.com/u/Omachi)\
**Post date:** [July 23, 2025, 3:18pm UTC](https://forums.creativeclouddeveloper.com/t/how-to-programmatically-get-indesign-installation-directory/11205/2 "2025-07-23T15:18:58Z")

</div>

This is so simple that I may be missing something.

All you need to do is get the Application.fullName property or Application.filePath property from a script.

Or do you want to get them without launching InDesign?  
If so, I don’t know.

---

<div class="post-metadata">

**Author:** ![AlexG](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@AlexG](https://forums.creativeclouddeveloper.com/u/AlexG)\
**Post date:** [July 24, 2025, 6:56am UTC](https://forums.creativeclouddeveloper.com/t/how-to-programmatically-get-indesign-installation-directory/11205/3 "2025-07-24T06:56:48Z")

</div>

Ah yes you are right for some reason i couldnt see this property. Looking for it in the wrong place, thanks.
