<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Installation Developer &#187; Minimum Required Registry Keys in an InstallScript Project</title>
	<atom:link href="http://www.installationdeveloper.com/330/minimum-required-registry-keys-in-an-installscript-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.installationdeveloper.com</link>
	<description>InstallShield Training - InstallShield Tutorials</description>
	<lastBuildDate>Sat, 04 Sep 2010 14:49:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Minimum Required Registry Keys in an InstallScript Project</title>
		<link>http://www.installationdeveloper.com/330/minimum-required-registry-keys-in-an-installscript-project/</link>
		<comments>http://www.installationdeveloper.com/330/minimum-required-registry-keys-in-an-installscript-project/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 03:55:52 +0000</pubDate>
		<dc:creator>Rod_Maupin</dc:creator>
				<category><![CDATA[InstallShield Training]]></category>
		<category><![CDATA[installshield class]]></category>
		<category><![CDATA[installshield classes]]></category>
		<category><![CDATA[installshield course]]></category>
		<category><![CDATA[installshield courses]]></category>
		<category><![CDATA[installshield programmer]]></category>
		<category><![CDATA[Installshield Tutorial]]></category>
		<category><![CDATA[installshield tutorials]]></category>

		<guid isPermaLink="false">http://www.installationdeveloper.com/?p=330</guid>
		<description><![CDATA[If you are creating an InstallScript project, you should know about several special registry-related functions that are useful in creating the minimum required registry keys and values.&#160; This topic is also covered in the InstallShield help under the title &#34;Special Registry-Related Functions&#34;.&#160; It is worth noting what the minimum required registry keys are, as you [...]]]></description>
			<content:encoded><![CDATA[<p>
If you are creating an <strong>InstallScript</strong> project, you should know about several special registry-related functions that are useful in creating the <strong>minimum required registry keys</strong> and values.&nbsp; This topic is also covered in the InstallShield help under the title <strong>&quot;Special Registry-Related Functions&quot;.</strong>&nbsp; It is worth noting what the minimum required registry keys are, as you may need to refer to them in the future, or remove them from the registry in the case of a failed installation.
</p>
<p>
The functions are divided into three groups.&nbsp; One group deals with the <strong>Per Application Paths Key</strong>, another group deals with the <strong>Application Uninstallation Key</strong>, and the final group deals with the <strong>Application Information Key</strong>.&nbsp; As you look at each group&#39;s registry key, note that the root key will depend on what the <strong>ALLUSERS</strong> system variable is set to.&nbsp; If <strong>ALLUSERS</strong> is FALSE, or if you&#39;ve called ProgDefGroupType(PERSONAL),&nbsp; the root key will be <strong>HKEY_CURRENT_USER</strong>.&nbsp; Otherwise, the&nbsp;root key&nbsp;will be <strong>HKEY_LOCAL_MACHINE</strong>.
</p>
<p>
The <strong>Per Application Paths Key</strong> stores path information enabling Windows to find your application&#39;s executable files.&nbsp; Here is the Per Application Paths Key:
</p>
<blockquote>
<p>
	&lt;root key&gt;\Software\Microsoft\Windows\CurrentVersion\App Paths\&lt;per application paths key&gt;
	</p>
</blockquote>
<p>
The functions in the Per Application Paths Key group are as follows:
</p>
<blockquote>
<p>
	CreateInstallationInfo()<br />
	RegDBDeleteItem()<br />
	RegDBGetItem()<br />
	RegDBSetItem()
	</p>
</blockquote>
<p>
&nbsp;The <strong>Application Uninstallation Key</strong> stores information which enables uninstallation functionality.&nbsp; Here is the Application Uninstallation Key:
</p>
<blockquote>
<p>
	&lt;rootkey&gt;\Software\Microsoft\Windows\CurrentVersion\Uninstall\&lt;INSTANCE_GUID&gt;
	</p>
</blockquote>
<p>
The functions in the Application Information Key group are as follows:
</p>
<blockquote>
<p>
	MaintenanceStart()<br />
	RegDBDeleteItem()<br />
	RegDBGetItem()<br />
	RegDBSetItem()
	</p>
</blockquote>
<p>
&nbsp;The <strong>Application Information Key</strong> stores information about the application.&nbsp; Here is the Application Information Key:
</p>
<blockquote>
<p>
	&lt;root key&gt;\Software\&lt;company key&gt;\&lt;product key&gt;\&lt;version key&gt;
	</p>
</blockquote>
<p>
The functions in the Application Information Key group are as follows:
</p>
<blockquote>
<p>
	CreateInstallationInfo()<br />
	RegDBGetAppInfo()<br />
	RegDBSetAppInfo()
	</p>
</blockquote>
<p>
&nbsp;</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;title=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project&amp;bodytext=%0D%0AIf%20you%20are%20creating%20an%20InstallScript%20project%2C%20you%20should%20know%20about%20several%20special%20registry-related%20functions%20that%20are%20useful%20in%20creating%20the%20minimum%20required%20registry%20keys%20and%20values.%26nbsp%3B%20This%20topic%20is%20also%20covered%20in%20the%20InstallShield%20help%20und" title="Digg"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;title=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project&amp;notes=%0D%0AIf%20you%20are%20creating%20an%20InstallScript%20project%2C%20you%20should%20know%20about%20several%20special%20registry-related%20functions%20that%20are%20useful%20in%20creating%20the%20minimum%20required%20registry%20keys%20and%20values.%26nbsp%3B%20This%20topic%20is%20also%20covered%20in%20the%20InstallShield%20help%20und" title="del.icio.us"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;t=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project" title="Facebook"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;h=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project" title="NewsVine"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;title=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project" title="Reddit"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;title=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project" title="StumbleUpon"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;title=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project&amp;annotation=%0D%0AIf%20you%20are%20creating%20an%20InstallScript%20project%2C%20you%20should%20know%20about%20several%20special%20registry-related%20functions%20that%20are%20useful%20in%20creating%20the%20minimum%20required%20registry%20keys%20and%20values.%26nbsp%3B%20This%20topic%20is%20also%20covered%20in%20the%20InstallShield%20help%20und" title="Google Bookmarks"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;submitHeadline=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project&amp;submitSummary=%0D%0AIf%20you%20are%20creating%20an%20InstallScript%20project%2C%20you%20should%20know%20about%20several%20special%20registry-related%20functions%20that%20are%20useful%20in%20creating%20the%20minimum%20required%20registry%20keys%20and%20values.%26nbsp%3B%20This%20topic%20is%20also%20covered%20in%20the%20InstallShield%20help%20und&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F" title="Twitter"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F" title="Technorati"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;title=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project" title="Live"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;title=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=%0D%0AIf%20you%20are%20creating%20an%20InstallScript%20project%2C%20you%20should%20know%20about%20several%20special%20registry-related%20functions%20that%20are%20useful%20in%20creating%20the%20minimum%20required%20registry%20keys%20and%20values.%26nbsp%3B%20This%20topic%20is%20also%20covered%20in%20the%20InstallShield%20help%20und" title="LinkedIn"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.installationdeveloper.com%2F330%2Fminimum-required-registry-keys-in-an-installscript-project%2F&amp;t=Minimum%20Required%20Registry%20Keys%20in%20an%20InstallScript%20Project" title="MySpace"><img src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.installationdeveloper.com/330/minimum-required-registry-keys-in-an-installscript-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
