« Previous Next »

Thread: SQL Server requirement

Last post 04-22-2009 3:07 PM by stjacobs. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 04-19-2009, 4:55 AM

    SQL Server requirement

    Hi

    I create new package for our web application. It requires SQL Server, but database script should not be executed during web package installation. We just want to validate that user has SQL Server installer. How should we create package?

     

    Best Regards,

    Andrei

  • 04-22-2009, 3:07 PM In reply to

    • stjacobs
    • Top 150 Contributor
    • Joined on 09-23-2008, 3:09 PM
    • Redmond
    • Posts 43

    Re: SQL Server requirement

     There are two answers to that Andrei.

    1.  If you just need to make sure that SQL is installed, you can specify that as a prerequisite when you submit all of the information for your application to us.  The Web Platform Installer can check to make sure that SQL is installed prior to the application.
    2. If you need to make sure that a specific database and/or user are created prior to application install, then you need to provide a "dbsql" directive in your manifest.xml file.  The dbsql directive can point to an empty SQL file if all you need is to verify that a database and user exist.  If you want the Web Platform Installer to be able to create the database and a user for it, you will need a small script to handle the user creation portion.  The database specified by the user will be created automatically if it doesn't exist, and if the user specifies administrative credentials that have the authority to create the database.

    Let me know if you have further questions.

    Thanks!

     

    -Jake

    --
    Steve Jacobson (Jake)
    Sr. Program Manager - IIS
Page 1 of 1 (2 items)
Microsoft Communities