Help - Search - Members - Calendar
Full Version: Adobe Acrobat Reader 5.1 - having trouble
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
JPamplin
Folks,

OK, I'm stumped on this one, and I can't seem to find it anywhere on the forum. I'm using Acrobat Reader 5.1 instead of 6 because it's smaller, I hate the little ads in the 6.0 toolbar and 6.0 doesn't really bring anything significant to the table in terms of new functionality.

I extracted the exe file with WinZip and ran the Setup program with the -R to generate the setup.iss file that InstallShield needs to run silent. I moved that file from c:\Windows to my Install directory and ran:

d:\Install\AcroRd51\setup.exe -s -f1d:\Install\AcroRd51\setup.iss

I've also tried /s /f1 with and without spaces for the .iss file path, which according to this page is the correct syntax. I try to launch it in my [GuiRunOnce] routine and it just skips it entirely, or if I manually launch it in WinXP, the setup program just sits there and nothing happens.

Anyone get the 5.1 reader to install silently? Do I need to extract the installer files in some other way?

Any hints would be appreciated, thanks.

JP
JPamplin
Whoa, slow down on those responses! I'm buried here. ;-)

Seriously, I'm sure somebody had to successfully install 5.1 before 6.0 came out. Anyone remember how to do it?

Thanks,

JP
homiebrah
Unless it's a typo, your command line is missing two quotes.

Try this command out:

d:\Install\AcroRd51\setup.exe -s -f1"d:\Install\AcroRd51\setup.iss"
JPamplin
Homie,

Thx for the response. I did what you said, and even generated another setup.iss file, and nothing happened, but it generated a setup.log file:

CODE
[InstallShield Silent]
Version=v5.00.000
File=Log File
[ResponseResult]
ResultCode=-12


So I'm assuming it has come across some kind of error to prevent it from installing. Anyone know where InstallShield result codes are listed?

Also, I used WinZip to extract the .exe into its individual files. Should I be using some other method?

Thanks again, folks!

JP
JPamplin
Solved!

I've figured out how to perform a silent install with Acrobat Reader 5.1. I generated the setup.iss file by extracting all the files and running setup.exe -R. Then, I moved the setup.iss file from c:\windows to my install folder. But then, I had to edit the ABCPY.INI file switching some of the values, as shown below:

CODE
;***************************************************************
;Adobe Installer External Configuration File: Abcpy.ini
;***************************************************************

;***************************************************************
;Main Section
;The (Product) key is a required key
;***************************************************************
[MAIN]
Product=Acrobat Reader 5.0.5
ReaderProduct=Acrobat Reader 5.1
AbcpyVersion=1.2


;***************************************************************
;OEM Installation Options
;***************************************************************
[OEM Install]
SetupTitle=
SetupCaptionBarTitle=
DisplayWelcomeDlg=NO
DisplayEULA=NO
DisplayTypeOfInstallDlg=NO
DisplaySelectDestDirDlg=NO
DisplayCustomDlg=NO
DisplayUserInfoDlg=NO
DisplayConfirmRegDlg=NO
DisplayStartCopyDlg=NO
DisplayFinishDlg=NO
DisplayFinalMessage=NO
DisplayRebootDlg=NO
DisplayMaintUIDlg=NO
ProgGroupName=
DefaultDestDir=
OverrideDestinationPath=NO
UserName=
UserCompanyName=
UserSerialNumber=
DisplayBackGround=YES
DisplayProgressBar=
ProgressBarStart=
ProgressBarEnd=
CloseRunningApps=YES
InstallModeSilent=YES
UninstallCombineVersions=YES
UninstallPreviousVersions=YES
UninstallModeSilent=NO
PDFOutputFolder=

;***************************************************************
;OEM Setup Type - Set "TYPE=Typical", "TYPE=Compact",
;                            "TYPE=Custom" or leave blank.
;                            If used, set "DisplayTypeOfInstallDlg=NO"
;                            in OEM Install section
;***************************************************************
[SetupType]
TYPE=

