none
How To Build A Setup File With All The Prerequisites (SQL & So On) Bundled With The Set Up File (Desktop Application) RRS feed

  • Question

  • Hi,

    I have developed a C# Winform Desktop Application with Visual Studio 2010 Ultimate and SQL Server 2008 Standard Edition. My App Can Perform CRUD operations. Now I need to Build a Setup File for my App.

    Well,  I have also built the setup file and installed on my Developer Computer in which The App works Perfectly. But THE PROBLEM IS:

    WHEN I INSTALLED MY APPLICATION ON OTHER COMPUTERS THAT DON'T HAVE SQL SERVER & VISUAL STUDIO INSTALLED, THE APPLICATION CAN'T PERFORM ANY OF THE CRUD OPERATIONS. BECAUSE THOSE COMPUTERS DON'T GET THE DATABASE I USED IN MY APPLICATION.

    HOW CAN I SOLVE THIS ISSUE...?

    In Short, WHAT ARE THE PREREQUISITES AND HOW TO BUNDLE THOSE WITH THE SETUP FILE (?) SO THAT THE APPLICATION CAN GET THE DATABASE ON ANY COMPUTER AND PERFORM CRUD OPERATION ?

    THANK  YOU

    Sunday, March 3, 2013 1:47 PM

Answers

  • Visual Studio has a built in feature to create Setups for Programms, that includes checking for Prequisites/autoinstallation:

    http://www.dotnetspider.com/forum/305083-How-create-setup-visual-studio.aspx

    Asuming you are allowed to ship the Setups you can just ship SQL-Server Isntaller and other stuff along (so it does not have to be downloaded form the Internet).

    However, the SQL-Setup is more then just Installign SQL Server. Each SQL-Server installation has one or more Instances of SQL Server. Each of thses instances must be adressable. So far you probpably have only used Single Instance/Default Instance SQL-Server installations.


    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2

    Sunday, March 3, 2013 4:53 PM

All replies

  • Visual Studio has a built in feature to create Setups for Programms, that includes checking for Prequisites/autoinstallation:

    http://www.dotnetspider.com/forum/305083-How-create-setup-visual-studio.aspx

    Asuming you are allowed to ship the Setups you can just ship SQL-Server Isntaller and other stuff along (so it does not have to be downloaded form the Internet).

    However, the SQL-Setup is more then just Installign SQL Server. Each SQL-Server installation has one or more Instances of SQL Server. Each of thses instances must be adressable. So far you probpably have only used Single Instance/Default Instance SQL-Server installations.


    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2

    Sunday, March 3, 2013 4:53 PM
  • Hi Zia

    I  need some clarifications about this thread

    1)Do you want to install your application as standalone application or client application

    2)if you want as standalone application,do you want to include sql server installation in your setup

    3) or it is client,where  you  get the connection string ,from app.config or with in the application


    Happy Coding, RDRaja

    Sunday, March 3, 2013 5:33 PM