Conditionally installing a service - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Gringo
Posts: 10
Joined: Fri Feb 02, 2007 6:11 pm

Conditionally installing a service

Hi,

I'm presently evaluating your product. In my installer, I need to conditionally start a service. I understand I can add this as mentioned here http://www.advancedinstaller.com/forums ... php?t=1704 but the problem seems to be that if I condition the entire feature, I can either install the services binary and start the service or not start the service but then also not install the binary at all (which I need). How could I do this ?

2nd question: Do I need the Enterprise version for that one custom dialog or can I add such a dialog by other means, too ? i.e. by making that service a feature or setup type ?

Thanks,
Gringo
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Here is a suggestion on how that can be achieved:

In the "Service" page you can see that the "Control Operation" for a service has a attached component. If you condition this component then the service will be started or not (depending on the settings you have). To have the component you can create a dummy registry key or value. Use the this component to conditionally start the service.
Do I need the Enterprise version for that one custom dialog or can I add such a dialog by other means, too ?
Dialog customization is available only for an "Enterprise" type of project (which requires an "Enterprise" license).

Hope this helps.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”