문제

I have a process that is going to run as Windows Service.
I have successfully installed it as Windows Service and everything works.

My question is what are the guide lines for process directory.

On the machine Im going to deploy it, does the setup need to copy the .exe to Windows/System32 and then install as service ? Or i can deploy it to C:\MyApp\MyApp.exe and install as service from there.

It is not required for the .exe to be in /Windows/System32/ but is it "Best practice" ?

도움이 되었습니까?

해결책

No. You shouldn't install anything to the Windows System folder. That's for operating system code.

You should install to your own application folder within the Program Files folder, and register as a Windows service thereafter.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top