The product that will be installed with the MSI build with the Advance Installer requires some post install setup.
I want to know how much of this setup activity can be done with builtin functionality in the Advanced Installer.
Here are the post setup actions that need to be done.
1. Prompt the user for a login account with Admin priviledges. (Domain, Username, Password)
- Use this information to set permissions on the installation directory
- Update entries in the config file (xml) with the entered Domain, UserName and encrypted password)
2. Prompt the user for a DB connection string (SqlServer, SqlExpress)
- Check to see if the required databases exist in the DB. If not execute the Sql scripts to create the databases
- Update the config file with the DB connection string entered by the user
3. Prompt the user for TCP port number.
- Update the config file (xml) with the port numbers entered by the user.
4. Update entries in the config file (xml) with security settings entered by the user.
I know I can do all of this in a post install exe written in C#. What is the recommended way of executing this type of setup logic from within the MSI as it is being run.
Do you run an exe as a custom action defined on a dialog? If so are there examples.
Thanks,
Dave
FOLLOW US
Get the latest news in Application Packaging