Software Deployment Question

Adobe reader repair script

05/15/2005 3356 views
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   [ + ] Show comments


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

All Answers

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

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

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