wixsharp
wixsharp copied to clipboard
How to add NetworkService Account to ServiceInstaller
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.