/build/static/layout/Breadcrumb_cap_w.png

Adobe Reader packaging not silently upgrading fro, 9.1.1 to 9.1.3

I followed the instructions in the notes (http://itninja.com/link/a-second-record-exists-for-this-alternative-name-here) to use Adobe Customization wizard to create and edit my own mst file.

My setup.ini looks like this:

[Startup]
RequireOS=Windows 2000
RequireMSI=3.0
RequireIE=6.0.2600.0
CmdLine=/sall /rs

[Product]
msi=AcroRead.msi
msi=AdbeRdrSD90_all.msi
PATCH=AdbeRdrUpd911_all_incr.msp;AdbeRdrUpd912_all_incr.msp;AdbeRdrUpd913_all_incr.msp
CmdLine=TRANSFORMS="AcroRead.mst"

[Windows 2000]
PlatformID=2
MajorVersion=5
ServicePackMajor=4

[MSI Updater]
Path=http://ardownload.adobe.com/pub/adobe/reader/win/8.x/8.0/misc/WindowsInstaller-KB893803-v2-x86.exe

******
I can install silently and successfully from Adobe Reader 7 or 8 to 9.1.3. When trying to upgrade from 9.1.0 or 9.1.1 or 9.1.2 to 9.1.3, the installer shows up visibly and asks me if i want to repair/remove the software.

I plan to use Microsoft System Centre Config Manager to install but stuck on why Adobe is asking me to repair the software. Shouldn't it upgrade? Anyone have tips to bypass this?

My other plan would be to

1. Run a bat file to remove all Adobe Reader 9.1.x version (start /wait Msiexec /uninstall {AC76BA86-7AD7-1033-7B44-A91000000001} /q /norestart)

2. Then run my custom package above.

I would rather not run the bat file and have adobe install it directly.

Thank you,
Clint

0 Comments   [ + ] Show comments

Answers (7)

Posted by: pjgeutjens 15 years ago
Red Belt
0
CmdLine=TRANSFORMS="AcroRead.mst"

maybe try CmdLine=TRANSFORMS="AcroRead.mst" /qn
Posted by: darkfang 15 years ago
Blue Belt
0
Remove AdbeRdrUpd911_all_incr.msp from your Patch= List

I had similar problem and was solved when I remove it.

msiexec /i AdbeRdr910_en_US.msi TRANSFORMS=MyMst.mst /UPDATE %INST%\AdbeRdrUpd912_all_incr.msp;%INST%\AdbeRdrUpd913_all_incr.msp /l*v %WIN%\TEMP\adobeReader9.log /qb
Posted by: anonymous_9363 15 years ago
Red Belt
0
Running patches against clients isn't the professional way.

Create an Administrative Install Point (AIP), patch that and run the resulting MSI. As I'm paranoid to the point of distraction, I back up the MSI & changed files in the AIP after each patch but that's your choice.
Posted by: comatose 15 years ago
Senior Yellow Belt
0
Hi All!

Thanks :D

Would this work (removed the update for 9.1.1)

Startup]
RequireOS=Windows 2000
RequireMSI=3.0
RequireIE=6.0.2600.0
CmdLine=/sall /rs

[Product]
msi=AcroRead.msi
msi=AdbeRdrSD90_all.msi
PATCH=AdbeRdrUpd912_all_incr.msp;AdbeRdrUpd913_all_incr.msp
CmdLine=TRANSFORMS="AcroRead.mst"

[Windows 2000]
PlatformID=2
MajorVersion=5
ServicePackMajor=4

[MSI Updater]
Path=http://ardownload.adobe.com/pub/adobe/reader/win/8.x/8.0/misc/WindowsInstaller-KB893803-v2-x86.exe
Posted by: comatose 15 years ago
Senior Yellow Belt
0
Well I almost got it to work.

1. First I created an admin install with the notes by Franks from http://itninja.com/link/a-second-record-exists-for-this-alternative-name-here
2. Now armed with my 9.1.3 installer I need to check if Adobe 9.1.0 to 9.1.2 is installed. If so then it will remove the older version and upgrade.

VBS file to check, uninstall if needed and install:


Dim oShell
Set oShell = CreateObject("WScript.Shell")
sKeyPath= "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-5464-3428-900000000004}"
If RegKeyExists(sKeyPath) then
oShell.Run "Z:\Adobe\UnInstall_AcrobatReader9.1.x.vbs"
oShell.Run "Z:\Adobe\Install_AcrobatReader9.1.3.bat"
Else
oShell.Run "Z:\Adobe\Install_AcrobatReader9.1.3.bat"
end if

Function RegKeyExists(ByVal sRegKey)
' Returns True or False based on the existence of a registry key.
' This part is a compliment from Torgeir Bakken.

Dim sDescription

RegKeyExists = True
sRegKey = Trim (sRegKey)
If Not Right(sRegKey, 1) = "\" Then
sRegKey = sRegKey & "\"
End If

On Error Resume Next
oShell.RegRead "HKEYNotAKey\"
sDescription = Replace(Err.Description, "HKEYNotAKey\", "")

Err.Clear
oShell.RegRead sRegKey
RegKeyExists = sDescription <> Replace(Err.Description, sRegKey, "")
On Error Goto 0
End Function

The above VBS calls another VBS to uninstall -> UnInstall_AcrobatReader9.1.x.vbs :

On Error Resume Next
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "Msiexec /uninstall {AC76BA86-7AD7-1033-7B44-A91000000001} /q /norestart"

After this uninstall runs, this bat file is called to run ->Install_AcrobatReader9.1.3.bat

@ECHO OFF
ECHO Installing Adobe Reader 9

Msiexec /I "Z:\Adobe\AcroRead.msi" transforms="Z:\Adobe\AcroRead.mst" /qn /l*v Z:\Adobe\adobeReader9.log

exit


My only issue is that once the uninstaller runs, the installer for 9.1.3 runs immediately and hence fails because the system has not uninstalled the older version yet. How can I make the bat file wait - say for about 10 minutes?

Regards,
Clint
Posted by: anonymous_9363 15 years ago
Red Belt
0
How can I make the bat file wait - say for about 10 minutes? Easy: don't use a batch file but control the whole thing with a VBS. That way, you can add proper error-trapping, since the current code has none.

Once you've done that, re: waiting for execution completion, look up the parameter list for the .Run method on MSDN.
Posted by: Simon_D_M 14 years ago
Yellow Belt
0
My only issue is that once the uninstaller runs, the installer for 9.1.3 runs immediately and hence fails because the system has not uninstalled the older version yet.

start /wait msiexec.exe ...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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