<?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; Try &#8211; Catch Blocks in the InstallScript Language</title>
	<atom:link href="http://www.installationdeveloper.com/707/try-catch-blocks-in-the-installscript-language/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.installationdeveloper.com</link>
	<description>InstallShield Training - InstallShield Tutorials</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:57:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Try &#8211; Catch Blocks in the InstallScript Language</title>
		<link>http://www.installationdeveloper.com/707/try-catch-blocks-in-the-installscript-language/</link>
		<comments>http://www.installationdeveloper.com/707/try-catch-blocks-in-the-installscript-language/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:53:11 +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=707</guid>
		<description><![CDATA[If you are new to InstallShield or the InstallScript language, and are coming from the C# or VB.NET world, you may be wondering how to handle exceptions in your installation.
The InstallScript language has a Try &#8211; Catch capability just like the languages you are used to working in.  Here&#8217;s what it looks like:
try
&#160;&#160;&#160;&#160;&#160;// do [...]]]></description>
			<content:encoded><![CDATA[<p>If you are new to <strong>InstallShield</strong> or the <strong>InstallScript</strong> language, and are coming from the C# or VB.NET world, you may be wondering how to handle exceptions in your installation.</p>
<p>The InstallScript language has a <strong>Try &#8211; Catch</strong> capability just like the languages you are used to working in.  Here&#8217;s what it looks like:</p>
<p><strong>try<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// do some stuff</p>
<p>catch<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// handle the exception</p>
<p>endcatch;</strong></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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;title=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language&amp;bodytext=If%20you%20are%20new%20to%20InstallShield%20or%20the%20InstallScript%20language%2C%20and%20are%20coming%20from%20the%20C%23%20or%20VB.NET%20world%2C%20you%20may%20be%20wondering%20how%20to%20handle%20exceptions%20in%20your%20installation.%0D%0A%0D%0AThe%20InstallScript%20language%20has%20a%20Try%20-%20Catch%20capability%20just%20like%20the%20la" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;title=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language&amp;notes=If%20you%20are%20new%20to%20InstallShield%20or%20the%20InstallScript%20language%2C%20and%20are%20coming%20from%20the%20C%23%20or%20VB.NET%20world%2C%20you%20may%20be%20wondering%20how%20to%20handle%20exceptions%20in%20your%20installation.%0D%0A%0D%0AThe%20InstallScript%20language%20has%20a%20Try%20-%20Catch%20capability%20just%20like%20the%20la" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;t=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;h=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;title=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;title=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;title=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language&amp;annotation=If%20you%20are%20new%20to%20InstallShield%20or%20the%20InstallScript%20language%2C%20and%20are%20coming%20from%20the%20C%23%20or%20VB.NET%20world%2C%20you%20may%20be%20wondering%20how%20to%20handle%20exceptions%20in%20your%20installation.%0D%0A%0D%0AThe%20InstallScript%20language%20has%20a%20Try%20-%20Catch%20capability%20just%20like%20the%20la" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;submitHeadline=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language&amp;submitSummary=If%20you%20are%20new%20to%20InstallShield%20or%20the%20InstallScript%20language%2C%20and%20are%20coming%20from%20the%20C%23%20or%20VB.NET%20world%2C%20you%20may%20be%20wondering%20how%20to%20handle%20exceptions%20in%20your%20installation.%0D%0A%0D%0AThe%20InstallScript%20language%20has%20a%20Try%20-%20Catch%20capability%20just%20like%20the%20la&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=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F707%2Ftry-catch-blocks-in-the-installscript-language%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%2F707%2Ftry-catch-blocks-in-the-installscript-language%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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;title=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;title=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=If%20you%20are%20new%20to%20InstallShield%20or%20the%20InstallScript%20language%2C%20and%20are%20coming%20from%20the%20C%23%20or%20VB.NET%20world%2C%20you%20may%20be%20wondering%20how%20to%20handle%20exceptions%20in%20your%20installation.%0D%0A%0D%0AThe%20InstallScript%20language%20has%20a%20Try%20-%20Catch%20capability%20just%20like%20the%20la" 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%2F707%2Ftry-catch-blocks-in-the-installscript-language%2F&amp;t=Try%20-%20Catch%20Blocks%20in%20the%20InstallScript%20Language" 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/707/try-catch-blocks-in-the-installscript-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
