title: Batch file to install multiple programs silently
body: <p>I want to create a batch file which will install multiple programs sequentially.
  I am able to install the required softwares sequentially using following code in batch file:</p>
  
  <pre><code>@echo off
  "Path/software1.exe"
  "Path/software2.exe"
  "Path/software3.exe"
  "Path/software4.exe"
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>@echo off
  start /wait "Path/software1.exe"
  start /wait "Path/software2.exe"
  start /wait "Path/software3.exe"
  start /wait "Path/software4.exe"
  </code></pre>
  
  <p>But here before installing any software I want to check if it is already installed or not. </p>
  
  <p>I have tried getting the list of installed softwares using following two ways:</p>
  
  <pre><code>wmic product get name
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp.txt /y
  </code></pre>
  
  <p>But then I would have to search strings which isn't feasible. Thus I would like to know if their is any command to check if a particular application is installed or not using a batch file?
  Thanks in advance.</p>