I am trying to create vbscript that will check to see what version of Adobe Reader is installed. If version 9.0 is installed the script needs to change a value in the register.
We deployed Adobe Reader 9.1 via GPO and now anyone with 9.1 cannot open pdf's in a web browser. I found if I change this registry path from version 8 to 9 you are now able to open pdf's in a web browser.
This is an export of the registry value
rogram Files\\Adobe\\Reader 9.0\\Reader\\AcroRd32.exe\
If anyone has any other ideas other then script I am all ears. Here is was I have so far for the script.
Const REG_SZ = "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"
If filesys.FolderExists("C:\Program Files\Adobe\Reader 9.0") Then
Set Shell = CreateObject( "WScript.Shell" )
WshShell.RegWrite "HKCR\Software\Adobe\Acrobat\Exe\", "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe", "REG_SZ"
' do nothing