Home All Groups Group Topic Archive Search About

How To: Setup project Custom dialog boxes

Author
22 Aug 2006 7:08 AM
Gancy
Hi

In my setup project I need a custom dialog box containing a drop down
list box.  Since this is not avaialble from standard user interface
dialog boxes that visual studio supplies, I am using Installer class.
This installer class inturn displays the custom dialog box i need.  but
the problem is this custom dialog box is displayed as a popup window
during installation.  But I want this custom dialog box to be shown as
one of the wizard pages during installation.

Has any one done this before? I know some few setup programs that do
this.  However I am not sure that they used visual studio setup and
deployment project to create their setup programs.

Thanks
Gancy

Author
22 Aug 2006 7:53 AM
Vadym Stetsyak
Hello, Gancy!

[skipped]

G> Has any one done this before? I know some few setup programs that do
G> this.  However I am not sure that they used visual studio setup and
G> deployment project to create their setup programs.

IMO VS deployment project doesn't have an ability to create custom dialogs.
To resolve you can do the following:
- patch obtained msi file. msi file is merely a database, so values can be added to it.
  Manually it can be done with Orca ( http://support.microsoft.com/kb/255905/EN-US/ ).
  From code it can be done from Windows Installer API
  ( http://helpnet.installshield.com/robo/projects/devstudio9helplangref/LangrefMsiApis.htm )
- use another tool to build setup projects, e.g. WiX ( http://wix.sourceforge.net )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

AddThis Social Bookmark Button