Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have 2 windows services to install in one setup. I can install both in once but what I need to do is; Let the user pick and choose the service or the services to install. I have created a custom dialog. On the dialog I have two checkboxes which represents the services. But I couldnt figure out how to install the checked service(s).
Posted

1 solution

I think you will need to set the Condition property on each service/custom action/folder depending on how your setup is organized. The Condition will look at a Custom Property and determine based on the value of the property whether or not to install. The checkboxes on your custom dialog would set the value of the Custom Property.

This should get you started:
Customizing Windows Installer Packages [^]

Note: You may need to use Orca (or some other tool for editing MSI databases) to create your Custom Property.
 
Share this answer
 
Comments
Dalek Dave 2-Dec-10 18:44pm    
Good Call.
Orcun Iyigun 2-Dec-10 19:58pm    
Thanks for the reply. I am not sure about using Orca, it is a database table editor for creating and editing Windows Installer packages but anyway thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900