# How to get the user's installation path

**URL:** <https://forum.techsoft3d.com/t/how-to-get-the-users-installation-path/837>\
**Category:** AutoCAD OEM\
**Created:** [June 23, 2022, 7:44am UTC](https://forum.techsoft3d.com/t/how-to-get-the-users-installation-path/837 "2022-06-23T07:44:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jm1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/jm1/32/317_2.png) [@jm1](https://forum.techsoft3d.com/u/jm1)\
**Post date:** [June 29, 2022, 8:24pm UTC](https://forum.techsoft3d.com/t/how-to-get-the-users-installation-path/837/2 "2022-06-29T20:24:34Z")

</div>

Hello Andrea,

that is fairly easy.

When the OEM installer has run its course, there is a registry key called **Location** where the install path of the OEM application is saved.

I will demonstrate this with our AutoSTAGE application with AutoCAD OEM 2023 German (disclaimer: I am the lead developer for AutoSTAGE).

Look for a key that looks like this:

```auto
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\AutoSTAGE\AutoSTAGE\R27\aust-6101:407

```

There you will find a string called **Location** where the full path to the install folder is stored.

When you use [WiX](https://wixtoolset.org/) (Windows Installer Xml), you can get the path as property with something like this:

```auto
			<Property Id="AUST2023_UPDATE">
				<RegistrySearch Id="AUST2023_UPDATE_REG"
								  Root="HKLM"
								  Key="Software\AutoSTAGE\AutoSTAGE\R27\AUST-6101:407"
								  Name="location"
								  Type="raw" />

```

Obviously, this only works after the OEM installer is done with its magic. You would have to call your installer after the OEM msi has been installed.

[This](https://forum.techsoft3d.com/t/how-to-inject-additional-installer-into-the-autocad-oem-2023-installer/834) will not work, because it injects the your installer **before** the main OEM msi installer is called.

There is surely a way to add the call to your installer **after** the main OEM msi is done, but I would have to think about it more deeply.

---

_[View the full topic](https://forum.techsoft3d.com/t/how-to-get-the-users-installation-path/837)._
