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!

Terry
Posts: 14
Joined: Tue May 22, 2007 12:57 pm

Stopping Web service during install

Our Web application project includes a number of COM objects, these objects requires that the Web service be stopped during their installation.

Can this be done directly by Advanced Installer through Project Details/ Services, and if so how do I go about it? Or do I still have to create 2 Custom Actions (1 to stop and 1 to start) and position them accordingly?

I have the script code for this from a previous forum article, but I want to avoid using script in install projects.

Thank you
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Terry,

Windows Installer does not support starting/stopping Web services and thus Custom Actions are required in order to achieve this. Only Windows services can be controlled through Service Control Operations defined in the Services page in AI.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
Terry
Posts: 14
Joined: Tue May 22, 2007 12:57 pm

Thank you for clearing that up.

I have also found a better solution than using scripts in this forum entry which uses Custom Actions to call iisreset.exe-

http://www.advancedinstaller.com/forums ... .php?t=973

Return to “Common Problems”