<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Creating Useful Installers with Custom Actions</title>
	<atom:link href="http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/feed/" rel="self" type="application/rss+xml" />
	<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/</link>
	<description></description>
	<lastBuildDate>Sat, 19 Jun 2010 20:01:03 -0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter</title>
		<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/comment-page-1/#comment-5814</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 11 Mar 2010 22:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/#comment-5814</guid>
		<description>I would like the install to wait until a certain process has terminated before starting the install. Ie. warning the user to shutdown the app before we upgrade it. I tried the custom actions but then found out that the install has occurred before my code gets hit. I know how to check for running processes but can&#039;t figure out how to integrate this in the MSI/install. Any suggestions?</description>
		<content:encoded><![CDATA[<p>I would like the install to wait until a certain process has terminated before starting the install. Ie. warning the user to shutdown the app before we upgrade it. I tried the custom actions but then found out that the install has occurred before my code gets hit. I know how to check for running processes but can&#8217;t figure out how to integrate this in the MSI/install. Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Elliott</title>
		<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/comment-page-1/#comment-5580</link>
		<dc:creator>Steven Elliott</dc:creator>
		<pubDate>Tue, 19 Jan 2010 13:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/#comment-5580</guid>
		<description>Ok, that was simpler than expected. 

Set the &#039;CustomActionData&#039; property of a custom action to /INSTALLDIR=&quot;[TARGETDIR]\&quot;

and then access it by Me.Context.Parameters(&quot;INSTALLDIR&quot;).ToString.

Simple enough. Now, to figure out how to get the path that the installer was run from...</description>
		<content:encoded><![CDATA[<p>Ok, that was simpler than expected. </p>
<p>Set the &#8216;CustomActionData&#8217; property of a custom action to /INSTALLDIR=&#8221;[TARGETDIR]\&#8221;</p>
<p>and then access it by Me.Context.Parameters(&#8221;INSTALLDIR&#8221;).ToString.</p>
<p>Simple enough. Now, to figure out how to get the path that the installer was run from&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Elliott</title>
		<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/comment-page-1/#comment-5577</link>
		<dc:creator>Steven Elliott</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/#comment-5577</guid>
		<description>More specifically, how do I get the install directory during Commit?


Steve</description>
		<content:encoded><![CDATA[<p>More specifically, how do I get the install directory during Commit?</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Elliott</title>
		<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/comment-page-1/#comment-5576</link>
		<dc:creator>Steven Elliott</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/#comment-5576</guid>
		<description>Thanks for the reply. Perhaps you can help me.

What I am trying to figure out how to do is this: At the end of the application installation, I want to run a program that writes to a text file that resides in the installation directory.

I have determined that custom actions are the way to go, however I am new to .Net programming and all the examples I have found through Google do this or that, but not what I need. My inexperience is showing that I can&#039;t figure it out from the samples I mentioned. This used to be such a simple thing in VB6!

Many thanks if you are able to help.

Steve</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. Perhaps you can help me.</p>
<p>What I am trying to figure out how to do is this: At the end of the application installation, I want to run a program that writes to a text file that resides in the installation directory.</p>
<p>I have determined that custom actions are the way to go, however I am new to .Net programming and all the examples I have found through Google do this or that, but not what I need. My inexperience is showing that I can&#8217;t figure it out from the samples I mentioned. This used to be such a simple thing in VB6!</p>
<p>Many thanks if you are able to help.</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/comment-page-1/#comment-5575</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Mon, 18 Jan 2010 15:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/#comment-5575</guid>
		<description>Steven, 

You can use a converter such as http://www.developerfusion.com/tools/convert/csharp-to-vb/ to convert the C# to VB.

The techniques are applicable in either language even if the samples are only in C#.</description>
		<content:encoded><![CDATA[<p>Steven, </p>
<p>You can use a converter such as <a href="http://www.developerfusion.com/tools/convert/csharp-to-vb/" rel="nofollow">http://www.developerfusion.com/tools/convert/csharp-to-vb/</a> to convert the C# to VB.</p>
<p>The techniques are applicable in either language even if the samples are only in C#.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Elliott</title>
		<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/comment-page-1/#comment-5574</link>
		<dc:creator>Steven Elliott</dc:creator>
		<pubDate>Mon, 18 Jan 2010 15:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/#comment-5574</guid>
		<description>This seems to be a helpful article, except for one thing: You initially implied this was for both C# and VB users. Yet the entire article is centered around C# code. No VB to be found here. Some of us don&#039;t know anything about C# (and maybe don&#039;t want to know) and are unable to do the conversion in our heads. Shame.</description>
		<content:encoded><![CDATA[<p>This seems to be a helpful article, except for one thing: You initially implied this was for both C# and VB users. Yet the entire article is centered around C# code. No VB to be found here. Some of us don&#8217;t know anything about C# (and maybe don&#8217;t want to know) and are unable to do the conversion in our heads. Shame.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavan kumar</title>
		<link>http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/comment-page-1/#comment-4315</link>
		<dc:creator>Pavan kumar</dc:creator>
		<pubDate>Wed, 23 Sep 2009 11:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://devshaped.com/2009/04/creating-useful-installers-with-custom-actions/#comment-4315</guid>
		<description>Hi Sir,

This is very nice article. It helped me a lot. This is more explanatory than  all the other articles which I read.

Many thanks...</description>
		<content:encoded><![CDATA[<p>Hi Sir,</p>
<p>This is very nice article. It helped me a lot. This is more explanatory than  all the other articles which I read.</p>
<p>Many thanks&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
