Hi all,
I have a service install/uninstall routine which works fine. At the
request of a vendor we were asked to add a check which ensures that if a
user uninstalls our service, then immediately reinstalls it (without
rebooting) that upon the next reboot the service doesn’t disappear from
the registry.
This is achieved on XP by deleting the key:
SYSTEM\CurrentControlSet\Services<service name>\DeleteFlag
if it exists before we perform an install.
This stops the OS from deleting the registry keys and thus the service
survives a reboot.
However on 2k and NT4.0 after deleting this key the OS somehow still knows
to delete the service.
Anyone have any ideas on how to do something similar on 2k and NT4?
Thanks in advance,
Matt.