<?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>teamzone.ch &#187; user-components</title>
	<atom:link href="http://teamzone.ch/tag/user-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://teamzone.ch</link>
	<description>Welcome to the Joint-Venture Blog from Fabio Cortesi and Stefan Jäger.</description>
	<lastBuildDate>Wed, 01 Jun 2011 22:43:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>How to use &quot;Active Setup&quot; to install user-components by MSI-packages</title>
		<link>http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/</link>
		<comments>http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 20:35:43 +0000</pubDate>
		<dc:creator>Fabio Cortesi</dc:creator>
				<category><![CDATA[MSI]]></category>
		<category><![CDATA[WISE Package Studio]]></category>
		<category><![CDATA[Active Setup]]></category>
		<category><![CDATA[user-components]]></category>

		<guid isPermaLink="false">http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/</guid>
		<description><![CDATA[Active Setup is included in the Windows Operating System and can be used to do something after the user logs in. Especially when you have to install some files, registry keys, user-certificates or other things into the user-profile is Active Setup a nice technology to use. It is originally a feature of Microsoft Internet Explorer [...]]]></description>
			<content:encoded><![CDATA[<p>Active Setup is included in the Windows Operating System and can be used to do something after the user logs in. Especially when you have to install some files, registry keys, user-certificates or other things into the user-profile is Active Setup a nice technology to use. It is originally a feature of Microsoft Internet Explorer and Microsoft Outlook.</p>
<p>&#160;</p>
<p>With WISE Package Studio you can easily implement Active Setup by adding the following Registry-Keys (minimum) to your project:</p>
<p>&#160;</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[UpgradeCode]</p>
<p>&quot;ComponentID&quot;=&quot;[ProductName]&quot;</p>
<p>&quot;StubPath&quot;=&quot;[SystemFolder]\msiexec.exe /fu [ProductCode] /qb-!&quot;</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/02/image2.png"  rel="lightbox[roadtrip]"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="112" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/02/image-thumb2.png" width="244" border="0" /></a> </p>
<p> <span id="more-318"></span>
<p>With only these keys is active setup ready to run. After the user-login, the technology is going to compare the entries between HKLM and HKCU. If there is a difference, Active Setup is going to run the commands in the &quot;StubPath&quot;-key. It runs only once. If you add a version-key, you can change the version-key and active setup will run again.</p>
<p>&#160;</p>
<p>With the commands in the example, the computer repairs all your user-sections in your MSI-package. So it&#8217;s necessary how you created your MSI. You can also make a Custom Action to run under the user-contex.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/02/image1.png"  rel="lightbox[roadtrip]"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/02/image-thumb1.png" width="220" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

