carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/tasks/carbide_adding_plugins.htm
author fturovic <frank.turovich@nokia.com>
Tue, 27 Jul 2010 15:28:19 -0500
changeset 1704 24ac5a5cf80c
parent 114 5c834844fe21
permissions -rw-r--r--
updated copyright dates and fixed some css issues

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<title>Installing Your Own Carbide Plug-ins</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>

<body>
<h2>Installing Your Own Carbide Plug-ins</h2>

<p>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 / <span class="code">plugins</span> folder. </p>
<p>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: </p>
<blockquote>
  <p class="code">	Hkey Local Machine/Software/Nokia/Carbide.c++ v2.x</p>
</blockquote>
<p>And it  contains these two key values: </p>
<ul>
  <li><b>Name</b> &#8212;  contains the name used to identify the program in the <b>Start &gt; Programs</b> menu as specified during the Carbide installation </li>
  <li><b>Location</b> &#8212; contains the complete path to the Carbide installation (<span class="code">C:\Program Files\Nokia\Carbide.c++ v2.0</span>) </li>
</ul>
<p>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. </p>
<p>For users that have multiple Carbide installations of the same version, the folder name also includes an additional identifier. The &quot;Name&quot; value in the key will reflect the unique name given to the <b>Start &gt; Programs</b> 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:</p>
<blockquote>
  <p class="code">Hkey Local Machine/Software/Nokia/Carbide.c++ v2.0<br>
  Hkey Local Machine/Software/Nokia/Carbide.c++ v2.0_[1]<br>
  Hkey Local Machine/Software/Nokia/Carbide.c++ v2.0_[2]</p>
</blockquote>
<p>Where the appended <span class="code">_[1]</span>, <span class="code">_[2]</span> help to identify the different installs. </p>
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>
  License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>