I am moving over from Visual Studio 2008 Web setup projects with some custom actions. In my setup project, I have a dialogue that collects SQL Server login credentials. The project then uses those credentials with SMO to create the login, database, and user. The custom action also goes out to a server and gets a bunch of scripts that builds tables, views, functions, and stored procedures.
I was just wondering what would be the easiest way to go about doing this with Advanced Installer. I'm not quite sure whether I should import my solution, which doesn't seem to work with web development projects, or to just start from scratch.
I would like to reuse as much code as possible but I'm not sure how to go about using the values from the Advanced Installer custom dialog boxes with my Custom Action that inherits from the Installer class. Currently, I am using Context.Parameters [<ParameterName>]. In order to get these values I have to pass in, as Custom Action Data, something like this: /Server= [PropertyName] where I could refer to the index Server as Context.Parameters ["Server"] to retrieve this value when using the built-in Visual Studio setup projects.
Any ideas would be greatly appreciated.
Jim
FOLLOW US
Get the latest news in Application Packaging