PROMPT Datasource on ASP.NET Web Setup Installation Wizard

Last post 07-03-2008 7:03 AM by Thomas Sun – MSFT. 3 replies.

Sort Posts:

  • PROMPT Datasource on ASP.NET Web Setup Installation Wizard

    06-29-2008, 10:09 PM
    • Loading...
    • zus
    • Joined on 06-29-2008, 3:37 AM
    • Posts 6

     Greetings:

     On ASP.NET Websetup, is there any way I can prompt user to enter the Data Source Part of Connection String? I would like to hardcode the Database Names, Username and Password etc except the Database Server name. 

     

    Thank you.

  • Re: PROMPT Datasource on ASP.NET Web Setup Installation Wizard

    06-30-2008, 7:20 AM
    • Loading...
    • zus
    • Joined on 06-29-2008, 3:37 AM
    • Posts 6

     Can any one help me please? The end goal is to give an end user to specify the data source either through setup or any alternate means.

     

    Thank you.

  • Re: PROMPT Datasource on ASP.NET Web Setup Installation Wizard

    06-30-2008, 11:22 PM
    • Loading...
    • zus
    • Joined on 06-29-2008, 3:37 AM
    • Posts 6

     NOONE KNOWS HOW??

  • Re: PROMPT Datasource on ASP.NET Web Setup Installation Wizard

    07-03-2008, 7:03 AM
    Answer

    zus:

     Greetings:

     On ASP.NET Websetup, is there any way I can prompt user to enter the Data Source Part of Connection String? I would like to hardcode the Database Names, Username and Password etc except the Database Server name. 

     

    Thank you.

     

    Hi,

    If you want to change the Database connection string using Web Setup project while installing, you can try to add the custom action to your Web Setup project to configure the Database connection string.

    For example, see http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx (Section 7: Useful Custom Action Example: Configuring Database Connection String).

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter