davidjhomer
Posts: 55
Joined: Wed Jun 08, 2016 3:58 pm
Contact: Website Facebook Skype Twitter

Start a service after IIS completes

Hello,

We have a Windows service that is installed by AdvancedInstaller which depends on IIS being configured and up and running before the service is started.

We do this by creating a Launch file custom action that launches a batch file that does a Net Start command.

Is there a better way? I notice there is a Stop Service custom action, but not a Start service custom action....?



Thanks,


Dave
CENTREL Solutions Ltd
Server audit and documentation tools.
http://www.centrel-solutions.com
Bogdan
Posts: 2791
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Start a service after IIS completes

Hi Dave,

Have you checked out these threads:

- http://www.advancedinstaller.com/forums ... hp?t=29980
- http://www.advancedinstaller.com/forums ... bly#p74089
- http://www.advancedinstaller.com/forums ... hp?t=30681

If this does not help let us know and will try to help you with a better solution.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidjhomer
Posts: 55
Joined: Wed Jun 08, 2016 3:58 pm
Contact: Website Facebook Skype Twitter

Re: Start a service after IIS completes

Hi yes, they say to use a batch file

Which works, but it's pretty primative - is this your preferred solution? Will you be adding a Start Service custom action?

(we're just trying to remove any custom actions and scripts where possible)



Thanks,


Dave
CENTREL Solutions Ltd
Server audit and documentation tools.
http://www.centrel-solutions.com
Bogdan
Posts: 2791
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Start a service after IIS completes

Hi Dave,
Will you be adding a Start Service custom action?
You're lucky :), I am happy to confirm that based on prior requests this feature has been implemented in version 13.8 of Advanced Installer.
This version is now in its final testing period, it will be released at the end of March or beginning of April.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidjhomer
Posts: 55
Joined: Wed Jun 08, 2016 3:58 pm
Contact: Website Facebook Skype Twitter

Re: Start a service after IIS completes

Nice :) thanks for the update

We are finding that you're certainly helping to remove the need for all these fiddly custom actions and that makes the installer much more reliable and easy to maintain!


Thanks,


Dave
CENTREL Solutions Ltd
Server audit and documentation tools.
http://www.centrel-solutions.com
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Start a service after IIS completes

Hello,

The Start Service custom action has been added in version 13.8 of Advanced Installer released on March 30th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidjhomer
Posts: 55
Joined: Wed Jun 08, 2016 3:58 pm
Contact: Website Facebook Skype Twitter

Re: Start a service after IIS completes

Excellent, thanks for the update :)
CENTREL Solutions Ltd
Server audit and documentation tools.
http://www.centrel-solutions.com
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Start a service after IIS completes

You're welcome,

Let us know if you have any questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”