BlitzUpdater

Miscellaneous Forums/Blitz Showcase/BlitzUpdater

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.



I've made a simple updater/installer. For user only executable needed to be functional.

Source and executable!
Execute the bat file to see it in action.

If you want to use the updater as installer then you need to change the first line in updater.bb file:
ConfigFile$ = CommandLine$(); Example ConfigFile$ = "http://www.oat.ee/andres/updater/update.cfg"
else you can use command line to specify the config file.

Config file looks like this and has to be modified for own usage:
UpdateName=Updater 1.0
Logo=http://www.oat.ee/andres/updater/logo.tga
FileList=http://www.oat.ee/andres/updater/files.txt
UpdateSize=534846
AutoStart=0
ExecuteOnFinish=
CloseOnFinish=1
NotifyOnFinish=Update finished successfully!
EnablePathChoose=1
DefaultPath=
Logo is shown in the updater (TGA format only).

and finally the file list:
Folder=images\
File=http://www.oat.ee/andres/updater/logo.tga
File=http://www.oat.ee/andres/bogl.jpg
Folder=executables\
File=http://www.oat.ee/andres/lk.exe
All files will be saved in first folder specified above it.
Example: DefaultPath$ + "executables\lk.exe"