<?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>Thu, 26 Jan 2012 22:12:00 +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>
<!-- Start Sociable --><div class="sociable"><div class="sociable_tagline"><a class='sociable_tagline' target='_blank' href='http://blogplay.com' style='color:#333333;text-decoration:none'>Be Sociable, Share!</a></div><ul class='clearfix'><li><a title="Twitter" class="option1_32" style="background-position:-288px -32px" rel="nofollow" target="_blank" href="http://twitter.com/intent/tweet?text=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F%20(via%20@sociablesite)"></a></li><li><a title="Facebook" class="option1_32" style="background-position:-96px 0px" 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"></a></li><li><a title="email" class="option1_32" style="background-position:-160px 0px" rel="nofollow" target="_blank" href="https://mail.google.com/mail/?view=cm&fs=1&to&su=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&body=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&ui=2&tf=1&shva=1"></a></li><li><a class="option1_32" style="cursor:pointer;background-position:-128px 0px" rel="nofollow" title="Add to favorites - doesn't work in Chrome"  onClick="javascript:AddToFavorites();"></a></li><li><a title="StumbleUpon" class="option1_32" style="background-position:-224px -32px" 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&title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects"></a></li><li><a title="Delicious" class="option1_32" style="background-position:-32px 0px" 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"></a></li><li><a title="Google Reader" class="option1_32" style="background-position:-224px 0px" rel="nofollow" target="_blank" href="http://www.google.com/reader/link?url=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;srcURL=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;srcTitle=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials"></a></li><li><a title="LinkedIn" class="option1_32" style="background-position:-288px 0px" 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"></a></li><li><a title="BlinkList" class="option1_32" style="background-position:0px 0px" rel="nofollow" target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;Title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects"></a></li><li><a style="cursor:pointer" rel="nofollow" onMouseOut="fixOnMouseOut(document.getElementById('sociable-post-274'), event, 'post-274')" onMouseOver="more(this,'post-274')"><img style='margin-top:9px' src='http://www.installationdeveloper.com/wp-content/plugins/sociable/images/more.png'></a></li></ul><div onMouseout="fixOnMouseOut(this,event,'post-274')" id="sociable-post-274" style="display:none;">   

    <div style="top: auto; left: auto; display: block;" id="sociable">



		<div class="popup">

			<div class="content">

				<ul><li style="heigth:32px;width:32px"><a title="Myspace" class="option1_32" style="background-position:0px -32px" 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"></a></li><li style="heigth:32px;width:32px"><a title="Digg" class="option1_32" style="background-position:-64px 0px" 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"></a></li><li style="heigth:32px;width:32px"><a title="Reddit" class="option1_32" style="background-position:-128px -32px" 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"></a></li><li style="heigth:32px;width:32px"><a title="Google Bookmarks" class="option1_32" style="background-position:-192px 0px" 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"></a></li><li style="heigth:32px;width:32px"><a title="HackerNews" class="option1_32" style="background-position:-256px 0px" rel="nofollow" target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;t=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects"></a></li><li style="heigth:32px;width:32px"><a title="MSNReporter" class="option1_32" style="background-position:-352px 0px" rel="nofollow" target="_blank" href="http://reporter.es.msn.com/?fn=contribute&amp;Title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;URL=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=%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"></a></li><li style="heigth:32px;width:32px"><a title="Sphinn" class="option1_32" style="background-position:-192px -32px" rel="nofollow" target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F"></a></li><li style="heigth:32px;width:32px"><a title="Posterous" class="option1_32" style="background-position:-64px -32px" rel="nofollow" target="_blank" href="http://posterous.com/share?linkto=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;title=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;selection=%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"></a></li><li style="heigth:32px;width:32px"><a title="Tumblr" class="option1_32" style="background-position:-256px -32px" rel="nofollow" target="_blank" href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.installationdeveloper.com%2F274%2Fcreating-prerequisites-in-basic-msi-projects%2F&amp;t=Creating%20Prerequisites%20in%20Basic%20MSI%20Projects&amp;s=%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"></a></li></ul>			

			</div>        

		  <a style="cursor:pointer" onclick="hide_sociable('post-274',true)" class="close">



		  <img onclick="hide_sociable('post-274',true)" title="close" src="http://www.installationdeveloper.com/wp-content/plugins/sociable/images/closelabel.png">

		  </a>

		</div>

	</div> 

  </div></div><div class='sociable' style='float:none'><ul class='clearfix'><li id="Twitter_Counter"><a href="https://twitter.com/share" data-text="Creating Prerequisites in Basic MSI Projects - http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/ (via #sociablesite)" data-url="http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/" class="twitter-share-button" data-count="horizontal">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></li><li id="Facebook_Counter"><iframe src="//www.facebook.com/plugins/like.php?href=http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/&send=false&layout=button_count&show_faces=false&action=like&colorscheme=light&font" scrolling="no" frameborder="0" style="border:none; overflow:hidden;height:32px;width:100px" allowTransparency="true"></iframe></li><li id="Google_+"><g:plusone annotation="bubble" href="http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/" size="medium"></g:plusone></li><li id="LinkedIn_Counter"><script src="http://platform.linkedin.com/in.js" type="text/javascript"></script><script type="IN/Share" data-url="http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/" data-counter="right"></script></li><li id="StumbleUpon_Counter"><script src="http://www.stumbleupon.com/hostedbadge.php?s=2&r=http://www.installationdeveloper.com/274/creating-prerequisites-in-basic-msi-projects/"></script></li></ul></div><!-- End Sociable -->]]></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>

