/build/static/layout/Breadcrumb_cap_w.png

InstallShield error -3 and -5 Debug?

So I am trying to silently install a program using a .iis file. I have put the file in the correct directory i have pointed to it with the -f1 switch and I have tried everything but for some reason it keeps failing. Note: The setup.exe and setup.iis are in the same folder (and i created the iis using the -r switch)

I am getting error -5 which means it can not find the file specified but it is in that directory and i also get a -3 when i do not include the -f1 switch.

-5 File does not exist
-3 Required data not found in the Setup.iss file

Any help debugging this or what i could do to debug it (maybe a more in depth debug switch) would be appreciated.

These are the commands i have tried and for all of them gotten the error code -5

Command

C:\OrCad16>setup.exe -s -SMS -f1C:\OrCad16\setup.iis
C:\OrCad16>setup.exe -s -SMS -f1"C:\OrCad16\setup.iis"
C:\OrCad16>setup.exe -s -f1"C:\OrCad16\setup.iis"
C:\OrCad16>setup.exe -s -f1C:\OrCad16\setup.iis

Log File
[InstallShield Silent]
Version=v7.00
File=Log File
[ResponseResult]
ResultCode=-5

And when i take out the switch for -f1 i get error code -3

C:\OrCad16>setup.exe -s
C:\OrCad16>setup.exe -s -SMS

Log File
[InstallShield Silent]
Version=v7.00
File=Log File
[ResponseResult]
ResultCode=-3

0 Comments   [ + ] Show comments

Answers (11)

Posted by: turbokitty 15 years ago
6th Degree Black Belt
1
FYI.. It's ISS not IIS.
Posted by: nickm78 6 years ago
Senior Yellow Belt
0
try install.iss 

you write install.iis in your command... rc -5 = file not found 
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
- Answer files don't always work. What's in your ISS.. open it in Notepad.

- Did you check if there is an Installscript MSI in your setup?

- Try slashes instead of hyphens.
Setup.exe /s /f1"C:\Temp\Setup.iss"

http://documentation.installshield.com/robo/projects/HelpLibDevStudio9/IHelpSetup_EXECmdLine.htm
Posted by: dannyboygeek 15 years ago
Senior Yellow Belt
0
I have tried / and - and quotes around the path with all the switches and i always seem to get the same error either -3 or -5. as for chicking if there is an install script MSI i have not done that... How would i go about doing so?

