Is there a way to run Adobe reader 7.0.1 repair option normally started from control panel, add remove programs.. silently without user intervention?

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Msiexec /f {ProductCode}

If you don't know the ProductCode then save the following script as a ".vbs" file, and then drag/drop a copy of the MSI used to install Acrobat Reader onto the script.

Const msiOpenDatabaseModeDirect = 2

Set oInst = CreateObject("WindowsInstaller.Installer")

sDBPath = Wscript.Arguments(0)

Set oDB = oInst.OpenDataBase(sDBPath, msiOpenDatabaseModeDirect)

sQuery = "SELECT `Value` FROM `Property` WHERE `Property` = 'ProductCode'"

Set oView = oDB.OpenView(sQuery)


Set oRecord = oView.Fetch

InputBox "ProductCode is the following:", "PRODUCT CODE", oRecord.StringData(1)

Set oInst = Nothing
Answered 05/18/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
Thanks a lot Wise, worked like a charm after scratching my head for a while and tried to understand what the script is used for.. :)

Answered 05/20/2005 by: Joukoo
Yellow Belt

Please log in to comment