2 messages in com.mysql.lists.mysqlRE: Slient install - Win32 Mysql
FromSent OnAttachments
atti...@nokia.com04 Mar 2002 12:07 
Jan R Andersson05 Mar 2002 08:07 
Subject:RE: Slient install - Win32 Mysql
From:Jan R Andersson (jan.@microbit.se)
Date:03/05/2002 08:07:23 AM
List:com.mysql.lists.mysql

Hi,

I tried it too, got the same result. I looked into the setup.iss file that setup -r created, and found these lines that looked different from the others:

[SetupType-0] Result=301 szDir=

The SdAskDestPath dialogs has:

[SdAskDestPath-0] szDir=C:\mysql Result=1

So I thought I'd give it a try and change the SetupType section like this:

[SetupType-0] Result=1 szDir=C:\mysql

And now it works! Seems that "Result=1" and/or "szDir=C:\mysql" is the right thing :-)

-----Original Message----- From: atti@nokia.com [mailto:atti@nokia.com] Sent: den 4 mars 2002 21:08 To: mys@lists.mysql.com; win@lists.mysql.com Subject: RE: Slient install - Win32 Mysql

I have the same problem (silent install). In details:

I run setup.exe with command line options -r to create response file needed for silent installation in InstallShield. By default it is created in the windows directory with name setup.iss. Then I move this setup.iss to the same folder as setup.exe and try to run setup.exe -s to perform the silent setup, but it fails. The log file contains:

[InstallShield Silent] Version=v4.90.000 File=Log File [ResponseResult] ResultCode=-3

According to IS documentation: -3 Required data not found in the Setup.iss file.

Even if I set verbose this is all I have.

I didn't find the source for the InstallShield project in the source distribution (I searched for *.ipr, *.rul). What a pity! With the IS project source in hand it would be a piece of cake to handle this situation.

BTW this silent setup thing is working with another software (I tryed it with J2RE 1.4.0 -> I had to collect the exracted stuff from the temp directory during installation but then it worked all right).

Maybe there's a bug in the InstallShield version used (it is an old 5.x version). Maybe there's a bug in the IS project for MySql. Maybe I'm doing something wrong.

But I guess it makes *no sense* that everyone writes his/her own silent setup for MySql when there is an official one already.

Thanks, Attila