Update of an NT service executable
Posted 11 August 2004 - 10:11
P.S. Of course, all the NT services in question are stopped before performing upgrade.
Posted 11 August 2004 - 10:33
Posted 11 August 2004 - 10:41
|QUOTE (Glytzhkof @ 2004-08-11 09:33)|
|I would try to add Full Control for the LocalSystem account to the folder and files where the service resides.|
I see what you mean, but the problems is not with the permissions of the executable file itself, but because the service's account on the target system differs from the one in the installation package.
Posted 11 August 2004 - 11:51
Posted 11 August 2004 - 11:58
|QUOTE (Glytzhkof @ 2004-08-11 10:51)|
|Your setup process may be run with the LocalSystem account and hence not be allowed to replace the file.|
But in this case uninstall would have failed as well because it implies file removal. However, it is only update that fails.
Posted 13 August 2004 - 09:29
Edited by Glytzhkof, 13 August 2004 - 09:30.
Posted 19 August 2004 - 08:55
|QUOTE (Glytzhkof @ 2004-08-13 08:29)|
|In case uninstall works you should be able to use a major upgrade that essentially does an uninstall and then a reinstall.|
I haven't tested it wih major upgrade yet, but anyway it would be nice to to be able to patch the NT service executables even with small/minor upgrades. My plans are to try and play with conditions and custom actions. I'll report in this thread if there's any success.
Posted 19 August 2004 - 14:17