<?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; Creating Prerequisites in Basic MSI Projects</title>
	<atom:link href="http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/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>Creating Prerequisites in Basic MSI Projects</title>
		<link>http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/</link>
		<comments>http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 02:27:01 +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=274</guid>
		<description><![CDATA[If you have a third-party installation that needs to be run during the Basic MSI installation of your product, and it doesn&#39;t already exist as an InstallShield Object, Merge Module, or Prerequisite, you have a couple of choices.&#160; You can create an InstallScript custom action and call LaunchAppAndWait to run the third-party installation program.&#160; However, [...]]]></description>
			<content:encoded><![CDATA[<p>
If you have a third-party installation that needs to be run during the Basic MSI installation of your product, and it doesn&#39;t already exist as an InstallShield Object, Merge Module, or Prerequisite, you have a couple of choices.&nbsp; You can create an InstallScript custom action and call LaunchAppAndWait to run the third-party installation program.&nbsp; However, a better way is to define your own prerequisite and run the third-party installation from that.
</p>
<p>
To define a prerequisite, go to the Tools menu and select Prerequisite Editor.&nbsp; When the dialog displays, you will see that InstallShield has given your prerequisite a default name, usually MySetupPrerequisite.prq.&nbsp; You can go to the File menu and use Save As to save it under a more appealing name.&nbsp; The name you choose will be what is shown in the&nbsp;Redistributables view of&nbsp;your project.
</p>
<p>
After the prerequisite has been defined and named, you simply file out each tab.&nbsp; On the Properties tab, you will notice that InstallShield has assigned a GUID to your prerequisite.&nbsp; The Conditions tab is where you define the conditions for running the prerequisite.&nbsp; You can set it to run only on certain Windows versions.&nbsp; You can also only run it if a certain value is found in the registry.&nbsp; It doesn&#39;t matter how many conditions you define, the prerequisite won&#39;t run unless all conditions are met.
</p>
<p>
On the Files to Include tab, you click the Add button and browse to the third-party installation program you want to run.&nbsp; Now, this just adds the file to the prerequisite.&nbsp; On the Application to Run tab, you select application to run.&nbsp; The list will hold the items that you have added on the Files to Include tab.
</p>
<p>
The Behavior tab is a very important tab.&nbsp; You can specify whether you need administrative privileges to run the prerequisite.&nbsp; Most importantly, you can define what should happen when your prerequisite requires a reboot.&nbsp; Also, you can specify if the installation should continue to run after the reboot has taken place, in other words, when Windows boots back&nbsp;to the desktop.
</p>
<p>
There are several choices in the &quot;If the prerequisite appears to need a reboot&quot; list.&nbsp; You need to study these choices very carefully.&nbsp; At first they may look like they are poorly defined, but I have found that the InstallShield staff has done a good job of defining all the cases you need to cover with a prerequisite.
</p>
<p>
One more thing I&#39;ll mention is that if you have several prerequisites in your installation, you should right-click in the Redistributables view, and select Set Prerequisite Order.&nbsp; There you can set the order that the prerequisites should be run.&nbsp; This is something you will always need to do when your installation uses multiple prerequisites.
</p>
<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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;bodytext=%0D%0AIf%20you%20have%20a%20third-party%20installation%20that%20needs%20to%20be%20run%20during%20the%20Basic%20MSI%20installation%20of%20your%20product%2C%20and%20it%20doesn%26%2339%3Bt%20already%20exist%20as%20an%20InstallShield%20Object%2C%20Merge%20Module%2C%20or%20Prerequisite%2C%20you%20have%20a%20couple%20of%20choices.%26nbsp%3B%20You%20can%20c" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;notes=%0D%0AIf%20you%20have%20a%20third-party%20installation%20that%20needs%20to%20be%20run%20during%20the%20Basic%20MSI%20installation%20of%20your%20product%2C%20and%20it%20doesn%26%2339%3Bt%20already%20exist%20as%20an%20InstallShield%20Object%2C%20Merge%20Module%2C%20or%20Prerequisite%2C%20you%20have%20a%20couple%20of%20choices.%26nbsp%3B%20You%20can%20c" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;t=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;h=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;annotation=%0D%0AIf%20you%20have%20a%20third-party%20installation%20that%20needs%20to%20be%20run%20during%20the%20Basic%20MSI%20installation%20of%20your%20product%2C%20and%20it%20doesn%26%2339%3Bt%20already%20exist%20as%20an%20InstallShield%20Object%2C%20Merge%20Module%2C%20or%20Prerequisite%2C%20you%20have%20a%20couple%20of%20choices.%26nbsp%3B%20You%20can%20c" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;submitHeadline=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;submitSummary=%0D%0AIf%20you%20have%20a%20third-party%20installation%20that%20needs%20to%20be%20run%20during%20the%20Basic%20MSI%20installation%20of%20your%20product%2C%20and%20it%20doesn%26%2339%3Bt%20already%20exist%20as%20an%20InstallShield%20Object%2C%20Merge%20Module%2C%20or%20Prerequisite%2C%20you%20have%20a%20couple%20of%20choices.%26nbsp%3B%20You%20can%20c&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=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=%0D%0AIf%20you%20have%20a%20third-party%20installation%20that%20needs%20to%20be%20run%20during%20the%20Basic%20MSI%20installation%20of%20your%20product%2C%20and%20it%20doesn%26%2339%3Bt%20already%20exist%20as%20an%20InstallShield%20Object%2C%20Merge%20Module%2C%20or%20Prerequisite%2C%20you%20have%20a%20couple%20of%20choices.%26nbsp%3B%20You%20can%20c" 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%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;t=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects" 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/274/creating-prerequisites-in-basic-msi-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
