Universal cross-platform installer
I have a small Java console utility, and there is also a small bash script that allows you to quickly deploy the tool on (almost) any *nix machine — script shakes from the network the necessary files, places them in the system folder in the home directory of the current user prescribes the desired environment variables in polzovatelyam file ".profile". Of course nothing root is not necessary, this can be done on behalf of a simple user, just to be curl or wget.
Now the thought crept in — how to do something similar, but under Windows — I press the button or run the script, and in return we get a folder with program (somewhere) and the ability to call this utility from the console from anywhere (ie just to register in the user path, no registers, etc.), and where the user may not have rights to install software.
How can I accomplish this in Windows?
Is there any universal designer cross-platform installer.
Something like the Java Prefernces, depending on where platforms are used in different, appropriate ways to store and work with parametrami program (for *nix files in your home folder, Windows registry, etc.), but provides a common interface?
4 answers
Not quite on topic, but in FreeBSD it could be neither curl nor wget, but there's fetch.
Find more questions by tags LinuxJava