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 ?
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.
Servicecontrol and permanent Components
Started by
steckel
, Mar 30 2007 09:07
2 replies to this topic
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?
Do you really have to install this service in the system folder?
Stefan Krüger
InstallSite.org twitter facebook
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.
As Stefan already said I would move the service out of the system folder and this should solve the problem.
Regards
-Stein Åsmul
-Stein Åsmul