title: How to get version number in registry and install new software using batch file?
body: <p>I would like to check the current version of Muvizu in the registery and then if it equals the latest version don't do anything if not install a new version. I would like this to run from batch.</p>
  
  <p>I have looked at some websites such as this one :</p>
  
  <p><a href="http://www.msfn.org/board/topic/113643-batch-file-that-check-version-in-registry/" rel="nofollow noreferrer">http://www.msfn.org/board/topic/113643-batch-file-that-check-version-in-registry/</a></p>
  
  <p>but I'm struggling to adapt the code and get it working.</p>
  
  <p>The register setting that needs to be queried is : 
  HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Muvizu
  and the node is DisplayValue and the value of the latest version is 2013.10.25.01R</p>
  
  <p>so essentially I need some wizzy batch code that will do the following:</p>
  
  <p>Check regkey, 
  if regkey display version = 2013.10.25.01r, do nothing,
  else,
  run installer</p>