/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

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

Answers

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
Answered 05/18/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
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-
Answered 05/20/2005 by: Joukoo
Yellow Belt

Please log in to comment