<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>From MSI to WiX, Part 5 - Custom actions:  Introduction</title><link>http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx</link><description>The main page for the series is here . 
 
 
 Introduction 
 Although standard actions are sufficient to execute an installation in most cases, custom actions enable the author of an installation package to extend the capabilities of standard actions</description><dc:language>ru-RU</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: From MSI to WiX, Part 5 - Custom actions:  Introduction</title><link>http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx#3508584</link><pubDate>Wed, 11 Jul 2012 19:53:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3508584</guid><dc:creator>Hung Nguyen</dc:creator><description>&lt;p&gt;This article is excellent. Thanks much&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3508584" width="1" height="1"&gt;</description></item><item><title>re: From MSI to WiX, Part 5 - Custom actions:  Introduction</title><link>http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx#3456521</link><pubDate>Fri, 30 Sep 2011 10:18:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3456521</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Hm... I want to call this command line after installation:&lt;/p&gt;
&lt;p&gt;echo hello&amp;gt; echo_test.txt&lt;/p&gt;
&lt;p&gt;What should I do?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3456521" width="1" height="1"&gt;</description></item><item><title>re: From MSI to WiX, Part 5 - Custom actions:  Introduction</title><link>http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx#3241276</link><pubDate>Thu, 14 May 2009 18:36:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3241276</guid><dc:creator>Alex Shevchuk</dc:creator><description>&lt;P&gt;Usually, error 1721 means either problem with the script or some sort of permission issue.&lt;/P&gt;
&lt;P&gt;Your custom action is deferred, non-impersonated action, so it runs elevated under Local System account on Vista.&lt;/P&gt;
&lt;P&gt;Things I would check:&lt;/P&gt;
&lt;P&gt;- MyCA.bat is runnable outside of the installer (does not have any spelling/wrong commands issues)&lt;/P&gt;
&lt;P&gt;- Script in MyCA.bat does not access any network resources&lt;/P&gt;
&lt;P&gt;- Just in case, run installation from command prompt which is started under Administrator privileges&lt;/P&gt;
&lt;P&gt;- If you use Vista, try to turn off UAC&lt;/P&gt;
&lt;P&gt;- Try to disable anti-virus software (if computer is running any)&lt;/P&gt;
&lt;P&gt;Sorry, you will have to debug this issue. &amp;nbsp;There is no definite answer for this error code.&lt;/P&gt;
&lt;P&gt;Alex&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3241276" width="1" height="1"&gt;</description></item><item><title>re: From MSI to WiX, Part 5 - Custom actions:  Introduction</title><link>http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx#3241148</link><pubDate>Thu, 14 May 2009 14:29:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3241148</guid><dc:creator>Simon Reid</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;I'm trying to get a custom action type 2 working but it keeps failing with error 1721. Do you have any idea why this is? Here is my code.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;&amp;lt;Binary Id=&amp;quot;MyCA&amp;quot; SourceFile=&amp;quot;C:\temp\MyCA.bat&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;CustomAction Id=&amp;quot;DoSomething&amp;quot; BinaryKey=&amp;quot;MyCA&amp;quot; ExeCommand=&amp;quot;&amp;quot; Execute=&amp;quot;deferred&amp;quot; Return=&amp;quot;check&amp;quot; Impersonate=&amp;quot;no&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;InstallExecuteSequence&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Custom Action=&amp;quot;DoSomething&amp;quot; After=&amp;quot;InstallFiles&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/InstallExecuteSequence&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3241148" width="1" height="1"&gt;</description></item></channel></rss>