Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Single msi for multiple environments...
 

Single msi for multiple environments...

Hello,

I want to create a single msi for all the environments, to do that I want to create a customized dialog box, which should have a drop down box, in which I'll list out all the environments. I know, I should use a installer class to achieve this, but I don't know how to define a drop down box and its properties in the installer class.

Please advice me how to proceed with this?

Thanks
Kabilan
Kabi_jf1  Wednesday, October 07, 2009 10:11 PM
Actually you probably can't do that. Installer classes and their custom actions run after every file has been installed - that's the reason, so it's too late to affect the files that are to be installed. It sounds a bit like you may need a setup tool that allows more customization, or depending on the number of environments you could use a CheckBoxes dialog in the UI to set properties, and then use those properties to condition what files are installed.
Phil Wilson
PhilWilson  10 hours 54 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• Windows Installer & Legacy DLL's (VB6)
• VS2005 deployment solution lacks an "install-to-custom-path" feature? Can it be?
• how to make an exe which is custom action return values to installer?
• how to read a registry from setup?
• Installer failing on Windows Server 2003 SP1 (Please urgent)
• allow user to select which files to install
• Installation succeeds, but app run fails with error code 0x800736b1
• Fail to upgrade the config file in VS2008
• deploy C# appliaction very urgent
• How long should an uninstall take