cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
CodespringsMike
Level 4

ResultCode -3 trying to run in silent mode

I have an InstallScript project that I am trying to run in silent mode but no matter what I do, I always get a ResultCode -3.

I tried simply running Setup.exe /r and recording my input, then running the installer with the recorded Setup.iss file and I get ResultCode-3 every time.

There are no custom dialogs in the installer, it is a pretty straight forward install. It does have a SQL Server dialog (the built in InstallShield dialog) but nothing special.

Anyone have any ideas???
Labels (1)
0 Kudos
(5) Replies
CodespringsMike
Level 4

Here is the output from recording the setup.iss file:

[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{10C31E41-B352-4D25-AFB5-6748EE7D4359}-DlgOrder]
Dlg0={10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdWelcome-0
Count=5
Dlg1={10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdAskDestPath-0
Dlg2={10C31E41-B352-4D25-AFB5-6748EE7D4359}-SQLServerSelectLogin-0
Dlg3={10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdStartCopy2-0
Dlg4={10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdFinish-0
[{10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdWelcome-0]
Result=1
[{10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdAskDestPath-0]
szDir=C:\MySoftproShare
Result=1
[{10C31E41-B352-4D25-AFB5-6748EE7D4359}-SQLServerSelectLogin-0]
szUser=' '
szPass=' '
szServer=(local)
szDB=' '
szAuthen=1
Result=1
[{10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdStartCopy2-0]
Result=1
[Application]
Name=SoftPro Select Server
Version=2.0.11031.0
Company=SoftPro
Lang=0009
[{10C31E41-B352-4D25-AFB5-6748EE7D4359}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0
[{BFD0C388-BE3F-4659-A472-D8732907B691}-DlgOrder]
Count=0
[{5536BF8F-479B-4B71-96EA-7AD8802756CF}-DlgOrder]
Count=0
0 Kudos
m_rudolph
Level 6

I had the same issue and never could get it working. Do any of the dialogs launch another window per chance? Like an browse window, etc.
0 Kudos
CodespringsMike
Level 4

During recording I do open a browse window to change the InstallDir. The only other dialogs are dialogs that are launched via a separate exe and do not require any input (just status dialogs).
0 Kudos
m_rudolph
Level 6

Try it without changing the install dir by just taking the default and see if it fails still.
0 Kudos
CodespringsMike
Level 4

Trying it without changing the install directory worked! Sorry it took so long to respond but I had to change the installer some to get this to work.

So it seems like a BUG that if you change the target directory when recording your iss file, it does not work.

Thanks for the suggestion.
0 Kudos