Page 1 of 1

Multiple Instances of the Same Dialog?

Posted: Sun Oct 03, 2010 3:11 pm
by jaxmeier
All,

I have a situation where
1) An installation would require multiple IIS instances and/or virtual directories to be installed. I would like to present the IIS dialog to the user to allow them to enter the appropriate information (Instance name (if desired) virtual directory, etc).

2) An installation would require multiple SQL databases to be created and scripts to be run against each database. I would like to present the SQL dialog to the user to allow them to select the database name to create and run the scripts against.

Can I create a separate entry in Server Configuration -> IIS Sites for each site (similar for SQL Server) and pass the variables in from the dialogs?

I am testing Studio now, so I can see how custom dialogs would be created, although I am hoping I don't need to create a separate dialog for each instance.

Thanks,
jax

Re: Multiple Instances of the Same Dialog?

Posted: Mon Oct 04, 2010 6:30 pm
by mills
Yes, you can reference the variables by $variablName$ within the dialogs used to create the sites or instances. You can also see the MSIcode that is generated when you create a site through the designer and you could just copy that code and reuse it as you see fit.