Installing 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!

jm2008
Posts: 62
Joined: Tue Jul 08, 2008 10:24 am

Installing Service

Hi,

I'm trying to build installer for where I have one service that might be installed on the user's machine!

Is there a way in AdvancedInstaller 6.4 to check if the service is already installed on the user machine? So, in this case I wouldn't overwrite it.

Thank you

John,
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Installing Service

Hi John,

You can detect if the service is installed or not by using a Search. For example, you can use a file search which tries to find the main executable of the service. After the search is created, you can use its property (usually RESULT_PROPERTY) to condition the installation of the service.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”