jfromaniello / winser

Run a node.js application as a window service using nssm.
270 stars 47 forks source link

Error - "You must run this tool as an administrator" - on non English Windows version #18

Closed Aparvi closed 10 years ago

Aparvi commented 11 years ago

I am using winser to create a windows service and it goes fine on an English Windows server. But when I tried on non English (I tried on French version to be specific) I am getting the mentioned error when running the command - "npm run-script install-windows-service".

Looks like the module is doing a findstr on "Administrator" and in the French version it is "Administrateurs"

jfromaniello commented 11 years ago

what version are you using? i think i removed that long ago

Aparvi commented 11 years ago

I am currently using the version 0.0.11. Can you let me know in which version this is fixed?

jfromaniello commented 11 years ago

IIRC It was fixed in 0.1.1 current version is 0.1.6. Can you try last version and let me know

Aparvi commented 11 years ago

I tried it on French version with 0.1.6 and it seems like working. I am still testing it and will close once my testing is complete.