title: How to know if the VBA component of Office is installed?
body: <p>My Excel addin requires the Visual Basic for Applications option of Excel to be installed in order for it to work. I would like my install (which is written with InnoSetup) to be able to detect if VBA is installed and warn the user if it is not.</p>
  
  <p>How can I detect if the option is already installed?</p>
  
  <p><a href="https://i.stack.imgur.com/FM0KL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FM0KL.png" alt="alt text"></a>
  </p>