<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A little work blog</title>
	<atom:link href="http://leereid.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://leereid.wordpress.com</link>
	<description>Windows software installation, packaging &#38; distribution</description>
	<lastBuildDate>Sun, 06 Dec 2009 22:19:32 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='leereid.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/73d3af8ccae7dc4fa1fc97e139659fd7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>A little work blog</title>
		<link>http://leereid.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://leereid.wordpress.com/osd.xml" title="A little work blog" />
		<item>
		<title>Inno Setup unpack</title>
		<link>http://leereid.wordpress.com/2009/12/03/inno-setup/</link>
		<comments>http://leereid.wordpress.com/2009/12/03/inno-setup/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 05:09:32 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Inno]]></category>
		<category><![CDATA[innounp]]></category>
		<category><![CDATA[SetupCapture]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=167</guid>
		<description><![CDATA[A couple of weeks ago I came across a vendor setup I was trying to install silently. I identified this as an Inno Setup by finding the uninstall command line in the registry being unins&#8230;.exe /SILENT.
So trying the /SILENT switch worked on the installation worked fine except that the nested MDAC 2.6 installation wasn&#8217;t using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=167&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A couple of weeks ago I came across a vendor setup I was trying to install silently. I <a href="http://www.appdeploy.com/tips/detail.asp?id=113" target="_self">identified this as an Inno Setup</a> by finding the uninstall command line in the registry being unins&#8230;.exe /SILENT.</p>
<p>So trying the /SILENT switch worked on the installation worked fine except that the nested MDAC 2.6 installation wasn&#8217;t using an unattended switch, so it would still require a click. I tried installing MDAC beforehand, but the installation still behaved the same waiting for a click. I could have captured the installation of MDAC along with the rest of the installation, but I prefer to install this type of standard prerequisite with the vendor&#8217;s standard setup, so I attempted to find some way to dig into the Inno Setup.</p>
<p>I found an Inno setup unpacker called <a href="http://innounp.sourceforge.net/" target="_self">innounp</a>, which extracted the installation. I also downloaded the latest version of <a href="http://www.jrsoftware.org/isinfo.php" target="_self">InnoSetup</a> so that I could view and compile the installation. What I ended up doing was finding the prerequisites in the installation, grabbing the files and finding the silent install commands and then removing them from the installation. I compiled the installation then, but still got a few more errors, in particular with:</p>
<ul>
<li>InnoSetupVersion=5.1.7 (which I removed)</li>
<li>and a couple of duplicated file copies.</li>
</ul>
<p>Once I removed all of these, I recompiled the installation.</p>
<p>I could then:</p>
<ul>
<li>install the prerequisites (Jet, MDAC, VB6)</li>
<li>start a SetupCapture of my recompilation</li>
<li>run my recompilation</li>
<li>close capture</li>
</ul>
<p>And then the capture held only the program installation that I was interested in.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=167&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/12/03/inno-setup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Remote Server Administration Tools (RSAT) for Vista and Windows 7</title>
		<link>http://leereid.wordpress.com/2009/08/26/installing-remote-server-administration-tools-rsat-for-vista-and-windows-7/</link>
		<comments>http://leereid.wordpress.com/2009/08/26/installing-remote-server-administration-tools-rsat-for-vista-and-windows-7/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 05:16:45 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=134</guid>
		<description><![CDATA[Here&#8217;s how you can deploy Remote Server Administration Tools for Windows Vista remotely:

Download .msu file from http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&#38;displaylang=en
Install this by running wusa &#8220;blah.msu&#8221; /quiet /norestart
Run ocsetup.exe WindowsAdministrationTools to activate windows features
Set these registry keys to activate start menu folder (can be done manually through properties)

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
&#8220;Start_AdminToolsRoot&#8221;=dword:00000002
&#8220;StartMenuAdminTools&#8221;=dword:00000001
 
For Remote Server Administration Tools for Windows 7:

Download .msu file from http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&#38;displaylang=en
Install this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=134&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here&#8217;s how you can deploy <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&amp;displaylang=en">Remote Server Administration Tools for Windows Vista </a>remotely:</p>
<ol>
<li>Download .msu file from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&amp;displaylang=en</a></li>
<li>Install this by running wusa &#8220;blah.msu&#8221; /quiet /norestart</li>
<li>Run ocsetup.exe WindowsAdministrationTools to activate windows features</li>
<li>Set these registry keys to activate start menu folder (can be done manually through properties)</li>
</ol>
<p>[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]<br />
&#8220;Start_AdminToolsRoot&#8221;=dword:00000002<br />
&#8220;StartMenuAdminTools&#8221;=dword:00000001</p>
<p> </p>
<p>For <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&amp;displaylang=en">Remote Server Administration Tools for Windows 7</a>:</p>
<ol>
<li>Download .msu file from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&amp;displaylang=en</a></li>
<li>Install this by running wusa &#8220;blah.msu&#8221; /quiet /norestart</li>
<li>Run dism /online /Get-Features to give a list of all the features</li>
<li>Run dism /online /Enable-Feature /FeatureName:RemoteServerAdministrationTools</li>
<li>Then run dism /online /Enable-Feature /FeatureName:RemoteServerAdministrationTools-ServerManager etc. to install the desired features</li>
<li>Set reg keys to activate start menu folder (can be done manually through properties)</li>
</ol>
<p>[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]<br />
&#8220;Start_AdminToolsRoot&#8221;=dword:00000002<br />
&#8220;StartMenuAdminTools&#8221;=dword:00000001</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=134&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/08/26/installing-remote-server-administration-tools-rsat-for-vista-and-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>ActiveSetup &#8211; your nemesis?</title>
		<link>http://leereid.wordpress.com/2009/08/26/activesetup-your-nemesis/</link>
		<comments>http://leereid.wordpress.com/2009/08/26/activesetup-your-nemesis/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 04:56:32 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[XP]]></category>
		<category><![CDATA[ActiveSetup]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=160</guid>
		<description><![CDATA[I&#8217;ve written before about the usefulness of ActiveSetup, but today am here to warn you about a pitfall of using ActiveSetup.
When working with roaming profiles, depending on how your environment is configured, the HKCU registry hive will also roam with users. This is fine if your active setup action is a profile related thing (perhaps [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=160&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve written before about the <a href="http://leereid.wordpress.com/2008/07/23/active-setup-your-friend/">usefulness of ActiveSetup</a>, but today am here to warn you about a pitfall of using ActiveSetup.</p>
<p>When working with roaming profiles, depending on how your environment is configured, the HKCU registry hive will also roam with users. This is fine if your active setup action is a profile related thing (perhaps create a file in their profile, run a script to move something in their profile). However, if it&#8217;s not (maybe creating a local AppData file or something else local), ActiveSetup will work fine the first time, but won&#8217;t re-run for the user when they logon to another computer. This could break what you were trying to do.</p>
<p>So, some final words: take care with ActiveSetup, it may not be the tool for your job. An alternative could be the Run key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run) or RunOnce (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=160&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/08/26/activesetup-your-nemesis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>SCCM exclude members from a collection</title>
		<link>http://leereid.wordpress.com/2009/08/20/sccm-exclude-members-from-a-collection/</link>
		<comments>http://leereid.wordpress.com/2009/08/20/sccm-exclude-members-from-a-collection/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 06:06:46 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[SCCM]]></category>
		<category><![CDATA[SMS 2003]]></category>
		<category><![CDATA[Collections]]></category>
		<category><![CDATA[Exclusion]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=157</guid>
		<description><![CDATA[This came up at work again, so I&#8217;ve decided that so I can find it this time, I&#8217;ll post it here. This is directly from SMS Guys who have moved on to here.
1. Create a collection that will contain all clients to be excluded from another collection (we&#8217;ll call it &#8216;ExclusionsCollection&#8217; for this example.)
2. Once you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=157&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This came up at work again, so I&#8217;ve decided that so I can find it this time, I&#8217;ll post it here. This is directly from <a href="http://smsguys.blogspot.com/2006/12/query-build-collection-to-exclude.html">SMS Guys</a> who have moved on to <a href="http://systemcenterinfo.blogspot.com/">here</a>.</p>
<p><span style="font-family:trebuchet ms;">1. Create a collection that will contain all clients to be excluded from another collection (we&#8217;ll call it &#8216;ExclusionsCollection&#8217; for this example.)</span></p>
<p><span style="font-family:trebuchet ms;">2. Once you have that, go into the Collections table in the SMS SQL database and find the row that contains &#8216;ExclusionsCollection&#8217;. Note the cooresponding &#8216;ResultTableName&#8217;.</span></p>
<p><span style="font-family:trebuchet ms;">3. In the collection that you want to exclude the members of &#8216;ExclusionsList&#8217; from, copy and paste the following query:</span></p>
<p><span style="font-size:100%;font-family:arial;">select SMS_R_System.ResourceID,SMS_R_System.ResourceType, </span><span><br />
<span style="font-family:courier new;">SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier, </span><br />
<span style="font-family:courier new;">SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client </span><br />
<span style="font-family:courier new;">from SMS_R_System where Client = 1 and ClientType = 1 and </span><br />
<span><span style="font-family:courier new;">ResourceId not in (select ResourceID from SMS_CM</span><strong>_RES_COLL_XXXxxxxx</strong><span style="font-family:courier new;">)</span></p>
<p>4. Replace the item above in red with your ResultTableName.</span></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=157&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/08/20/sccm-exclude-members-from-a-collection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>MSIFASTINSTALL not so fast</title>
		<link>http://leereid.wordpress.com/2009/08/03/msifastinstall-not-so-fast/</link>
		<comments>http://leereid.wordpress.com/2009/08/03/msifastinstall-not-so-fast/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 06:18:31 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[msi]]></category>
		<category><![CDATA[MSIFASTINSTALL]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=154</guid>
		<description><![CDATA[I read about MSIFASTINSTALL with great hope that it would reduce installation times as documented in Alex Verboon&#8217;s article. Sadly this hasn&#8217;t been my experience. I decided I&#8217;d test a sequence of installations including Flash Player, Access Runtimes, Reader, QuickTime, Java 6, Silverlight and Shockwave on Windows 7 RC. There were also some other non msi installations.
My [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=154&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I read about <a href="http://msdn.microsoft.com/en-us/library/dd408005(VS.85).aspx">MSIFASTINSTALL</a> with great hope that it would <a href="http://www.verboon.info/index.php/2009/07/reduce-software-installation-time/">reduce installation times</a> as documented in Alex Verboon&#8217;s article. Sadly this hasn&#8217;t been my experience. I decided I&#8217;d test a sequence of installations including Flash Player, Access Runtimes, Reader, QuickTime, Java 6, Silverlight and Shockwave on Windows 7 RC. There were also some other non msi installations.</p>
<p>My average time for 2 runs without MSIFASTINSTALL was 7 min 29 secs, 3 runs with MSIFASTINSTALL=7 was 8 min 3 secs and 2 runs with MSIFASTINSTALL=1 was 7 min 47 seconds. I would have loved to have seen this speed up a few installs, but sorry to say &#8211; not for me!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=154&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/08/03/msifastinstall-not-so-fast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Java 6 side-by-side different versions</title>
		<link>http://leereid.wordpress.com/2009/07/23/install-java-6-side-by-side-different-versions/</link>
		<comments>http://leereid.wordpress.com/2009/07/23/install-java-6-side-by-side-different-versions/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 03:08:17 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[Packaging]]></category>
		<category><![CDATA[msi]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=152</guid>
		<description><![CDATA[Run the setup.exe with the parameter STATIC=1 and the install will generate a different msi that will install a standalone version<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=152&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Java 6 Runtime installations will automatically upgrade older Java 6 version through the beauty of the msi upgrade table. However, if you need to install a specific Java version, <a href="http://java.sun.com/javase/6/docs/technotes/guides/jweb/otherFeatures/jre_install.html" target="_self">Sun has some documentation</a>.</p>
<p>Basically run the setup.exe with the parameter STATIC=1 and the install will generate a different msi that will install a standalone version. You can then use your standard installation of other versions (extracted or otherwise) for a different update version.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=152&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/07/23/install-java-6-side-by-side-different-versions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>Vista shims explained (a little)</title>
		<link>http://leereid.wordpress.com/2009/05/20/vista-shims-explained-a-little/</link>
		<comments>http://leereid.wordpress.com/2009/05/20/vista-shims-explained-a-little/#comments</comments>
		<pubDate>Wed, 20 May 2009 06:50:20 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[Vista]]></category>
		<category><![CDATA[shim]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=148</guid>
		<description><![CDATA[I came a across an application today that wouldn&#8217;t install on Vista, reporting that my computer required Windows NT 4 or later. In order to get the install to run on Vista, I created a shim which let it run on Vista.
What&#8217;s a shim? There&#8217;s not a lot of simple explanations around, but basically it&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=148&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I came a across an application today that wouldn&#8217;t install on Vista, reporting that my computer required Windows NT 4 or later. In order to get the install to run on Vista, I created a shim which let it run on Vista.</p>
<p>What&#8217;s a shim? There&#8217;s not a lot of simple explanations around, but basically it&#8217;s some instructions to the OS for how to run a program. In particular, how to handle compatibility issues by telling the operating system how to run the program. With this you can tell the computer to run something on Vista like it would on XP or Windows 98.</p>
<p>The steps involved are pretty well documented on <a href="http://thelazyadmin.com/blogs/thelazyadmin/archive/2008/10/15/creating-custom-application-compatibility-shims.aspx" target="_self">thelazyadmin</a>, but I&#8217;ll add a couple of things.</p>
<p>Firstly, you need to download and install <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=24DA89E9-B581-47B0-B45E-492DD6DA2971&amp;displaylang=en" target="_blank">Application Compatibility Toolkit</a>.</p>
<p>Then follow <a href="http://thelazyadmin.com/blogs/thelazyadmin/archive/2008/10/15/creating-custom-application-compatibility-shims.aspx" target="_self">thelazyadmin&#8217;s guide </a>to create your shim.</p>
<p>Last, run</p>
<p><em>sdbinst &#8220;path_to_my.sdb&#8221;</em></p>
<p>to implement your shim and then see how your program runs!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=148&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/05/20/vista-shims-explained-a-little/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>Vista Packaging Tip 1</title>
		<link>http://leereid.wordpress.com/2009/03/31/vista-packaging-tip-1/</link>
		<comments>http://leereid.wordpress.com/2009/03/31/vista-packaging-tip-1/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 00:34:32 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[XP]]></category>
		<category><![CDATA[msi]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=142</guid>
		<description><![CDATA[Create a sub-feature, add OS conditions and then place files<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=142&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A recent application I repackaged into an msi put entries into the user profile. Of course, the entries didn&#8217;t work by default on XP and Vista, so I got around this by doing the following:</p>
<ol>
<li>Creating a subfeature of the Complete feature. Call this <strong>OS_Specific_Files</strong></li>
<li>For this feature, <strong>Add Condition</strong> to create 2 conditions: VersionNT &gt;= 600 (for Vista) and VersionNT &lt; 600 (for XP)</li>
<li>Inside the different conditions create the folder structures and place files as required.</li>
</ol>
<p>The other aspect of this was to trigger the repair when the user logged on as there was no application entry point. <a href="http://leereid.wordpress.com/2008/07/23/active-setup-your-friend/" target="_self">ActiveSetup</a> is one way to do this, but I did this through the Run key in order to do the repair at each logon. This can be done by:</p>
<ol>
<li>Create a registry key in HKLM\Microsoft\Windows\CurrentVersion\Run</li>
<li>Name = [ProductName], Value = msiexec /fp [ProductCode] /qn</li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=142&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/03/31/vista-packaging-tip-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>VBScript get java version</title>
		<link>http://leereid.wordpress.com/2009/03/30/vbscript-get-java-version/</link>
		<comments>http://leereid.wordpress.com/2009/03/30/vbscript-get-java-version/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 04:26:29 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[XP]]></category>
		<category><![CDATA[msi]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=138</guid>
		<description><![CDATA[The java version installed on a PC can be determined by typing
java -version
on a command prompt, but this information is difficult to access through VBScript. I recently put together an installation that put java files into the java version currently installed. This meant finding out which one was the current version, so I put together [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=138&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The java version installed on a PC can be determined by typing</p>
<p><em>java -version</em></p>
<p>on a command prompt, but this information is difficult to access through VBScript. I recently put together an installation that put java files into the java version currently installed. This meant finding out which one was the current version, so I put together the following VBScript to compare the version of java.exe in <strong>system32 </strong>with all java.exe files inside C:\Program Files\Java</p>
<p><em>Set oShell = CreateObject(&#8220;WScript.Shell&#8221;)<br />
Set oFSO = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br />
sFile = oShell.ExpandEnvironmentStrings(&#8220;%systemroot%&#8221;) &amp; &#8220;\system32\java.exe&#8221;<br />
version = oFSO.GetFileVersion(sFile)<br />
PFDir = oShell.ExpandEnvironmentStrings(&#8220;%programfiles%&#8221;)<br />
javaDir = PFDIR &amp; &#8220;\Java&#8221;<br />
Set oFolder = oFSO.GetFolder(javaDir)<br />
Set colFolders = oFolder.SubFolders<br />
For Each folder In colFolders<br />
 thisver = oFSO.GetFileVersion(folder &amp; &#8220;\bin\java.exe&#8221;)<br />
 If thisver = version Then<br />
  JavaVersion= folder &amp; &#8220;\&#8221;<br />
 End If<br />
Next</em></p>
<p>As I was doing this inside a custom action in an msi, I changed the variable <strong>JavaVersion</strong> to <strong>Session.TargetPath(&#8220;INSTALLDIR&#8221;)</strong></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=138&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/03/30/vbscript-get-java-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
		<item>
		<title>VBScript Delete a File</title>
		<link>http://leereid.wordpress.com/2009/02/16/vbscript-delete-a-file/</link>
		<comments>http://leereid.wordpress.com/2009/02/16/vbscript-delete-a-file/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 22:10:49 +0000</pubDate>
		<dc:creator>leereid</dc:creator>
				<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://leereid.wordpress.com/?p=130</guid>
		<description><![CDATA[This is a fairly simple one, using the FileSystemObject
Set objFSO = CreateObject("Scripting.FileSystemObject")
filePath = "C:\Temp\file.txt"
objFSO.DeleteFile(filePath)
Note that this is only going to work if the file exists
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=130&subd=leereid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is a fairly simple one, using the FileSystemObject</p>
<p><code>Set objFSO = CreateObject("Scripting.FileSystemObject")<br />
filePath = "C:\Temp\file.txt"<br />
objFSO.DeleteFile(filePath)</code></p>
<p>Note that this is only going to work if the file exists</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/leereid.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/leereid.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/leereid.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/leereid.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/leereid.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/leereid.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/leereid.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/leereid.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/leereid.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/leereid.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=leereid.wordpress.com&blog=1848353&post=130&subd=leereid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://leereid.wordpress.com/2009/02/16/vbscript-delete-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/362111eaca8f527dda1e4bea90f2e162?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">leereid</media:title>
		</media:content>
	</item>
	</channel>
</rss>