title: Create Batch file for iexpress
body: <p>I am trying to use <code>iexpress</code> to run my batch file which will execute the 2 exe  &amp; 1 msi files for me. when i try to do it manually, it works. </p>
  
  <p>following is the code in my batch file.</p>
  
  <pre><code>Start /wait %CD%\1.exe /q
  Start /wait %CD%\2.exe /q
  msiexec.exe /i "%CD%\3.msi" 
  </code></pre>
  
  <p>but this doesn't seem to be working when i create an exe file from iexpress.
  <img src="https://i.stack.imgur.com/kjhks.png" alt="enter image description here"></p>
  
  <p><a href="http://www.itscodingtime.com/post/Combine-Setup-MSI-and-EXE-into-a-single-package-with-IExpress.aspx" rel="nofollow noreferrer">Reference</a> </p>
  
  <p>Above mentioned article has some code(to copy files to temp folder) &amp; but i am not able to understand the syntax.</p>
  
  <pre><code>MKDIR %Tmp%\&lt;UNIQUE PRODUCT NAME&gt;
  XCOPY . %Tmp%\&lt;UNIQUE PRODUCT NAME&gt; /S /E /Y
  %Tmp%\&lt;UNIQUE PRODUCT NAME&gt;\setup.exe
  </code></pre>