Here is the information in the setup.iis file
[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-DlgOrder]
Dlg0={FF9312A2-9810-40E2-9954-617DDE7B123F}-SdLicense2-0
Count=14
Dlg1={FF9312A2-9810-40E2-9954-617DDE7B123F}-InstallOptions-0
Dlg2={FF9312A2-9810-40E2-9954-617DDE7B123F}-MessageBox-0
Dlg3={FF9312A2-9810-40E2-9954-617DDE7B123F}-LICENSE_MANAGER_COMMUNICATION_DLG-0
Dlg4={FF9312A2-9810-40E2-9954-617DDE7B123F}-ASK_CONTROL_FILE_DLG-0
Dlg5={FF9312A2-9810-40E2-9954-617DDE7B123F}-SELECT_PRODUCTS_DLG-0
Dlg6={FF9312A2-9810-40E2-9954-617DDE7B123F}-ASKPATHDLG-0
Dlg7={FF9312A2-9810-40E2-9954-617DDE7B123F}-ASK_OPTIONS_HLP_DLG-0
Dlg8={FF9312A2-9810-40E2-9954-617DDE7B123F}-SdSelectFolder-0
Dlg9={FF9312A2-9810-40E2-9954-617DDE7B123F}-SdStartCopy-0
Dlg10={FF9312A2-9810-40E2-9954-617DDE7B123F}-AskYesNo-0
Dlg11={FF9312A2-9810-40E2-9954-617DDE7B123F}-AskYesNo-1
Dlg12={FF9312A2-9810-40E2-9954-617DDE7B123F}-SdFinishReboot-0
Dlg13={FF9312A2-9810-40E2-9954-617DDE7B123F}-SprintfBox-0
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-SdLicense2-0]
Result=1
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-InstallOptions-0]
Result=0
sMainOption=Install Products
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-MessageBox-0]
Result=1
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-LICENSE_MANAGER_COMMUNICATION_DLG-0]
Result=1
bRedundant=0
listHostNames-type=string
listHostNames-count=1
listHostNames-0=license1.hq.boston-engineering.com
listPorts-type=number
listPorts-count=1
listPorts-0=5280
sPath=' '
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-ASK_CONTROL_FILE_DLG-0]
Result=1
sPath=' '
sFile=' '
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-SELECT_PRODUCTS_DLG-0]
nId=1
sTargetDir=C:\OrCAD\OrCAD_16.0
sComponents=' '
listComponents-type=string
listComponents-count=25
listComponents-0=PO100E
listComponents-1=PO100J
listComponents-2=PO1100
listComponents-3=PO1110
listComponents-4=PO1120
listComponents-5=PO1310
listComponents-6=PO1320
listComponents-7=PO1331
listComponents-8=PO1332
listComponents-9=PO1336
listComponents-10=PO1340
listComponents-11=PO1400
listComponents-12=PO1410
listComponents-13=PO1420
listComponents-14=PO1510
listComponents-15=PO1520
listComponents-16=PO1530
listComponents-17=PO1540
listComponents-18=PO1600
listComponents-19=PO200E
listComponents-20=PO200J
listComponents-21=PO3005
listComponents-22=PO3010
listComponents-23=PO3030
listComponents-24=PO3400
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-ASKPATHDLG-0]
Result=0
sResultPath=C:\Temp\OrCAD_Data
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-ASK_OPTIONS_HLP_DLG-0]
Result=1
bViewAllegroFootprints=0
bViewLayoutFootprints=0
bViewNoFootprints=1
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-SdSelectFolder-0]
szFolder=OrCAD 16.0
Result=1
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-SdStartCopy-0]
Result=1
[Application]
Name=Release OrCAD 16.0
Version=16.0
Company=Cadence Design Systems
Lang=0009
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-AskYesNo-0]
Result=1
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-AskYesNo-1]
Result=0
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-SdFinishReboot-0]
Result=1
BootOption=0
[{FF9312A2-9810-40E2-9954-617DDE7B123F}-SprintfBox-0]
Result=1
Posted by: dannyboygeek 15 years ago
Senior Yellow Belt
0
My fault i keep writing iis but i do mean iss
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
Are you sure you're not just typing "blah.iis" instead of "blah.iss"?


If you run the setup.exe, when it gets to the first dialog box browse to the folder %temp%

Sort the files by modified date and take a look for an MSI file either in the root or in a subfolder.

If you find one, we can point you to some instructions on installing an Installscript MSI.
Posted by: dannyboygeek 15 years ago
Senior Yellow Belt
0
I am positive it is iss and i have verified it multiple times and also rerun the commands just to make sure. I tried looking into the temp folder and searched the entire directory for *.msi files it returned a few files but non related to the program i am trying to install. I also extracted all the files from the EXE as well to see if it was in there and there is only a handful of files (.data .rdata .rsrc .text and CERTIFICATE)
Posted by: dannyboygeek 15 years ago
Senior Yellow Belt
0
It is accessing the setup.iss but for some reason when it gets in the file it fails. I pointed -f1 to a non existent file and i got the -5 error. However when it is properly pointed i get a -3 error code.
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
I see you posted a log file above. Was that the result of an -f2 parameter? Setup.exe /s /f2"C:\Setup.log"

You aren't going to want to hear this, but answer files don't always work. You could try stripping pieces out to see where it fails. You could also try the Acresso forums.

What you should think about is managing this install. Once it's down on the machine, can you silently uninstall it? A lot of these won't. You might be better off repackaging this.
Posted by: dannyboygeek 15 years ago
Senior Yellow Belt
0
Ok,

How would i go about repackaging the install?
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
You haven't done that before I'm assuming. This is opening a can of worms now. If the app uninstalls silently, maybe you should ask for help in the Acresso forums first before repackaging as repackaging requires a fair bit of skill.

Does your company own Wise or AdminStudio/Installshield?
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