I am transitioning from a PowerShell script to a C# Console App executing InstallUtil.exe via Process()class to silently install a windows service.
In the PowerShell script I had to register each .dll the service uses with regsvr32.exe
Does the InstallUtil.exe automatically register the needed .dlls by examining the passed assembly for a list of the .dlls and then register them?
I read through the following link, but it did not mention .dlls:
https://learn.microsoft.com/en-us/dotnet/framework/tools/installutil-exe-installer-tool
I found the answer through testing (yes the .dlls are automatically registered).