cancel
Showing results for 
Search instead for 
Did you mean: 

Error when generating file InstallShield Silent install

Former Member
7,505

I created the file .iss below for automatic installation of Sybase. However, I can't suppress the choice of language. Some help?

[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-DlgOrder]
Count=8
Dlg0={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdWelcome-0
Dlg1={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdShowDlgEdit1-0
Dlg2={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-0
Dlg3={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-0
Dlg4={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdComponentTree-0
Dlg5={F653AB56-DB37-415B-8DDD-EF5BC1982150}-ServerLicense-0
Dlg6={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdSelectFolder-0
Dlg7={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdStartCopy-0
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdWelcome-0]
Result=0
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdShowDlgEdit1-0]
szEdit1=000
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-0]
szDir=C:\\Arquivos de programas\\Sybase\\SQL Anywhere 9
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-1]
szDir=C:\\Arquivos de programas\\Sybase\\Shared
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdComponentTree-0]
szDir=C:\\Arquivos de programas\\Sybase\\SQL Anywhere 9
Databases\\ASA\\Personal-type=string
Databases\\ASA\\Personal-count=2
Databases\\ASA\\Personal-0=Databases\\ASA\\Personal\\Full
Databases\\ASA\\Personal-1=Databases\\ASA\\Personal\\Runtime
Databases\\ASA\\Tools-type=string
Databases\\ASA\\Tools-count=2
Databases\\ASA\\Tools-0=Databases\\ASA\\Tools\\NonRuntime
Databases\\ASA\\Tools-1=Databases\\ASA\\Tools\\Basic
Databases\\ASA-type=string
Databases\\ASA-count=12
Databases\\ASA-0=Databases\\ASA\\Client
Databases\\ASA-1=Databases\\ASA\\Personal
Databases\\ASA-2=Databases\\ASA\\Server
Databases\\ASA-3=Databases\\ASA\\RDA
Databases\\ASA-4=Databases\\ASA\\Tools
Databases\\ASA-5=Databases\\ASA\\ISQL
Databases\\ASA-6=Databases\\ASA\\NSM
Databases\\ASA-7=Databases\\ASA\\Dev
Databases\\ASA-8=Databases\\ASA\\IRDK
Databases\\ASA-9=Databases\\ASA\\Compat
Databases\\ASA-10=Databases\\ASA\\Common
Databases\\ASA-11=Databases\\ASA\\Common-NonRuntime
Databases\\UltraLite\\Palm-type=string
Databases\\UltraLite\\Palm-count=2
Databases\\UltraLite\\Palm-0=Databases\\UltraLite\\Palm\\Unsecurable
Databases\\UltraLite\\Palm-1=Databases\\UltraLite\\Palm\\Securable
Databases\\UltraLite\\CE-type=string
Databases\\UltraLite\\CE-count=2
Databases\\UltraLite\\CE-0=Databases\\UltraLite\\CE\\UnSecurable
Databases\\UltraLite\\CE-1=Databases\\UltraLite\\CE\\Securable
Databases\\UltraLite-type=string
Databases\\UltraLite-count=5
Databases\\UltraLite-0=Databases\\UltraLite\\Palm
Databases\\UltraLite-1=Databases\\UltraLite\\CE
Databases\\UltraLite-2=Databases\\UltraLite\\Java
Databases\\UltraLite-3=Databases\\UltraLite\\Common-Securable
Databases\\UltraLite-4=Databases\\UltraLite\\Common
Databases\\UL_Tools\\ActiveX-type=string
Databases\\UL_Tools\\ActiveX-count=2
Databases\\UL_Tools\\ActiveX-0=Databases\\UL_Tools\\ActiveX\\Secure
Databases\\UL_Tools\\ActiveX-1=Databases\\UL_Tools\\ActiveX\\Unsecure
Databases\\UL_Tools\\Java-type=string
Databases\\UL_Tools\\Java-count=3
Databases\\UL_Tools\\Java-0=Databases\\UL_Tools\\Java\\Unsecure
Databases\\UL_Tools\\Java-1=Databases\\UL_Tools\\Java\\Secure
Databases\\UL_Tools\\Java-2=Databases\\UL_Tools\\Java\\JBuilder
Databases\\UL_Tools-type=string
Databases\\UL_Tools-count=4
Databases\\UL_Tools-0=Databases\\UL_Tools\\ActiveX
Databases\\UL_Tools-1=Databases\\UL_Tools\\Java
Databases\\UL_Tools-2=Databases\\UL_Tools\\SchemaPainter
Databases\\UL_Tools-3=Databases\\UL_Tools\\Common
Databases-type=string
Databases-count=3
Databases-0=Databases\\ASA
Databases-1=Databases\\UltraLite
Databases-2=Databases\\UL_Tools
Synchronization\\SIS-type=string
Synchronization\\SIS-count=3
Synchronization\\SIS-0=Synchronization\\SIS\\SIS_Notifier
Synchronization\\SIS-1=Synchronization\\SIS\\SIS_Listener
Synchronization\\SIS-2=Synchronization\\SIS\\SIS_ListenerSDK
Synchronization-type=string
Synchronization-count=7
Synchronization-0=Synchronization\\MobiLink_Server
Synchronization-1=Synchronization\\HotSync
Synchronization-2=Synchronization\\MobiLink_ASA
Synchronization-3=Synchronization\\SIS
Synchronization-4=Synchronization\\MobiLink_Monitor
Synchronization-5=Synchronization\\Remote_ASA
Synchronization-6=Synchronization\\Common
Tools\\SC-type=string
Tools\\SC-count=4
Tools\\SC-0=Tools\\SC\\ASAPlugin
Tools\\SC-1=Tools\\SC\\MLPlugin
Tools\\SC-2=Tools\\SC\\SC-Core
Tools\\SC-3=Tools\\SC\\SC-NonEN-LangRes
Tools-type=string
Tools-count=4
Tools-0=Tools\\SC
Tools-1=Tools\\jConnect
Tools-2=Tools\\PowerDesigner
Tools-3=Tools\\InfoMaker
Component-type=string
Component-count=3
Component-0=Databases
Component-1=Synchronization
Component-2=Tools
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-ServerLicense-0]
Company=''
UserName=sybase
NumberOfUsers=1
LicenseType=processor
Result=0
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdSelectFolder-0]
szFolder=SQL Anywhere 9
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdStartCopy-0]
Result=1
[Application]
Name=SQL Anywhere Studio 9
Version=9.0.0
Company=Sybase
Lang=0009

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

