Last post Dec 22, 2009 01:20 AM by Thomas Sun – MSFT
Dec 18, 2009 05:07 AM|niceguymattx|LINK
I'm currently putting together a web set-up project to deploy a web site on a customer site. What I'd like to be able to do is have different routes through deployment depending on the installation technicians response.
For example asking: Use existing or create new membership database? Then depending on the response prompting for database location etc.
Not sure if this is possible with web set-up projects. I understand about adding custom actions and additional dialog boxes, but cant quite understand how to add custom dialogs, or conditional dialogs.
Can anybody point me in the right direction?
Dec 22, 2009 01:20 AM|Thomas Sun – MSFT|LINK
You can set CustonActionData in Custom Actions, and set corresponding name/value pairs in User Inferface and then decide whether create database basing on the value.
For example, we create Custom Action and use following CustonActionData: /SelectValue="[RADIOSELECTVALUE]" . And then we add RadioButton (2 buttons) dialog to set its ButtonProperty to "RADIOSELECTVALUE". Then we can get select value from
public override void Install(System.Collections.IDictionary stateSaver)
string str = Context.Parameters["SelectValue"];
if (str == "1" )
For same example, see
http://msdn.microsoft.com/en-us/library/9cdb5eda.aspx and about RadioButtons User Interface Dialog Box, see
To create database in Custom Action, you can refer to
I look forward to receiving your test results.