I need to install an Outlook plugin ".exe" file to specific several PCs in the network. The plugin requires the following prerequisites to be installed that I would like to have the script install as well prior to the plugin:
a. MS VSTO 2010 Runtime
b. MS .NET Framework 4.0
I could generate an MSI from the EXE by running : setup.exe /b”<\PathToExtractMSI”>. Once that is done the MSI can be installed silently via the following command: msiexec /i “<\PathToMSI”> /quiet
The plugin comes in 2 architectures "x86 & x64". Therefore; I was wondering if there is a way to create a script "VBS, batch or PS" that would check for Outlook architecture and execute the compatible installer. What's more; the plug in is compatible with Outlook 2010 and above, so we also need to make sure that the script checks for Outlook's version and stop executing the script if the return result isn't Outlook 2010 and above.....
I know that I can check for Outlook architecture by:
if exist "C:\Program Files (x86)\Microsoft Office\Office15\outlook.exe" set OutlookArch=32
if exist "C:\Program Files\Microsoft Office\Office15\outlook.exe" set OutlookArch=64
Any suggestions... please advise.