## Installing Your Own Carbide Plug-ins

Many people want to create installers that automatically locate and install custom plug-ins into their Carbide installation. You can now query the Registry to locate Carbide installations and use the information there to correctly install your plug-ins into the Carbide / plugins folder.

When the Carbide Installer runs, it creates a Registry key that contains the name and location of the installed product. The Registry key location is:

> Hkey Local Machine/Software/Nokia/Carbide.c++ v2.x

And it contains these two key values:

- Name — contains the name used to identify the program in the Start > Programs menu as specified during the Carbide installation
- Location — contains the complete path to the Carbide installation (C:\Program Files\Nokia\Carbide.c++ v2.0)

For each new release of Carbide, the Carbide folder should not exist, so the installer creates it. Each folder name is unique in that it includes the major version number as part of the folder name.

For users that have multiple Carbide installations of the same version, the folder name also includes an additional identifier. The "Name" value in the key will reflect the unique name given to the Start > Programs shortcut (ie Carbide.c++ v2.0_[1]) as part of the install location. For example, if you installed three copies of version 2.0, the keys might look like this:

> Hkey Local Machine/Software/Nokia/Carbide.c++ v2.0
> Hkey Local Machine/Software/Nokia/Carbide.c++ v2.0_[1]
> Hkey Local Machine/Software/Nokia/Carbide.c++ v2.0_[2]

Where the appended _[1], _[2] help to identify the different installs.