;***************************************************************
; OEM Component Selection Installation Options
; (To use this section, must set "TYPE=Custom" in SetupType)
; (To deselect a component,set"CompXEnabled=NO")
; (DO NOT CHANGE NUMBERS)
;***************************************************************
[Components]
NUMBER=2

;---Acrobat Reader Files
Comp1Parent=Acrobat Reader Files
Comp1=Reader Program Files
Comp1Enabled=YES

;---AdobePhoto Plugin
Comp2Parent=AdobePhoto Plugin
Comp2=AdobePhoto Plugin
Comp2Enabled=YES

;***************************************************************
;**** OEM Remove Shortcut
;***************************************************************
[OEM Remove Shortcut]
Reader=YES

;***************************************************************
;**** Comp1 BlindCopy -> "Reader Program Files"
;**** Perform Blind copy for this enabled component -
;**** "Comp1 BlindCopy" refers to Comp1 above - Blind copy to
;**** be performed ONLY if this component is selected for install
;**** Max BlindCopy sections = total number of components above
;***************************************************************
[Comp1 BlindCopy]
NumberOfGroups=1


Group1Platform=All
Group1Language=All

;--Requirement Objects
Group1NumberOfRequirements=
Group1Requirement1=
Group1RegEditFile=

;--File Objects
Group1NumberOfFiles=
Group1DestDir=
Group1Loc=

Group1FileName1=
Group1File1ExpandType=

Group1FileName2=
Group1File2ExpandType=DateWithSubDir

;--Shortcut Objects
Group1NumberOfIcons=
Group1Icon1Style=
Group1Icon1Folder=
Group1Icon1SubFolder=
Group1Icon1Exe=
Group1Icon1ExeSubDir=
Group1Icon1Description=
Group1Icon1Number=

Group1Icon2Style=
Group1Icon2Folder=
Group1Icon2SubFolder=
Group1Icon2Exe=
Group1Icon2ExeSubDir=
Group1Icon2Description=
Group1Icon2Number=
Group1Icon2App=
Group1Icon2AppLoc=

;--Registry Objects
Group1NumberOfRegEntries=2
Group1RegEntry1Platform=ALL
Group1RegEntry1ParentKey=HKEY_CURRENT_USER
Group1RegEntry1Key=Software\Adobe\Acrobat Reader\5.0\AdobeViewer
Group1RegEntry1ValueName=TrustedMode
Group1RegEntry1ValueType=NUMBER
Group1RegEntry1ValueData=0

Group1RegEntry2Platform=ALL
Group1RegEntry2ParentKey=HKEY_LOCAL_MACHINE
Group1RegEntry2Key=Software\Adobe\Acrobat Reader\5.0\AdobeViewer
Group1RegEntry2ValueName=TrustedMode
Group1RegEntry2ValueType=NUMBER
Group1RegEntry2ValueData=0

;--INI Objects
Group1NumberOfIniEntries=
Group1IniEntry1Platform=
Group1IniEntry1FileLoc=
Group1IniEntry1FileName=
Group1IniEntry1Section=
Group1IniEntry1Key=
Group1IniEntry1Value=

;--Launch Objects
[Launches]
NumberOfLaunches=
Launch1Platform=ALL
Launch1Language=ALL
Launch1Type=EXE
Launch1Program=
Launch1CmdLine=
Launch1ChangeDir=
Launch1Wait=YES


Notice under OEM Remove Shortcut, Reader=YES - that removes the desktop icon (leave blank if you want to keep it there). Also, under OEMInstall, I switched all the Dialog display flags to NO and InstallModeSilent=YES.

Then, using the setup.exe /S switch installed the application with no dialogs and no other issues. Works perfectly.

So, if any of you still want to use the previous version of Reader, this is how you do it. Feel free to copy/paste the above INI file and use it.

JP
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.