<?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; Using Log Files in InstallShield</title>
	<atom:link href="http://www.installationdeveloper.com/686/using-log-files-in-installshield/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>Using Log Files in InstallShield</title>
		<link>http://www.installationdeveloper.com/686/using-log-files-in-installshield/</link>
		<comments>http://www.installationdeveloper.com/686/using-log-files-in-installshield/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 16:50:39 +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=686</guid>
		<description><![CDATA[There are several types of log files generated in an InstallShield installation. Most people are not familiar with all of them. This post will fix that. The four types of log files are: Build log Installation log Uninstallation log Bootstrapper log Build Logs A build log is automatically generated when you build a release. InstallShield [...]]]></description>
			<content:encoded><![CDATA[<p>There are several types of log files generated in an <strong>InstallShield</strong> installation.  Most people are not familiar with all of them.  This post will fix that.</p>
<p>The four types of log files are:</p>
<ul>
<li>Build log</li>
<li>Installation log</li>
<li>Uninstallation log</li>
<li>Bootstrapper log</li>
</ul>
<p><strong>Build Logs</strong></p>
<p>A build log is automatically generated when you build a release.  <strong>InstallShield</strong> creates this file and it contains all the steps performed during the build process.  It also lists any errors.  The build logs can be found in the Release’s <strong>LogFiles</strong> folder.</p>
<p><strong>Installation Logs</strong></p>
<p>To create a log that shows the steps occurring during an installation, we have to go the registry.  Now remember, this is for Windows systems earlier than <strong>Vista</strong>.  You simply set the value of the registry key to <strong>voicewarmupx</strong> to have all of the installation steps logged in the file.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reg_SZ: Logging<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Value: voicewarmupx</strong></p>
<p>If you aren&#8217;t clear on this, you go to the above registry key, look for the <strong>Logging</strong> entry, if it isn&#8217;t there, you must create it.  It is a string entry.  Then set the value to <strong>voicewarmupx</strong>.</p>
<p>On XP, it will be located here:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>C:\Documents and Settings\UserName\Local Settings\Temp</strong></p>
<p>Look at the log file (it has a .log extension) with the latest date.</p>
<p>On any Windows system, you can enter <strong>%temp%</strong> in the <strong>Run</strong> box or <strong>Start Search</strong> box, and you will get the location of the log file.</p>
<p>Now, if you are on <strong>Windows Vista</strong>, you can just go to:</p>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Installation Information<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;General Information<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Product Properties<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create MSI Logs<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yes</strong></p>
<p>This setting only applies to <strong>Windows Vista and higher</strong> and will be ignored on all other Windows systems.  On those systems, you will need to use the first method to perform in-depth logging of your installations.</p>
<p><strong>Uninstallation Logs</strong></p>
<p>The registry entry we just set will also trigger uninstallation logs to be built.  Just look in the Temp folder after you have uninstalled your product, and find the latest log file.</p>
<p><strong>Bootstrapper Logs</strong></p>
<p><strong>InstallShield</strong> has a method for creating a log file for the <strong>Setup.exe</strong> and <strong>Update.exe</strong> bootstrappers.  You can simply use the <strong>/debuglog</strong> parameter from the command line when you run Setup.exe.  This command line parameter can be used with the Setup launcher for <strong>Basic MSI</strong>, <strong>InstallScript MSI</strong>, and <strong>Web</strong> projects.</p>
<p>Here it is:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Setup.exe /debuglog</strong></p>
<p>You will notice that a file called InstallShield.log has been created in the same folder as <strong>Setup.exe</strong>.</p>
<p>What you must remember here is that, this is only the log file for the <strong>Setup.exe</strong> bootstrapper.  At least that is what it seems.  When you look at this log file, you see that it doesn’t contain the detailed information available when compared to the log file created as a result of placing the value in the registry, which was outlined in the previous movie.</p>
<p>There is one more thing to know about the <strong>/debuglog</strong> command line parameter.  You can also specify the full path to the log file, so it could be created in an entirely different location from <strong>Setup.exe</strong>.  This is useful if <strong>Setup.exe</strong> is on a CD-ROM, or any other unwrittable location.  Here is an example of that:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Setup.exe /debuglog&#8221;C:\SetupLogFile.txt&#8221;</strong></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=Using%20Log%20Files%20in%20InstallShield%20-%20http%3A%2F%2Fwww.installationdeveloper.com%2F686%2Fusing-log-files-in-installshield%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%2F686%2Fusing-log-files-in-installshield%2F&amp;t=Using%20Log%20Files%20in%20InstallShield"></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=Using%20Log%20Files%20in%20InstallShield&body=http%3A%2F%2Fwww.installationdeveloper.com%2F686%2Fusing-log-files-in-installshield%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%2F686%2Fusing-log-files-in-installshield%2F&title=Using%20Log%20Files%20in%20InstallShield"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;title=Using%20Log%20Files%20in%20InstallShield&amp;notes=There%20are%20several%20types%20of%20log%20files%20generated%20in%20an%20InstallShield%20installation.%20%20Most%20people%20are%20not%20familiar%20with%20all%20of%20them.%20%20This%20post%20will%20fix%20that.%0D%0A%0D%0AThe%20four%20types%20of%20log%20files%20are%3A%0D%0A%0D%0A%09Build%20log%0D%0A%09Installation%20log%0D%0A%09Uninstallation%20log%0D%0A%09Boo"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;title=Using%20Log%20Files%20in%20InstallShield&amp;srcURL=http%3A%2F%2Fwww.installationdeveloper.com%2F686%2Fusing-log-files-in-installshield%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%2F686%2Fusing-log-files-in-installshield%2F&amp;title=Using%20Log%20Files%20in%20InstallShield&amp;source=Installation+Developer+InstallShield+Training+-+InstallShield+Tutorials&amp;summary=There%20are%20several%20types%20of%20log%20files%20generated%20in%20an%20InstallShield%20installation.%20%20Most%20people%20are%20not%20familiar%20with%20all%20of%20them.%20%20This%20post%20will%20fix%20that.%0D%0A%0D%0AThe%20four%20types%20of%20log%20files%20are%3A%0D%0A%0D%0A%09Build%20log%0D%0A%09Installation%20log%0D%0A%09Uninstallation%20log%0D%0A%09Boo"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;Title=Using%20Log%20Files%20in%20InstallShield"></a></li><li><a style="cursor:pointer" rel="nofollow" onMouseOut="fixOnMouseOut(document.getElementById('sociable-post-686'), event, 'post-686')" onMouseOver="more(this,'post-686')"><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-686')" id="sociable-post-686" 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%2F686%2Fusing-log-files-in-installshield%2F&amp;t=Using%20Log%20Files%20in%20InstallShield"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;title=Using%20Log%20Files%20in%20InstallShield&amp;bodytext=There%20are%20several%20types%20of%20log%20files%20generated%20in%20an%20InstallShield%20installation.%20%20Most%20people%20are%20not%20familiar%20with%20all%20of%20them.%20%20This%20post%20will%20fix%20that.%0D%0A%0D%0AThe%20four%20types%20of%20log%20files%20are%3A%0D%0A%0D%0A%09Build%20log%0D%0A%09Installation%20log%0D%0A%09Uninstallation%20log%0D%0A%09Boo"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;title=Using%20Log%20Files%20in%20InstallShield"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;title=Using%20Log%20Files%20in%20InstallShield&amp;annotation=There%20are%20several%20types%20of%20log%20files%20generated%20in%20an%20InstallShield%20installation.%20%20Most%20people%20are%20not%20familiar%20with%20all%20of%20them.%20%20This%20post%20will%20fix%20that.%0D%0A%0D%0AThe%20four%20types%20of%20log%20files%20are%3A%0D%0A%0D%0A%09Build%20log%0D%0A%09Installation%20log%0D%0A%09Uninstallation%20log%0D%0A%09Boo"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;t=Using%20Log%20Files%20in%20InstallShield"></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=Using%20Log%20Files%20in%20InstallShield&amp;URL=http%3A%2F%2Fwww.installationdeveloper.com%2F686%2Fusing-log-files-in-installshield%2F&amp;cat_id=6&amp;tag_id=31&amp;Remark=There%20are%20several%20types%20of%20log%20files%20generated%20in%20an%20InstallShield%20installation.%20%20Most%20people%20are%20not%20familiar%20with%20all%20of%20them.%20%20This%20post%20will%20fix%20that.%0D%0A%0D%0AThe%20four%20types%20of%20log%20files%20are%3A%0D%0A%0D%0A%09Build%20log%0D%0A%09Installation%20log%0D%0A%09Uninstallation%20log%0D%0A%09Boo"></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%2F686%2Fusing-log-files-in-installshield%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%2F686%2Fusing-log-files-in-installshield%2F&amp;title=Using%20Log%20Files%20in%20InstallShield&amp;selection=There%20are%20several%20types%20of%20log%20files%20generated%20in%20an%20InstallShield%20installation.%20%20Most%20people%20are%20not%20familiar%20with%20all%20of%20them.%20%20This%20post%20will%20fix%20that.%0D%0A%0D%0AThe%20four%20types%20of%20log%20files%20are%3A%0D%0A%0D%0A%09Build%20log%0D%0A%09Installation%20log%0D%0A%09Uninstallation%20log%0D%0A%09Boo"></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%2F686%2Fusing-log-files-in-installshield%2F&amp;t=Using%20Log%20Files%20in%20InstallShield&amp;s=There%20are%20several%20types%20of%20log%20files%20generated%20in%20an%20InstallShield%20installation.%20%20Most%20people%20are%20not%20familiar%20with%20all%20of%20them.%20%20This%20post%20will%20fix%20that.%0D%0A%0D%0AThe%20four%20types%20of%20log%20files%20are%3A%0D%0A%0D%0A%09Build%20log%0D%0A%09Installation%20log%0D%0A%09Uninstallation%20log%0D%0A%09Boo"></a></li></ul>			

			</div>        

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



		  <img onclick="hide_sociable('post-686',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="Using Log Files in InstallShield - http://www.installationdeveloper.com/686/using-log-files-in-installshield/ (via #sociablesite)" data-url="http://www.installationdeveloper.com/686/using-log-files-in-installshield/" 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/686/using-log-files-in-installshield/&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/686/using-log-files-in-installshield/" 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/686/using-log-files-in-installshield/" data-counter="right"></script></li><li id="StumbleUpon_Counter"><script src="http://www.stumbleupon.com/hostedbadge.php?s=2&r=http://www.installationdeveloper.com/686/using-log-files-in-installshield/"></script></li></ul></div><!-- End Sociable -->]]></content:encoded>
			<wfw:commentRss>http://www.installationdeveloper.com/686/using-log-files-in-installshield/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

