I am using command line arguments to pass some configuration to the windows service (it will be few instances with different command lines).
My code looks like this:
You can't easily do it at this point. I would review this thread on the mailing list
https://groups.google.com/d/msg/topshelf-discuss/Xu4XR6wGWxw/GFzmKdn_MeYJ