title: awsdeploy -> msdeploy -> runCommand timeout
body: <p>I am using awsdeploy to deploy an elastic beanstalk ASP.NET MVC application. The application requires Crystal Reports which can only be installed by running a .msi installer (CRRuntime_64bit_13_0_6.msi). </p>
  
  <p>To run the installer as part of the deployment I have added a custom target like so:</p>
  
  <pre><code>&lt;!--install msi--&gt;
    &lt;Target Name="InstallCrystalReports" AfterTargets="AddIisSettingAndFileContentsToSourceManifest"&gt;
      &lt;Message Text="Install Crystal Reports msi" /&gt;
      &lt;ItemGroup&gt;
        &lt;MsDeploySourceManifest Include="runCommand"&gt;
          &lt;Path&gt;c:\mypath\installCrystalReports.cmd&lt;/Path&gt;
          &lt;waitAttempts&gt;20&lt;/waitAttempts&gt;
          &lt;waitInterval&gt;300000&lt;/waitInterval&gt;
          &lt;dontUseCommandExe&gt;false&lt;/dontUseCommandExe&gt;
          &lt;AdditionalProviderSettings&gt;waitAttempts;waitInterval;dontUseCommandExe&lt;/AdditionalProviderSettings&gt;
        &lt;/MsDeploySourceManifest&gt;
      &lt;/ItemGroup&gt;
    &lt;/Target&gt;
  </code></pre>
  
  <p>The install can take around a minute and I can view the log files created by the installer to see that it has been started OK. However, runCommand will only let it run for a maxiumum of 5 seconds before terminating it with an error. Changing waitAttempts and waitInterval appears to have no impact. </p>
  
  <p>Below in an excerpt from "C:\Program Files\Amazon\ElasticBeanstalk\logs\AWSDeployment.log" which shows how awsdeploy/msdeploy is prematurely terminating the install.</p>
  
  <pre><code>2013-08-19 12:42:11,428 INFO 5 DeploymentLog - C:\mypath&gt;msiexec /i  CRRuntime_64bit_13_0_6.msi /quiet /norestart /l C:\mypath\CRRuntime_64bit_13_0_6.txt 
  
  2013-08-19 12:42:12,426 WARN 1 AWSBeanstalkCfnDeploy.DeploymentUtils - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 1 of 5).
  2013-08-19 12:42:12,426 WARN 1 DeploymentLog - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 1 of 5).
  2013-08-19 12:42:13,440 WARN 1 AWSBeanstalkCfnDeploy.DeploymentUtils - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 2 of 5).
  2013-08-19 12:42:13,440 WARN 1 DeploymentLog - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 2 of 5).
  2013-08-19 12:42:14,454 WARN 1 AWSBeanstalkCfnDeploy.DeploymentUtils - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 3 of 5).
  2013-08-19 12:42:14,454 WARN 1 DeploymentLog - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 3 of 5).
  2013-08-19 12:42:15,468 WARN 1 AWSBeanstalkCfnDeploy.DeploymentUtils - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 4 of 5).
  2013-08-19 12:42:15,468 WARN 1 DeploymentLog - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 4 of 5).
  2013-08-19 12:42:16,482 WARN 1 AWSBeanstalkCfnDeploy.DeploymentUtils - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 5 of 5).
  2013-08-19 12:42:16,482 WARN 1 DeploymentLog - The process 'C:\Windows\system32\cmd.exe' (command line '') is still running. Waiting for 1000 ms (attempt 5 of 5).
  2013-08-19 12:42:16,482 ERROR 1 AWSBeanstalkCfnDeploy.DeploymentUtils - Exception during deployment.
  </code></pre>
  
  <p>Any ideas how I can up the increase the timeout so the installer will run to success? Or any other ideas how I could get the installer run as part of the deployment?</p>