User372121194 posted
Hi,
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
Custom Action:
public override void Install(System.Collections.IDictionary stateSaver)
{
base.Install(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
http://msdn.microsoft.com/en-us/library/taa17f7s.aspx
To create database in Custom Action, you can refer to
http://forums.asp.net/p/1276061/2433139.aspx#2433139
I look forward to receiving your test results.