This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Error in silent mode: ResultCode=-3
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 17, 2009
08:31 AM
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.
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.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 18, 2009
12:30 AM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 04, 2020
12:29 PM
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 05, 2020
01:33 PM
Hi @arunkumar_as ,
You will find ISDbg.exe from InstallShield's system folder,[PROGRAMFILESFOLDER]Installshield\<IS-VERSION\System.Instructions to debug can be found:
Thanks,
Jenifer