General discussion

  • Creator
    Topic
  • #2091330

    SQL Server 7 – Automated Install

    Locked

    by rpfelder ·

    While trying to perform a “silent” scripted install of SQL Svr7, users are prompted to carry out the install steps. I have the 16 necessary files in a folder along with a script reading the following:
    “\??\setupsql.exe -f1 \??\setup.iss -SMS -s.The setup.iss file should provide the install steps used for no user intervention. The one I have created has the steps, but the process is not reading them. Any ideas or help would be greatly appreciated.

    Rob

All Comments

  • Author
    Replies
    • #3878851

      SQL Server 7 – Automated Install

      by mcse2kgrl ·

      In reply to SQL Server 7 – Automated Install

      Setupsql -r “creates the initial iss file”
      Copy c:\winnt\setup.iss to c:\myinstalls\sample.iss
      Setupsql -f1 c:\myinstalls\sample.iss -SMS -s “uses the iss file for an unattended install”

      Check for required restart as indicated in the sqlstp.logand restart if necessary. Run any verifications that are required.When you run the unattended installation, an error may be returned. The errors you might receive are designated by error code numbers. Below is a list of possible error code numbers and their explanations.

      The most common error code is -12, because a user will use an .iss file that is generated when an unexpected dialog box appears (because of a condition of the system).
      If the -f2 option is not used to specify the path for this output file, it will be placed in the Windows root directory.

      0 Success
      -1 General error
      -2 Invalid mode
      -3 Required data not found in the Setup.iss file
      -4 Not enough memory available
      -5 File does not exist
      -6 Cannot write to the response file
      -7 Unable to write to the log file
      -8 Invalid path to the InstallShield Silent response file
      -9 Not a valid list type (string or number)
      -10 Data type is invalid
      -11 Unknown error during setup
      -12 Dialogs are out of order
      -51 Cannot create the specified folder
      -52 Cannot access the specified file or folder
      -53 Invalid option selected
      hope this helps
      angela

      • #3834920

        SQL Server 7 – Automated Install

        by rpfelder ·

        In reply to SQL Server 7 – Automated Install

        Thanks for your response it was very helpful, especially the error codes you provided.

        Rob

    • #3834919

      SQL Server 7 – Automated Install

      by rpfelder ·

      In reply to SQL Server 7 – Automated Install

      This question was closed by the author

Viewing 1 reply thread