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

Servicecontrol and permanent Components


2 replies to this topic

steckel

steckel
  • Full Members
  • 1 posts

Posted 30 March 2007 - 09:07

I am installing a component into [SystemFolder] which has to be set as permanent due to validation rules. Within this component I am installing and controlling a service. (InstallStart, UninstallStop and UninstallDelete set to Yes)
While uninstalling, the components files will not be removed (because it is permanent) - but also the service will not be stopped and removed from the system. Is this the correct behaviour ? Do I need a custom Action to control the service on uninstall ?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 April 2007 - 01:46

Yes I think this is expected behaviour.
Do you really have to install this service in the system folder?

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 05 April 2007 - 01:56

I agree completely: this is the behavior I would expect. Keep in mind that components are meant to be "atomic": self contained and installed/uninstalled either as a whole or not at all.

As Stefan already said I would move the service out of the system folder and this should solve the problem.
Regards
-Stein Åsmul