Microsoft KB Archive/281902

= BUG: Unattended Client Installation on Windows 9x Computer Incorrectly Requests Deskecli.bat File =

Article ID: 281902

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q281902



BUG #: 101059 (SQLBUG_70)



SYMPTOMS
When you use the Sql70cli.bat file on a Microsoft Windows 95 or Microsoft Windows 98-based computer to perform an unattended Client installation, you might receive the following error message:

Use the Desktop Edition version of this file: deskecli .bat

However, the Deskecli.bat file does not exist on the SQL Server 7.0 compact disk.



CAUSE
The reason you see this message with a Microsoft Windows 95 or Microsoft Windows 98-based computer is that when you run Sql70cli.bat, it detects the processor architecture as Windows 9x and the code in the batch file returns the message shown in the &quot;Symptoms&quot; section. Prior to the final release of Microsoft SQL Server 7.0, the file name was changed to Deskecst.bat, but the change was not made in the error message of the Sql70cli.bat file.



WORKAROUND
Use the Deskecst.bat file to perform the SQL Server 7.0 Custom Desktop Edition unattended installation.

To perform an unattended client installation on a Microsoft Windows 95 or Microsoft Windows 98-based computer, use these steps:
 * 1) Run setupsql k=Dk k=Rc.NOTE: k=Dk is needed because you want the Desktop Edition. K=Rc is needed to create the Setup.iss file.


 * 1) Navigate through the Setup dialog boxes and select the options that you need. All options that you select are recorded in the Setup.iss file.
 * 2) Type the following in a command prompt: start /wait &quot;directory for setupsql.exe&quot; k=Dk -f1 &quot;full path of iss file&quot; -SMS -s

NOTE: Using &quot;start /wait&quot; in combination with -SMS causes the setup to return control to the command prompt after the setup completes. -f1 &quot;full path of iss file&quot; specifies the path to the Setup.iss file. -s instructs the setup to run in silent mode without presenting any dialog boxes.

Example
If Setupsql.exe is located in the D:\x6\setup directory and the Setup.iss file is located on the C:\ drive, then the preceding command would be: start /wait D:\x86\setup\setupsql.exe k=Dk -f1 &quot;C:\setup.iss&quot; -SMS -s



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0.



MORE INFORMATION
The Sql70cli.bat file successfully installs the client tools of SQL Server 7.0 on Microsoft Windows NT Workstation version 4.0.