Closed dignifiedquire closed 11 years ago
Fixed it.
I think administrator detection is not needed since the command line will output this feedback anyway when needed, see issue #11
@HeyHugo are you sure? I remember adding this check because back then nssm.exe didn't show anything and silently failed saying that the service was installed or something alike. I will double check
At least for me the latest nssm 2.16 (which is used in winser) fails with output: "Administrator access is needed to install a service." if I don't run it as administrator.
I've added the ability to detect the architecture and switch thes
nssm.exe
based on that. (As disscussed in #9) Also the admin detection was not working so I've changed that based on this question on SO: http://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights