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: Silent install in Installscript projects
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
‎Sep 17, 2008
12:56 PM
Silent install in Installscript projects
I am working on silent installation for Installscript project. I generated Response file using -r option. But when I try to run using -s option after copying setup.iss in same folder as setup.exe i get error with ResultCode=-3. I know that it means "Required data not found in the Setup.iss file" but I can't find anything wrong with response file. After debugging I found that it is having some problem reading subcomponents details like "szComponent-#" in ComponentDialog as when I ran without using componentDialog, it installed successfully. I wanted to know if I have to add any installscript code to read ComponentDialog information from setup.iss file when MODE=SILENTMODE ? I am not using any cutom dialogs, so I don't think that should cause any issue.
setup.iss file -
[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{489E377E-CD57-403F-BC37-F887468DDF94}-DlgOrder]
Dlg0={489E377E-CD57-403F-BC37-F887468DDF94}-SdWelcome-0
Count=23
Dlg1={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-0
Dlg2={489E377E-CD57-403F-BC37-F887468DDF94}-SdSetupTypeEx-0
Dlg3={489E377E-CD57-403F-BC37-F887468DDF94}-ComponentDialog-0
Dlg4={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-1
Dlg5={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-2
Dlg6={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-3
Dlg7={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit2-0
Dlg8={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-0
Dlg9={489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-0
Dlg10={489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-1
Dlg11={489E377E-CD57-403F-BC37-F887468DDF94}-SdSelectFolder-0
Dlg12={489E377E-CD57-403F-BC37-F887468DDF94}-AskOptions-0
Dlg13={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-1
Dlg14={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-0
Dlg15={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-2
Dlg16={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-1
Dlg17={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-3
Dlg18={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-2
Dlg19={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-4
Dlg20={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-3
Dlg21={489E377E-CD57-403F-BC37-F887468DDF94}-SdFinish-0
Dlg22={489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-2
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdWelcome-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdSetupTypeEx-0]
Result=Custom
[{489E377E-CD57-403F-BC37-F887468DDF94}-ComponentDialog-0]
szDir=C:\Program Files\IGT
szComponent-type=string
szComponent-count=5
szComponent-0=Client
szComponent-1=Server
szComponent-2=EZPayDB
szComponent-3=Scis
szComponent-4=Offline Client Cashier
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-1]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-2]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-3]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit2-0]
szEdit1=se413189
szEdit2=test_ezpay
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-0]
szEdit1=MSSQLSERVER
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-1]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdSelectFolder-0]
szFolder=EZPay
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskOptions-0]
Result=1
Sel-0=0
Sel-1=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-1]
szEdit1=' '
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-2]
szEdit1=' '
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-1]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-3]
szEdit1=' '
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-2]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-4]
Result=1
[Application]
Name=EZPay
Version=8.2
Company=IGT
Lang=0009
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-3]
Result=0
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0
[{489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-2]
Result=1
Any help would be appreciated. Thanks!!
setup.iss file -
[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{489E377E-CD57-403F-BC37-F887468DDF94}-DlgOrder]
Dlg0={489E377E-CD57-403F-BC37-F887468DDF94}-SdWelcome-0
Count=23
Dlg1={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-0
Dlg2={489E377E-CD57-403F-BC37-F887468DDF94}-SdSetupTypeEx-0
Dlg3={489E377E-CD57-403F-BC37-F887468DDF94}-ComponentDialog-0
Dlg4={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-1
Dlg5={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-2
Dlg6={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-3
Dlg7={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit2-0
Dlg8={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-0
Dlg9={489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-0
Dlg10={489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-1
Dlg11={489E377E-CD57-403F-BC37-F887468DDF94}-SdSelectFolder-0
Dlg12={489E377E-CD57-403F-BC37-F887468DDF94}-AskOptions-0
Dlg13={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-1
Dlg14={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-0
Dlg15={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-2
Dlg16={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-1
Dlg17={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-3
Dlg18={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-2
Dlg19={489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-4
Dlg20={489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-3
Dlg21={489E377E-CD57-403F-BC37-F887468DDF94}-SdFinish-0
Dlg22={489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-2
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdWelcome-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdSetupTypeEx-0]
Result=Custom
[{489E377E-CD57-403F-BC37-F887468DDF94}-ComponentDialog-0]
szDir=C:\Program Files\IGT
szComponent-type=string
szComponent-count=5
szComponent-0=Client
szComponent-1=Server
szComponent-2=EZPayDB
szComponent-3=Scis
szComponent-4=Offline Client Cashier
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-1]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-2]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-3]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit2-0]
szEdit1=se413189
szEdit2=test_ezpay
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-0]
szEdit1=MSSQLSERVER
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-1]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdSelectFolder-0]
szFolder=EZPay
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskOptions-0]
Result=1
Sel-0=0
Sel-1=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-1]
szEdit1=' '
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-0]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-2]
szEdit1=' '
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-1]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowDlgEdit1-3]
szEdit1=' '
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-2]
Result=1
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdShowInfoList-4]
Result=1
[Application]
Name=EZPay
Version=8.2
Company=IGT
Lang=0009
[{489E377E-CD57-403F-BC37-F887468DDF94}-AskYesNo-3]
Result=0
[{489E377E-CD57-403F-BC37-F887468DDF94}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0
[{489E377E-CD57-403F-BC37-F887468DDF94}-MessageBox-2]
Result=1
Any help would be appreciated. Thanks!!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
09:55 PM
When I get this error it is ussually becuase a different SdFinish dialog is getting used for that particular silent run than was used when you recorded the install. In your case, the recording process used the normal SdFinish dialog, but the computer that the silent install was run on may have used the SdFinishReboot dialog.
If you have access to the source code for the install, you can add a check to see if the install is running in record or silent mode, and force the install to use a specific finish dialog.
If you have access to the source code for the install, you can add a check to see if the install is running in record or silent mode, and force the install to use a specific finish dialog.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 24, 2008
08:52 PM
esiemiat has a point. There's another thing you can about SdFinish dialogs. Put a conditional statement around both of them like this:
Then reboot dialog will only appear in Normal mode. In Silent/Record modes those dialogs will not be shown at all, so they won't have to be listed in the Setup.iss
if (MODE = NORMALMODE) then
SdFinish...
endif;
Then reboot dialog will only appear in Normal mode. In Silent/Record modes those dialogs will not be shown at all, so they won't have to be listed in the Setup.iss