PDA

View Full Version : Installshield will not recognize setup.iss



KradLrobR
12-27-2001, 12:53 PM
I need some help with a silent install. I work for a large Pharma company as an NT Systems Engineer. We are in the process of refreshing all Sales Force laptops with a new Win2K image. Each sales force rep can have any one of 3 HP OfficeJet series printers - T Series, K Series or 600 Series. The task I have at hand is to create silent installs for each of these type of printer/scanner/fax devices. As far as I can tell, HP uses InstallShield to create their setup routines (I'm not sure which version they use however). I am able to create an answer file by runing "setup.exe -r" and it seems to capture all input I pass it during the install (see details below). However, when I try and perform a silent installation using the answer file that was created, the setup routine acts as if the setup.iss file does not even exist. No matter what switches I try (-s /s -silent /silent -quiet /quiet...), it wants to perform an interactive installation.

If anyone feels so inclined, below is a link to the HP software that I am trying to install silently. Please be aware that HP wraps everything in a self-extracting executable, so, you will need to extract the contents from that file first into a temp directory.

http://www.hp.com/cposupport/all_in_one/software/oj741en.exe.html

Here is the contents of the answer file which was generated during the install:

[InstallShield Silent]
Version=v5.00.000
File=Response File
[File Transfer]
OverwriteReadOnly=YesToAll
[DlgOrder]
Dlg0=SdWelcome-0
Count=7
Dlg1=SdLicense-0
Dlg2=SdSetupType-0
Dlg3=SdComponentDialog-0
Dlg4=SprintfBox-0
Dlg5=SdFinish-0
Dlg6=SdFinishReboot-0
[SdWelcome-0]
Result=1
[SdLicense-0]
Result=1
[SdSetupType-0]
szDir=' '
Result=302
[SdComponentDialog-0]
szDir=C:\Program Files\Hewlett-Packard\HP OfficeJet K Series
Component-type=string
Component-count=28
Component-0=data-help
Component-1=io-winsysdrvs
Component-2=io-windowssys
Component-3=gen-bin
Component-4=help-windowssys
Component-5=viewer-bin
Component-6=gen-windowssys
Component-7=scan-bin
Component-8=setupwiz-targdata
Component-9=print-w2ktemp
Component-10=mslibs-windowssys
Component-11=help-bin
Component-12=scandevicespecific-twaindevicespecific
Component-13=fax-bin
Component-14=coverpgs-coverpgs
Component-15=help-help
Component-16=setupwiz-help
Component-17=print-windowssys
Component-18=gen-targprod
Component-19=blackjk-bin
Component-20=print-targdata
Component-21=io-w2ktemp
Component-22=print-bin
Component-23=print-wininf
Component-24=io-w32x86
Component-25=print-w32x86
Component-26=io-wininf
Component-27=gen-w2ktemp
Result=1
[Application]
Name=HPAiO07
Version=1.00.000
Company=Hewlett-Packard
Lang=0009
[SprintfBox-0]
Result=1
[SdFinish-0]
Result=1
bOpt1=0
bOpt2=0
[SdFinishReboot-0]
Result=1
BootOption=3


Is it possible that HP stripped the silent install funtion from their package?

Any help that anyone can provide would be GREATLY appreciated!! I am running short on time since the rollout is scheduled for 01/15/2002.

Thanks,

John

JacobLevin
12-28-2001, 04:37 PM
Without access to the script that controls the install you are trying to run it is difficult to determine what might be going wrong.

You might want to try specifying the response file explicity by using the -f1 switch as follows:

setup.exe /s /f1"C:\MyFolder\My response file.iss"

Also, if you are running the self-extracting executable build of their install, what was the self-extracting executable created with?

PackageForTheWeb? Some other utility?