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?
October 3rd 19 at 02:22
4 answers
October 3rd 19 at 02:24
Everything can be easier than you think: http://habrahabr.ru/post/178481/
It looks like what you need, thank you. - tiffany.Bailey12 commented on October 3rd 19 at 02:27
October 3rd 19 at 02:26
Thanks, I'll try to build from this something like for Windows. - tiffany.Bailey12 commented on October 3rd 19 at 02:29
October 3rd 19 at 02:28
Not quite on topic, but in FreeBSD it could be neither curl nor wget, but there's fetch.
Thanks, took a note of it. - tiffany.Bailey12 commented on October 3rd 19 at 02:31
October 3rd 19 at 02:30
Mm... the heavy artillery, but all of a sudden?
Really hard, but very useful, thank you. - tiffany.Bailey12 commented on October 3rd 19 at 02:33

Find more questions by tags LinuxJava