title: WiX CustomAction ExeCommand failing?
body: <p>I have a command line I want to run during the install of a merge module (created by <a href="http://en.wikipedia.org/wiki/WiX" rel="nofollow">WiX</a>) with the below code.</p>
  
  <pre><code>&lt;CustomAction
      Id='SetWebsiteProtocols'
      Execute='commit'
      Return='ignore'
      Impersonate="yes"
      FileKey='Web.config'
      ExeCommand='c:\windows\system32\inetsrv\appcmd.exe set app "Default Web Site/My Website" /enabledProtocols:http,net.tcp,net.pipe' /&gt;
  
  &lt;InstallExecuteSequence&gt;
      &lt;Custom Action="SetWebsiteProtocols" After="InstallFiles"/&gt;
  &lt;/InstallExecuteSequence&gt;
  </code></pre>
  
  <p>When I run the command on the command line (hard coded at the moment) it works fine. However, when run during an install, it fails. Turning on logging shows the error code 1721, but googling that returns nothing of interest.</p>
  
  <p>How do I fix this problem?</p>