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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Deployment WinForm, SqlExpress, DB

Deployment WinForm, SqlExpress, DB

Scheduled Pinned Locked Moved C#
databasesysadminhelpquestionworkspace
3 Posts 2 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.
  • F Offline
    F Offline
    franz pilgerstorfer
    wrote on last edited by
    #1

    I am having some serious problems using the built-in setup project in VS2005. During installation users can check if they want a client programm installation, a client installation including database (and database server) or only database (including database server). Depending on what the user chooses I'd like to show a different setup dialog. i.e. user chooses client -> install -> ready user chooses client incl. database -> show dialog with textboxes for servername/databasename Is it possible to include a user-defined customizable dialog in the setup project? Is it possible to define different "ways" in a setup project? (on a) show this dialogue, on b) show another dialogue) Thank you for your help!

    J 1 Reply Last reply
    0
    • F franz pilgerstorfer

      I am having some serious problems using the built-in setup project in VS2005. During installation users can check if they want a client programm installation, a client installation including database (and database server) or only database (including database server). Depending on what the user chooses I'd like to show a different setup dialog. i.e. user chooses client -> install -> ready user chooses client incl. database -> show dialog with textboxes for servername/databasename Is it possible to include a user-defined customizable dialog in the setup project? Is it possible to define different "ways" in a setup project? (on a) show this dialogue, on b) show another dialogue) Thank you for your help!

      J Offline
      J Offline
      Jimmanuel
      wrote on last edited by
      #2

      I don't think it's possible to insert custom dialogs into an Installation using a Visual Studio Setup Project. You can customize the dialogs that are already available, but that's about it. For fine grained control over the setup project you'll need to use some other Installer package to create your MSI file. Orca is Microsoft's basic MSI file editor: http://support.microsoft.com/kb/255905[^] That being said, I've run into the same situation. What I did was customize one of the existing dialogs to allow the user to select a Client (no DB) or Server (lots of DB) installation, and then pass that choice into a Custom Action DLL that performed any configuration items that the MSI wasn't able to handle (that included my DB setup). The custom action can do whatever you want, so I handrolled a dialog sequence that prompted for the DB login info (and a bunch of other stuff) and then went to work beating Windows into submission using C#. Hope that helps.

      F 1 Reply Last reply
      0
      • J Jimmanuel

        I don't think it's possible to insert custom dialogs into an Installation using a Visual Studio Setup Project. You can customize the dialogs that are already available, but that's about it. For fine grained control over the setup project you'll need to use some other Installer package to create your MSI file. Orca is Microsoft's basic MSI file editor: http://support.microsoft.com/kb/255905[^] That being said, I've run into the same situation. What I did was customize one of the existing dialogs to allow the user to select a Client (no DB) or Server (lots of DB) installation, and then pass that choice into a Custom Action DLL that performed any configuration items that the MSI wasn't able to handle (that included my DB setup). The custom action can do whatever you want, so I handrolled a dialog sequence that prompted for the DB login info (and a bunch of other stuff) and then went to work beating Windows into submission using C#. Hope that helps.

        F Offline
        F Offline
        franz pilgerstorfer
        wrote on last edited by
        #3

        Thanks that worked great for me. I modified the installer class to show a form. This form will retrieve any information that I need!

        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