This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
anonymous2983742's profile picture

GitHub AutoInstaller Utility

Started by anonymous2983742, 05 April 2015 - 12:05 PM
anonymous2983742 #1
Posted 05 April 2015 - 02:05 PM
I wrote a program available here that allows your users to download the same installer for all of your programs. The user may choose from even legacy versions of all programs. You can look into the code to make it use your repository files. Here is a layout of my respository. Take a look at the readme as well.

Files important for layout:
- programs
- /programname/productinfo

The installer is licensed under the GNU GPL v3.

To try it out, simply run
pastebin get 9yBe0y8r autoinstaller
followed by
autoinstaller
All programs are installable.
Program 5 has a bunch of dummy versions.
Program 5, version 2.7 has dependencies and further nested dependencies inside of ScreenUtils.

Please note that ScreenUtils does not actually require any dependencies, I did this to simply try out the dependency algorithm.

The following I am still working on:
- Automatic updater
- setup repository to use with one variable on top of file for easy distribution.

If you find any issues, report them here.
Edited on 05 April 2015 - 12:10 PM
Creator #2
Posted 05 April 2015 - 05:26 PM
Wow, your licence is longer than the program itself. ;)/>
anonymous2983742 #3
Posted 10 April 2015 - 12:09 PM
If I want to license it I have to distribute the license with the program. Normally programs just drop a license.txt in the installation location; I don't have that.
Lupus590 #4
Posted 10 April 2015 - 12:30 PM
If the license is short, you can add it as a comment at the top of the program