How to stop the Windows service when running the installer and start right after installation via Inno Setup

Asked

Viewed 402 times

1

I’m using the Inno Setup to create an installer, this installer contains an application and windows service, I’ve already set up on Inno Setup to replace existing files while installing again.

But my question is, how to stop the service when running the installer and start it again when finished installing. These operations I want you to do quietly, I mean, hide the execution.

NOTE: If the service exists or not, I do not need to check.

Does anyone know if this is possible in the Inno Setup.

  • 1

    This guy suggests some events from Inno http://stackoverflow.com/questions/21390996/inno-setup-properly-stop-service-before-file-copy. I would use my own windows command: start/stop install/unisntall

  • @Victortadashi I’ll take a look, thanks for helping!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.