Manoj Kumar

Manoj Kumar

  • NA
  • 1
  • 2.1k

Accessing list of selected features in the Install class of deployment project

May 10 2010 2:18 AM

I have created a deployment project using "Setup Project" in visual studio.
My installer has several independent components and those can be installed based on user's selection. Also, user can re-install the software to install any additional component.
Based on my requirement I have divided the several independent components as features in my Installer. Also the tree-view has been provided in a custom dialog to display the features. User can select the desired features from this custom dialog.
Now the problem is that list of options selected from the tree-view in custom dialog is not available in the Installer class's Install function.
Is there any way to achieve this?
One way could be to use the MSI APIs but the installer handle is not available in the Install class.
 
Thanks in advance.