title: Batch file to uninstall a program
body: <p>I'm trying to uninstall a program EXE via batch file and am not having any success.</p>
  
  <p>The uninstall string found in the registry is as follows:</p>
  
  <pre><code>C:\PROGRA~1\Kofax\Capture\ACUnInst.exe /Workstation
  C:\PROGRA~1\Kofax\Capture\UNWISE.EXE /U 
  C:\PROGRA~1\Kofax\Capture\INSTALL.LOG
  </code></pre>
  
  <p>If I run that from CMD or batch it does nothing.</p>
  
  <p>If I run <code>C:\PROGRA~1\Kofax\Capture\UNWISE.EXE /U</code> from CMD it will open up a dialog box to point to the INSTALL.LOG file and then proceed to uninstall. </p>
  
  <p>At the end, it will ask me to click finish. </p>
  
  <p>I need this to be silent, can you point me in the right direction? This is on XP and 7.</p>