The problem was not in setup.iss, was clarified at this link. Best regards, Leonardo.

Answers (2)

Answers (2)

Former Member

Your setup.iss file is missing the entry for the ClickWrap dialog - that is the one you see showing up during the silent install. Not sure why this happened during your recording. Your setup.iss is also missing an entry for one of the Destination Path entry dialogs - so you would probably end up seeing that dialog as well during the silent install. I've attached the setup.iss I generated during my test install for comparison.

Try one of the following options:

  1. Manually add the missing dialog entries to your setup.iss, or,
  2. Re-run the recording session ensuring that you enter the required information in all dialog fields in all dialogs presented.

My SETUP.ISS from a test recording:

[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-DlgOrder]
Dlg0={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdWelcome-0
Count=10
Dlg1={F653AB56-DB37-415B-8DDD-EF5BC1982150}-ClickWrapLicense-0
Dlg2={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdShowDlgEdit1-0
Dlg3={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-0
Dlg4={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-1
Dlg5={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-2
Dlg6={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdComponentTree-0
Dlg7={F653AB56-DB37-415B-8DDD-EF5BC1982150}-ServerLicense-0
Dlg8={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdSelectFolder-0
Dlg9={F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdStartCopy-0
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdWelcome-0]
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-ClickWrapLicense-0]
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdShowDlgEdit1-0]
szEdit1=obfuscated00000000000000000000000000000000000000000000000000000
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-0]
szDir=C:\\Program Files\\Sybase\\SQL Anywhere 9
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-1]
szDir=C:\\Program Files\\Sybase\\Shared
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdAskDestPath-2]
szDir=C:\\Program Files\\Sybase\\SQL Anywhere 9\\Samples
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdComponentTree-0]
szDir=C:\\Program Files\\Sybase\\SQL Anywhere 9
Databases\\ASA\\Personal-type=string
Databases\\ASA\\Personal-count=2
Databases\\ASA\\Personal-0=Databases\\ASA\\Personal\\Full
Databases\\ASA\\Personal-1=Databases\\ASA\\Personal\\Runtime
Databases\\ASA\\Tools-type=string
Databases\\ASA\\Tools-count=2
Databases\\ASA\\Tools-0=Databases\\ASA\\Tools\\NonRuntime
Databases\\ASA\\Tools-1=Databases\\ASA\\Tools\\Basic
Databases\\ASA-type=string
Databases\\ASA-count=14
Databases\\ASA-0=Databases\\ASA\\Client
Databases\\ASA-1=Databases\\ASA\\Personal
Databases\\ASA-2=Databases\\ASA\\Server
Databases\\ASA-3=Databases\\ASA\\RDA
Databases\\ASA-4=Databases\\ASA\\Tools
Databases\\ASA-5=Databases\\ASA\\ISQL
Databases\\ASA-6=Databases\\ASA\\NSM
Databases\\ASA-7=Databases\\ASA\\Dev
Databases\\ASA-8=Databases\\ASA\\IRDK
Databases\\ASA-9=Databases\\ASA\\Compat
Databases\\ASA-10=Databases\\ASA\\Common
Databases\\ASA-11=Databases\\ASA\\Common-NonRuntime
Databases\\ASA-12=Databases\\ASA\\ADONET
Databases\\ASA-13=Databases\\ASA\\Interfaces
Databases\\UltraLite\\Static_UL-type=string
Databases\\UltraLite\\Static_UL-count=4
Databases\\UltraLite\\Static_UL-0=Databases\\UltraLite\\Static_UL\\Palm
Databases\\UltraLite\\Static_UL-1=Databases\\UltraLite\\Static_UL\\CE
Databases\\UltraLite\\Static_UL-2=Databases\\UltraLite\\Static_UL\\Java
Databases\\UltraLite\\Static_UL-3=Databases\\UltraLite\\Static_UL\\Common
Databases\\UltraLite\\ActiveX-type=string
Databases\\UltraLite\\ActiveX-count=2
Databases\\UltraLite\\ActiveX-0=Databases\\UltraLite\\ActiveX\\Secure
Databases\\UltraLite\\ActiveX-1=Databases\\UltraLite\\ActiveX\\Unsecure
Databases\\UltraLite\\Java\\JBuilder-type=string
Databases\\UltraLite\\Java\\JBuilder-count=2
Databases\\UltraLite\\Java\\JBuilder-0=Databases\\UltraLite\\Java\\JBuilder\\JBuilder9
Databases\\UltraLite\\Java\\JBuilder-1=Databases\\UltraLite\\Java\\JBuilder\\JBuilder_Old
Databases\\UltraLite\\Java-type=string
Databases\\UltraLite\\Java-count=3
Databases\\UltraLite\\Java-0=Databases\\UltraLite\\Java\\Unsecure
Databases\\UltraLite\\Java-1=Databases\\UltraLite\\Java\\Secure
Databases\\UltraLite\\Java-2=Databases\\UltraLite\\Java\\JBuilder
Databases\\UltraLite\\UL.NET-type=string
Databases\\UltraLite\\UL.NET-count=2
Databases\\UltraLite\\UL.NET-0=Databases\\UltraLite\\UL.NET\\Unsecure
Databases\\UltraLite\\UL.NET-1=Databases\\UltraLite\\UL.NET\\Secure
Databases\\UltraLite\\AvantGo-type=string
Databases\\UltraLite\\AvantGo-count=3
Databases\\UltraLite\\AvantGo-0=Databases\\UltraLite\\AvantGo\\Secure-RSA
Databases\\UltraLite\\AvantGo-1=Databases\\UltraLite\\AvantGo\\Unsecure
Databases\\UltraLite\\AvantGo-2=Databases\\UltraLite\\AvantGo\\Secure-ECC
Databases\\UltraLite\\UL-ULCS-Common-type=string
Databases\\UltraLite\\UL-ULCS-Common-count=1
Databases\\UltraLite\\UL-ULCS-Common-0=Databases\\UltraLite\\UL-ULCS-Common\\SchemaPainter
Databases\\UltraLite-type=string
Databases\\UltraLite-count=6
Databases\\UltraLite-0=Databases\\UltraLite\\Static_UL
Databases\\UltraLite-1=Databases\\UltraLite\\ActiveX
Databases\\UltraLite-2=Databases\\UltraLite\\Java
Databases\\UltraLite-3=Databases\\UltraLite\\UL.NET
Databases\\UltraLite-4=Databases\\UltraLite\\AvantGo
Databases\\UltraLite-5=Databases\\UltraLite\\UL-ULCS-Common
Databases-type=string
Databases-count=2
Databases-0=Databases\\ASA
Databases-1=Databases\\UltraLite
Sync_Msg\\MobiLink\\MobiLink_Server-type=string
Sync_Msg\\MobiLink\\MobiLink_Server-count=2
Sync_Msg\\MobiLink\\MobiLink_Server-0=Sync_Msg\\MobiLink\\MobiLink_Server\\Mobilink_Server_Activesync
Sync_Msg\\MobiLink\\MobiLink_Server-1=Sync_Msg\\MobiLink\\MobiLink_Server\\Mobilink_Server_main
Sync_Msg\\MobiLink\\MobiLink_Client-type=string
Sync_Msg\\MobiLink\\MobiLink_Client-count=3
Sync_Msg\\MobiLink\\MobiLink_Client-0=Sync_Msg\\MobiLink\\MobiLink_Client\\MobiLink_ASA
Sync_Msg\\MobiLink\\MobiLink_Client-1=Sync_Msg\\MobiLink\\MobiLink_Client\\SIS_Listener
Sync_Msg\\MobiLink\\MobiLink_Client-2=Sync_Msg\\MobiLink\\MobiLink_Client\\HotSync
Sync_Msg\\MobiLink-type=string
Sync_Msg\\MobiLink-count=6
Sync_Msg\\MobiLink-0=Sync_Msg\\MobiLink\\MobiLink_Server
Sync_Msg\\MobiLink-1=Sync_Msg\\MobiLink\\MobiLink_Client
Sync_Msg\\MobiLink-2=Sync_Msg\\MobiLink\\MobiLink_Monitor
Sync_Msg\\MobiLink-3=Sync_Msg\\MobiLink\\SIS_ListenerSDK
Sync_Msg\\MobiLink-4=Sync_Msg\\MobiLink\\Common
Sync_Msg\\MobiLink-5=Sync_Msg\\MobiLink\\Interfaces
Sync_Msg-type=string
Sync_Msg-count=3
Sync_Msg-0=Sync_Msg\\MobiLink
Sync_Msg-1=Sync_Msg\\QAnywhere
Sync_Msg-2=Sync_Msg\\Remote_ASA
Tools\\SC-type=string
Tools\\SC-count=5
Tools\\SC-0=Tools\\SC\\ASAPlugin
Tools\\SC-1=Tools\\SC\\MLPlugin
Tools\\SC-2=Tools\\SC\\SC-Core
Tools\\SC-3=Tools\\SC\\SC-NonEN-LangRes
Tools\\SC-4=Tools\\SC\\Interfaces
Tools\\Samples-type=string
Tools\\Samples-count=4
Tools\\Samples-0=Tools\\Samples\\ASA
Tools\\Samples-1=Tools\\Samples\\ML
Tools\\Samples-2=Tools\\Samples\\UL
Tools\\Samples-3=Tools\\Samples\\QAnywhere
Tools-type=string
Tools-count=5
Tools-0=Tools\\SC
Tools-1=Tools\\jConnect
Tools-2=Tools\\Samples
Tools-3=Tools\\PowerDesigner
Tools-4=Tools\\InfoMaker
Component-type=string
Component-count=3
Component-0=Databases
Component-1=Sync_Msg
Component-2=Tools
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-ServerLicense-0]
Company=iAnywhere Solutions
UserName=CR Lab
NumberOfUsers=10
LicenseType=perseat
Result=0
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdSelectFolder-0]
szFolder=SQL Anywhere 9
Result=1
[{F653AB56-DB37-415B-8DDD-EF5BC1982150}-SdStartCopy-0]
Result=1
[Application]
Name=SQL Anywhere Studio 9
Version=9.0.2
Company=Sybase
Lang=0009
VolkerBarth
Contributor

