/build/static/layout/Breadcrumb_cap_w.png

Adobe reader repair script

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?

-Jouko-

0 Comments   [ + ] Show comments

Answers (2)

Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
0
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)

oView.Execute

Set oRecord = oView.Fetch

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

Set oInst = Nothing
Posted by: Joukoo 19 years ago
Yellow Belt
0
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.. :)

-J-
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