<?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; For Clarity, Check the Default Event Handlers</title>
	<atom:link href="http://www.installationdeveloper.com/785/for-clarity-check-the-default-event-handlers/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>For Clarity, Check the Default Event Handlers</title>
		<link>http://www.installationdeveloper.com/785/for-clarity-check-the-default-event-handlers/</link>
		<comments>http://www.installationdeveloper.com/785/for-clarity-check-the-default-event-handlers/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:03:03 +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=785</guid>
		<description><![CDATA[If you are working in an InstallScript or InstallScript MSI project, then you should remember to study what the default event handlers are doing. Let&#8217;s say you have created a new project, and have done some work in a couple of the event handlers. All the other event handlers are not present in your script [...]]]></description>
			<content:encoded><![CDATA[<p>If you are working in an <strong>InstallScript</strong> or <strong>InstallScript MSI</strong> project, then you should remember to study what the default event handlers are doing.</p>
<p>Let&#8217;s say you have created a new project, and have done some work in a couple of the event handlers.  All the other event handlers are not present in your script (InstallShield is calling them behind the scenes).  If you are confused how a certain part of the installation is working (that you have not yet touched or changed), then you should add the appropriate event handler and check it out.</p>
<p>For example, if you have everything working properly during an initial installation, and you now need to work in the maintenance installation, you may wonder how to go about this.  The first thing would be to go to the top of the InstallScript view and add the appropriate event handlers to the script (if they have not already been added to the script).  In this case, you would want to add <strong>OnMaintUIBefore</strong> and <strong>OnMaintUIAfter</strong>.</p>
<p>After doing this, you can study what is there by default in these handlers and then better understand where to add your own code.</p>
<p>Another example is where you don&#8217;t have a new installation, but rather have one you inherited from someone else.  You are not clear what calls were placed in the script by InstallShield, and what were placed by the previous installation developer.  In this case, I would create a new project in a new folder, add the appropriate event handlers I want to study, then build the project, and step through in the debugger.</p>
<p>This should all sound perfectly logically, but I even forget to do this sometimes.</p>
<p>In closing, if you are not clear about the default behavior of any installation that has a script, add and/or examine the default event handlers.  You will gain a lot of clarity and will even learn some things.</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=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F785%2Ffor-clarity-check-the-default-event-handlers%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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;t=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers"></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=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&body=http%3A%2F%2Fwww.installationdeveloper.com%2F785%2Ffor-clarity-check-the-default-event-handlers%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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;notes=If%20you%20are%20working%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20then%20you%20should%20remember%20to%20study%20what%20the%20default%20event%20handlers%20are%20doing.%0D%0A%0D%0ALet%27s%20say%20you%20have%20created%20a%20new%20project%2C%20and%20have%20done%20some%20work%20in%20a%20couple%20of%20the%20event%20handlers.%20"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;srcURL=http%3A%2F%2Fwww.installationdeveloper.com%2F785%2Ffor-clarity-check-the-default-event-handlers%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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=If%20you%20are%20working%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20then%20you%20should%20remember%20to%20study%20what%20the%20default%20event%20handlers%20are%20doing.%0D%0A%0D%0ALet%27s%20say%20you%20have%20created%20a%20new%20project%2C%20and%20have%20done%20some%20work%20in%20a%20couple%20of%20the%20event%20handlers.%20"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;Title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers"></a></li><li><a style="cursor:pointer" rel="nofollow" onMouseOut="fixOnMouseOut(document.getElementById('sociable-post-785'), event, 'post-785')" onMouseOver="more(this,'post-785')"><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-785')" id="sociable-post-785" 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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;t=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;bodytext=If%20you%20are%20working%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20then%20you%20should%20remember%20to%20study%20what%20the%20default%20event%20handlers%20are%20doing.%0D%0A%0D%0ALet%27s%20say%20you%20have%20created%20a%20new%20project%2C%20and%20have%20done%20some%20work%20in%20a%20couple%20of%20the%20event%20handlers.%20"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;annotation=If%20you%20are%20working%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20then%20you%20should%20remember%20to%20study%20what%20the%20default%20event%20handlers%20are%20doing.%0D%0A%0D%0ALet%27s%20say%20you%20have%20created%20a%20new%20project%2C%20and%20have%20done%20some%20work%20in%20a%20couple%20of%20the%20event%20handlers.%20"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;t=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers"></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=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;URL=http%3A%2F%2Fwww.installationdeveloper.com%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=If%20you%20are%20working%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20then%20you%20should%20remember%20to%20study%20what%20the%20default%20event%20handlers%20are%20doing.%0D%0A%0D%0ALet%27s%20say%20you%20have%20created%20a%20new%20project%2C%20and%20have%20done%20some%20work%20in%20a%20couple%20of%20the%20event%20handlers.%20"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;title=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;selection=If%20you%20are%20working%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20then%20you%20should%20remember%20to%20study%20what%20the%20default%20event%20handlers%20are%20doing.%0D%0A%0D%0ALet%27s%20say%20you%20have%20created%20a%20new%20project%2C%20and%20have%20done%20some%20work%20in%20a%20couple%20of%20the%20event%20handlers.%20"></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%2F785%2Ffor-clarity-check-the-default-event-handlers%2F&amp;t=For%20Clarity%2C%20Check%20the%20Default%20Event%20Handlers&amp;s=If%20you%20are%20working%20in%20an%20InstallScript%20or%20InstallScript%20MSI%20project%2C%20then%20you%20should%20remember%20to%20study%20what%20the%20default%20event%20handlers%20are%20doing.%0D%0A%0D%0ALet%27s%20say%20you%20have%20created%20a%20new%20project%2C%20and%20have%20done%20some%20work%20in%20a%20couple%20of%20the%20event%20handlers.%20"></a></li></ul>			

			</div>        

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



		  <img onclick="hide_sociable('post-785',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="For Clarity, Check the Default Event Handlers - http://www.installationdeveloper.com/785/for-clarity-check-the-default-event-handlers/ (via #sociablesite)" data-url="http://www.installationdeveloper.com/785/for-clarity-check-the-default-event-handlers/" 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/785/for-clarity-check-the-default-event-handlers/&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/785/for-clarity-check-the-default-event-handlers/" 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/785/for-clarity-check-the-default-event-handlers/" data-counter="right"></script></li><li id="StumbleUpon_Counter"><script src="http://www.stumbleupon.com/hostedbadge.php?s=2&r=http://www.installationdeveloper.com/785/for-clarity-check-the-default-event-handlers/"></script></li></ul></div><!-- End Sociable -->]]></content:encoded>
			<wfw:commentRss>http://www.installationdeveloper.com/785/for-clarity-check-the-default-event-handlers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

