I need to install a windows service from inside my Java application. I have a bat
file, that does that. Thing is, it needs elevation.
How can I easily do that from my Java code?
I've looked here: Elevating a ProcessBuilder process via UAC? and it seems like a freakishly large code for such a simple operation. Is there an easier way? That thread is 3 y.o., so maybe something happend since then?