MSI Installation

  • Thread starter Thread starter Bart
  • Start date Start date
B

Bart

Using the Visual Studio .NET Installer...

In the user interface for an installation, I would like to
create a dialog box to take the connection information for
a SQL Server database and verify it, before proceeding to
the next screen.
This means I would need to call code when the user
clicks next on the dialog window somewhere. Are there
methods one can overload when the user clicks the
Previous\next buttons.
I think I can generate a new form in the windows
installer class to show it and have the user fill it out,
however I would like to do this in the VS.net install
wizard.
Any articles that do the same thing would help.


thanks in advance for any help
 
Add a custom action in your VS.NET deployment project. The custom action
will call an EXE that you provide. The EXE should display a form that will
prompt the user to enter the necessary connection information. There is
data in MSDN help files for .NET that explain custom actions.
 
When you open an install project, you can add additional dialog boxes. You
can then connect the fields in these screens to a custom installer.

I do not know of a great article on this, but look for custom installers and
you should find some info. Much of this can be done declaratively in the
project, but you will have to write a bit of code to verify the database.

--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA

**********************************************************************
Think outside the box!
**********************************************************************
 
Back
Top