I guess the 3rd destination folder is only used when installing the samples.

However, I can confirm that "ClickWrapLicense" is not missing in my .iss file, and furthermore it has "Result=1" for the "SdWelcome" entry like in your file, whereas Leonardo has "=0". Might that matter here, too?

Former Member

Volker,

You're right about the third destination dialog being for the Samples. But it should show regardless because the Component dialog hasn't been displayed yet and therefore the Samples haven't been de-selected yet. (Unless there is some command line dependency - I don't recall) [Forgive me folks I'm a little rusty at this rather archaic version 9 stuff 😞 ].

You're also correct about the Result=0 (I missed that!). I believe that means the Next button was not clicked to dismiss the dialog. Which should mean the install was canceled. Not sure what to make of that!

I would strongly recommend re-recording the install making sure that all dialog responses are extremely accurate. If you make any errors whatsoever - start over again!!

VolkerBarth
Contributor

I guess you have used the "Record silent setup" feature to record this .iss response file?

FWIW, it seems the "Choose Language Dialog" is a feature not set in the response but in the products SETUP.INI - at least in my case there's the following section:

[Startup]
EnableLangDlg=Y
AppName=SQL Anywhere Studio
...

And apparently changing the first entry to "...=N" omits the according dialog.

Former Member
0 Kudos

Yes, I used "Record silent setup" feature, but setup.ini is set this option.

    [Startup]
    EnableLangDlg=N
    AppName=SQL Anywhere Studio
    ProductGUID=F653AB56-DB37-415B-8DDD-EF5BC1982150
    CompanyName=Sybase
    ErrorReportURL=http://www.installshield.com/isetup/ProErrorCentral.asp?ErrorCode=%d : 0x%x&ErrorInfo=%s
    MediaFormat=0
    LogMode=0
    Resource=_Setup.dll
    SmallProgress=Y
    SplashTime=0
    CheckMD5=N
    CmdLine=setup.exe -s -SMS -m -f2"c:\\windows\\setup.log"
    ShowPasswordDialog=N
    [Languages]
    Default=0x0009
    count=5
    key0=0x0804
    key1=0x0009
    key2=0x040c
    key3=0x0007
    key4=0x0011
    RequireExactLangMatch=0x0804

This is the screen that asks me. There is missing some information the file. iss to pre-configure option?

VolkerBarth
Contributor

Sorry, I can't give more clues - it was several years ago that I used a v9 silent setup for the last time, and in our case, the language dialog was suppressed, IIRC...

The contents of the setup.ini seems rather similar, except that

  • the CmdLine= is empty

  • and the Language section is shorter (fitting to our licensed languages, methinks):

[Languages]
Default=0x0009
count=2
key0=0x0009
key1=0x0007

However, as in your sample, the default language is the one listed in the setup.iss.