Calling winForms in Installer project

  • Thread starter Thread starter weichung
  • Start date Start date
W

weichung

I had build an installer project for my ASP.NET project. And found that
several fields need to be configured, like the web.config files and etc,
which requires user input. Also I need to attach my database using the
installer project, anybody could suggest how I could perform similar action?

One of my idea is to build a winform project which accepts athe user input
and configure the fields during installation, but I had no idea how winform
object is being called during installation.

Any idea and suggestions are welcomed! Thanks in advance.

Regards;
weichung
 
Usually people make what is called a "bootstrap" program to do your custom
actions before or after the actual installation. The bootstrap program is
just a simple app that interally runs the msi installation of the
application. Custom steps can be added before and/or after.

If you are sure .NET is installed, you can do this in WinForms. If you are
not, then you need to do it in Win32. You can install your database in the
same bootstrapper. There are a few example bootstrappers out there in
internet land, if you have the patience to google for them...

WNC
 
Back
Top