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. build install with sql server 2008 Express

build install with sql server 2008 Express

Scheduled Pinned Locked Moved C#
questioncsharpdatabasesql-servervisual-studio
6 Posts 5 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.
  • J Offline
    J Offline
    jogisarge
    wrote on last edited by
    #1

    Hello, i have an application written in C# with VS 2010 Prof and i am using SQL Server Express 2008. It is a client Server app but the Server (SQL-Server) coud run on a client. What is the best way to make an installation file which installs my app as a Server. That means i have to make a installation file which installs my app and sql-server Express 2008 and i need another installation which installs only the client. Or it is possible to make one installation file which asks to install the sql-server ? thanks so far jogi

    OriginalGriffO P J 3 Replies Last reply
    0
    • J jogisarge

      Hello, i have an application written in C# with VS 2010 Prof and i am using SQL Server Express 2008. It is a client Server app but the Server (SQL-Server) coud run on a client. What is the best way to make an installation file which installs my app as a Server. That means i have to make a installation file which installs my app and sql-server Express 2008 and i need another installation which installs only the client. Or it is possible to make one installation file which asks to install the sql-server ? thanks so far jogi

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      You should not include SQL Server in your installation. There are a couple of reasons: 0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version. 1) They may already have SQL Server installed on the network. If so, then they will presumably want to use that version. 2) If they do have SQL server installed and you start proliferating SQL server Express instances, you are going to annoy the heck out of the database administrator... 3) A single site installation of SQl Server is a lot more likely to be backed up than a number of scattered version under user control. 4) Sql server is quite complex for a "normal" user to install and administer - it is not a good idea! 5) It will destroy the primary advantage of using Sql Server over SqlCE or SQLite - multiuser access. If everyone installs their own copy of SQL server, then you will have multiple copies of your database, each used by a single person. This will cause some confusion, and (depending on how you wrote the original database) may take some considerable effort to combine into a single instance when the problem is realized.

      Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      D 1 Reply Last reply
      0
      • J jogisarge

        Hello, i have an application written in C# with VS 2010 Prof and i am using SQL Server Express 2008. It is a client Server app but the Server (SQL-Server) coud run on a client. What is the best way to make an installation file which installs my app as a Server. That means i have to make a installation file which installs my app and sql-server Express 2008 and i need another installation which installs only the client. Or it is possible to make one installation file which asks to install the sql-server ? thanks so far jogi

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        I agree with Griff. Just document that SQL Server is required and let the user decide how best to satisfy the requirement. I would also add that if you include version X of some software it may be out of date by the time a user installs it. (SQL Server 2012 is just around the corner, the user may even have a beta.)

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          You should not include SQL Server in your installation. There are a couple of reasons: 0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version. 1) They may already have SQL Server installed on the network. If so, then they will presumably want to use that version. 2) If they do have SQL server installed and you start proliferating SQL server Express instances, you are going to annoy the heck out of the database administrator... 3) A single site installation of SQl Server is a lot more likely to be backed up than a number of scattered version under user control. 4) Sql server is quite complex for a "normal" user to install and administer - it is not a good idea! 5) It will destroy the primary advantage of using Sql Server over SqlCE or SQLite - multiuser access. If everyone installs their own copy of SQL server, then you will have multiple copies of your database, each used by a single person. This will cause some confusion, and (depending on how you wrote the original database) may take some considerable effort to combine into a single instance when the problem is realized.

          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

          D Offline
          D Offline
          David C Hobbyist
          wrote on last edited by
          #4

          So You used the same text again :)

          Frazzle the name say's it all

          OriginalGriffO 1 Reply Last reply
          0
          • D David C Hobbyist

            So You used the same text again :)

            Frazzle the name say's it all

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            That's why I have it in the database! :laugh:

            Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            1 Reply Last reply
            0
            • J jogisarge

              Hello, i have an application written in C# with VS 2010 Prof and i am using SQL Server Express 2008. It is a client Server app but the Server (SQL-Server) coud run on a client. What is the best way to make an installation file which installs my app as a Server. That means i have to make a installation file which installs my app and sql-server Express 2008 and i need another installation which installs only the client. Or it is possible to make one installation file which asks to install the sql-server ? thanks so far jogi

              J Offline
              J Offline
              Jitendra Parida Jeetu
              wrote on last edited by
              #6

              I hope this is help you. http://msdn.microsoft.com/en-us/library/ms143219.aspx[^]

              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