Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Setup File

Setup File

Scheduled Pinned Locked Moved C#
questioncsharpdatabasesql-serversysadmin
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Syed Shahid Hussain
    wrote on last edited by
    #1

    Hei All, Can we install any big software via C# setup application? I want to install SQL Server before my application and then create user in sql server but I dont know how can i install SQL server via setup file? Thanks

    Syed Shahid Hussain

    T D D 3 Replies Last reply
    0
    • S Syed Shahid Hussain

      Hei All, Can we install any big software via C# setup application? I want to install SQL Server before my application and then create user in sql server but I dont know how can i install SQL server via setup file? Thanks

      Syed Shahid Hussain

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      Here you go Embedding SQL Server Express into Custom Applications[^] Walkthrough: Using a Custom Action to Create a Database at Installation[^] Install sql server database with visual studio setup[^] Fun with VS2008 Setup Package Pre-Requisites[^] .NET Setup Deployment - MSI, Cassini, SQL Server, NTFS[^] Deploy your Application and Database[^]

      thatraja


      **My Tip/Tricks
      My Dad had a Heart Attack on this day so don't...
      **

      S 1 Reply Last reply
      0
      • S Syed Shahid Hussain

        Hei All, Can we install any big software via C# setup application? I want to install SQL Server before my application and then create user in sql server but I dont know how can i install SQL server via setup file? Thanks

        Syed Shahid Hussain

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Best practice is that you don't do this. SQL Server is only supported as a seperate install. Once the server is installed and running seperately, your application installer can be told which SQL Server to use and what the login credentials should be to execute a SQL script to add your users and setup the database and its security.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        S 1 Reply Last reply
        0
        • T thatraja

          Here you go Embedding SQL Server Express into Custom Applications[^] Walkthrough: Using a Custom Action to Create a Database at Installation[^] Install sql server database with visual studio setup[^] Fun with VS2008 Setup Package Pre-Requisites[^] .NET Setup Deployment - MSI, Cassini, SQL Server, NTFS[^] Deploy your Application and Database[^]

          thatraja


          **My Tip/Tricks
          My Dad had a Heart Attack on this day so don't...
          **

          S Offline
          S Offline
          Syed Shahid Hussain
          wrote on last edited by
          #4

          Hei Thatraja, Thanks u so so so so much. You dont know how big treasure u have given to me. I'm Happy Thanks once again.

          Syed Shahid Hussain

          1 Reply Last reply
          0
          • D Dave Kreskowiak

            Best practice is that you don't do this. SQL Server is only supported as a seperate install. Once the server is installed and running seperately, your application installer can be told which SQL Server to use and what the login credentials should be to execute a SQL script to add your users and setup the database and its security.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            S Offline
            S Offline
            Syed Shahid Hussain
            wrote on last edited by
            #5

            Thanks for ur reply. I'll read the setup process completely and keep in mind ur points while developing setup project.

            Syed Shahid Hussain

            1 Reply Last reply
            0
            • S Syed Shahid Hussain

              Hei All, Can we install any big software via C# setup application? I want to install SQL Server before my application and then create user in sql server but I dont know how can i install SQL server via setup file? Thanks

              Syed Shahid Hussain

              D Offline
              D Offline
              Dalek Dave
              wrote on last edited by
              #6

              Simple answer is yes. But, what the hell do you want to install?

              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups