# CPackIFW: what is "@ApplicationsDir@"

**URL:** https://discourse.cmake.org/t/cpackifw-what-is-applicationsdir/647
**Category:** Code
**Created:** [February 17, 2020, 1:17pm UTC](https://discourse.cmake.org/t/cpackifw-what-is-applicationsdir/647 "2020-02-17T13:17:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jwuttke](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@jwuttke](https://discourse.cmake.org/u/jwuttke)
#### Post date: [February 17, 2020, 1:17pm UTC](https://discourse.cmake.org/t/cpackifw-what-is-applicationsdir/647/1 "2020-02-17T13:17:14Z")

</div>

The CPackIFW help page says about the variable `CPACK_IFW_TARGET_DIRECTORY`: "Default target directory for installation. By default used `@ApplicationsDir@/CPACK_PACKAGE_INSTALL_DIRECTORY`"

What kind of macro is this `@ApplicationsDir@`? Where is it defined, how does it expand by default, how can it be modified?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [February 17, 2020, 1:55pm UTC](https://discourse.cmake.org/t/cpackifw-what-is-applicationsdir/647/2 "2020-02-17T13:55:16Z")

</div>

It seems to be an IFW pre-defined variable according to [this report](https://bugreports.qt.io/browse/QTIFW-514). I see documentation for it on [this IFW doc page](https://doc.qt.io/qtinstallerframework/scripting.html).

---

<div class="post-metadata">

### Author: ![jwuttke](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@jwuttke](https://discourse.cmake.org/u/jwuttke)
#### Post date: [February 17, 2020, 2:08pm UTC](https://discourse.cmake.org/t/cpackifw-what-is-applicationsdir/647/3 "2020-02-17T14:08:52Z")

</div>

Thanks, Ben. Your answer is part of [https://gitlab.kitware.com/cmake/cmake/merge\_requests/4367](https://gitlab.kitware.com/cmake/cmake/merge_requests/4367).
