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

Error in silent mode: ResultCode=-3

Hi all,
I'm working with my InstallScript MSI project. In my project, I have some default dialogs of InstallShield and some dialogs which I created.
I want to run my project in silent mode so in dialogs that I created, I implemented some scripts to record file .iss (MODE = RECORDMODE) and read from file .iss(MODE = SILENTMODE).
When I run my project in record mode: ...setup.exe /r /f1"C:\setup.iss".
I see setup.iss file generated for me with content:
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-DlgOrder]
Dlg0={C45EE014-503A-4849-83A3-4FD8B66A9277}-SdWelcome-0
Count=9
Dlg1={C45EE014-503A-4849-83A3-4FD8B66A9277}-AskYesNo-0
Dlg2={C45EE014-503A-4849-83A3-4FD8B66A9277}-InputIP-0
Dlg3={C45EE014-503A-4849-83A3-4FD8B66A9277}-SdRegisterUser-0
Dlg4={C45EE014-503A-4849-83A3-4FD8B66A9277}-AskYesNo-1
Dlg5={C45EE014-503A-4849-83A3-4FD8B66A9277}-SelectFolder2-0
Dlg6={C45EE014-503A-4849-83A3-4FD8B66A9277}-SetupType2-0
Dlg7={C45EE014-503A-4849-83A3-4FD8B66A9277}-SdStartCopy2-0
Dlg8={C45EE014-503A-4849-83A3-4FD8B66A9277}-SdFinish-0
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-SdWelcome-0]
Result=1
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-AskYesNo-0]
Result=1
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-InputIP-0]
Server=ABC
Result=1
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-SdRegisterUser-0]
szName=ABC
szCompany=HOME
Result=1
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-AskYesNo-1]
Result=1
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-SelectFolder2-0]
PathProgram=C:\Program Files\ABCTechnology
PathData=C:\Documents and Settings\All Users\Application Data\ABCTechnology
Result=1
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-SetupType2-0]
Result=304
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-SdStartCopy2-0]
Result=1
[{C45EE014-503A-4849-83A3-4FD8B66A9277}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0


After that I run my project in silent mode: ...setup.exe /s /f1"C:\setup.iss".
In exe folder, I see setup.log file with content:
[ResponseResult]
ResultCode=-3


I know that result code means: Required data not found in the Setup.iss file.
I wonder: the setup.iss file is the file that InstallShield automatically generated for me when I run project in record mode. And Its content follow me is enough. So what does the "ResultCode=-3" here mean ? What is the required data not found in the Setup.iss files ?

Can any one help me ? Thank u very much.
Labels (1)
0 Kudos
(3) Replies
ChandanOmkar
Level 8

Actually i have checked that in the silent mode with anwer file the setup is not able to detect the selected features. It always consider that all the features are selected, and all the code will execute. So, if some dialogs or aprt of code is related to a specific feature, that code will execute during the silent mode even if the specific feature is not selected. May be thats an issue of IS.
So better you can debug your setup using ISDbg.exe during sielnt installation using answer file and check where its terminating.

This happens if any custom dialog is added in the setup. May be This link will help you.

Let me know if you feel any more issue.
0 Kudos

Hi,

 Can you tell how to Debug using ISDbg.exe and where its available?

I have used Custom Dialog and facing issue in silent installation and it returns -3 result code. I have checked by commenting that Custom Dialog portion alone and it works when i comment.

Kindly provide the ISDbg.exe location and Debug step to find the issue.

 

Thank you,

Arunkumar.A

0 Kudos

Hi @arunkumar_as ,

You will find ISDbg.exe from InstallShield's system folder,[PROGRAMFILESFOLDER]Installshield\<IS-VERSION\System.Instructions to debug can be found:

https://docs.flexera.com/installshield22helplib/Subsystems/installshield22isdbg/helplibrary/DebuggingInstall-AnyComputer.htm

 

Thanks,

Jenifer