I want to create bat file that will install windows service, passed as a parameter.
This is contents of bat file that is working:
installutil "D:\MVisum\MVisumCCS\Message Generator\MessageGenerator.exe"
But this is not generic. I have tried it by:
installutil /i 1%
and it is not working. I want to pass path of service that I want to install as a parameter to my bat file.
Please help me out.
If your non-generic one is working then try this generic one
Usage: