The software(Java app) I'm working on is currently started through a batch file set up as a windows service, but it looks kind of a hassle to set it up for each computer, when I can just write a .bat file that creates a shortcut to the startup folder from a simple double-click. Are there any advantages to using windows services instead of the startup folder in windows 7?
Asked
Active
Viewed 657 times
1 Answers
1
The service will run automatically when windows boots up and also restart automatically if the service fails. You can manage service options by running services.msc
-
The restart is a nice feature, but it would take more than that to make me decide on which to use though – loli Jul 03 '15 at 19:04
-
I suppose it depends on how often the app may crash, if you do or do not want it to restart automatically for troubleshooting purposes, and whether or not the users care about clicking the icon to reopen it. – Jul 03 '15 at 19:18
-
You could also look into deploying the batch script to a list of computer names over the network. Someone else would have to guide you further on that, but this may help: http://serverfault.com/questions/248043/how-to-deploy-files-to-several-nodes-on-network-automatically – Jul 03 '15 at 19:21
-
it's all machines from different networks. Basically I have a package for my software and when the user receives it, he has to set up the app to start on its own. So I'm looking for something simple. – loli Jul 03 '15 at 19:23