wixsharp icon indicating copy to clipboard operation
wixsharp copied to clipboard

How to add NetworkService Account to ServiceInstaller

Open Torchok19081986 opened this issue 2 months ago • 0 comments

Morning, i have trouble to add NT Authority\NetworkService as Account to ServiceInstaller in MSI. if account name is empty or null, msi / wixsharp set it to LocalSystem. Hardcodedname in ServiceInstaller "NT Authority\NetworkService" doesnt work. cmd Command works : sc create mywindowsservice binpath="valid path to exe" start=auto type=own obj="NT Authority\NetworkService" works, but not installer. What i missing or do wrong ? Any idea ?

forget to mention : msi elevated as domain admin from UAC.

Torchok19081986 avatar Nov 11 '25 08:11 Torchok19081986