I have a setup project that asks the user to enter an environment name, then creates a folder with that name, installs my file/folders, creates a IIS virtual directory & app pool (with the environment name that the user entered) and does some other things.
My users normally have a production environment and a training environment. So, I can create 2 instance Ids and name them correctly. The issue is that some users will have more than 2 instances. I do not know how many or what they will be called. Is there any way to handle this? Is there a way to supply the Instance Id and the required properties as parameters, so the user can launch the setup.exe or msi from the command line, supply the parameters and it can auto-generate the GUID? That's just a thought. If there is any other way do doing this, please let me know.
Thanks.