Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Service question


1 reply to this topic

tagman

tagman
  • Members
  • 6 posts

Posted 05 July 2005 - 14:35

Does anyone know how to keep a service from uninstalling?

I know how to keep the exe file that the service uses from uninstalling, But the service itself will be uninstalled.

I guess I could recreate the service after the uninstall, but I thought there would be a way to prevent it from uninstalling in the first place.

Thanks in advance.

tagman

tagman
  • Members
  • 6 posts

Posted 05 July 2005 - 22:47

I figured out a way to do what I want. biggrin.gif

I kept the service from being logged for uninstallation.

Disable(LOGGING);

Add service.

Enable(LOGGING);

It looks like this method could come in handy for other similiar purposes.