; This is a server side file
called update.ini...
; This is a mandatory key.
This is where vUpdate grabs basic settings....
[SETTINGS]
; This specifies the url to
the directory on the update server containing
; all the files we will need
for the rest of this session. You can specify
; up to 32 different mirrors.
To balance your bandwidth load, vUpdate
; selects a random one for
you. You can specify up to 32 different
; mirrors, but you must always
specify at least one.
Mirror1
= "http://192.168.1.2/devfiles/"
Mirror2
= "http://www.someserver.com/files/"
Mirror3
= "http://www.anothermirror.com/"
; Look at this.
The text in the announcements window comes from this field. ; Anywhere
vUpdate sees "\n", it will display the following characters on a
; new line if applicable.
Announcements
= "Greetings...\n\nWelcome to vUpdate, enjoy =)"
; Each update you saw listed
has all its information encapsulated under
; its own key. The first
package you define is called PACKAGE1, the next
; PACKAGE2, then PACKAGE3,
and so forth. For simplicity, I will just list a
; single sample package.
Please note that for a complete list of available
; fields, please check the
Field
Reference.
[PACKAGE1]
; Name, as you want it to
appear when listed...
Title
= "cryptoAPI"
; The version of this item...
Version
= "1.0"
; Identifier of item as you
want it logged in the install database...
EntryCode
= "cryptoapi"
; File name on server. Assuming
we are using Mirror1, this gets expanded
; later to "http://192.168.1.2/devfiles/cryptoAPI.zip".
FileName
= "cryptoAPI.zip"
; The item's description as
you want it to appear in the description window.
Description
= "Microsoft cryptoAPI for Dev-C++. \n(zipped package)"
; This is where vUpdate will
download the file to. In the case of Dev-c++,
; there are many macros (i.e.
$TEMP) that are available here. Some include
; $ROOT, $BIN, $HELP, $ICONS,
$TEMP, $INCLUDE, $LIB, $LANG, $WINDOWS,
; $THEMES, $SYSTEM, and $SYSTEM32.
You are probably beginning to realize the ; potential vUpdate has now on
your product. Also, if the path you specified ; does not exist, vUpdate
will create it and any necessary parent
; directories.
DownloadTo
= "$TEMP\Downloaded Packages\"
; This is the file name of
this package's preview picture. This is optional. ; If you don't want to
use one, simply specify "NA", "", comment it out, or ; just don't type
it in. If you do use one, it should be a bitmap (.bmp) of ; 130 by 70 pixels
in dimension. I recommend a maximum of 256 colors as this ; calculates
to only 10 kilobytes per preview and much less if you use an
; even smaller color palette.
More graphic formats will most likely be
; supported in the future
(i.e. .png).
PreviewPic
= "cryptoapi.bmp"
; This is a flag. It can either
be "TRUE" (or "1") or "FALSE" (or "0"). Set
; it to true if you want
this file to be executed after it is downloaded.
Execute
= "TRUE"
; This flag (for the Dev-C++
IDE) operates the same as above. Set it to
; true if you wish Dev-C++
(the parent application) to be closed. This is
; useful when upgrading the
parent applications main exe seeing that you
; cannot write to a file
that is locked.
CloseDev
= "FALSE"
; You are probably wondering
what I was smoking when I put this lonely key
; here. This is actually
the first thing vUpdate checks. Put it at the very
; end of your script to tell
it that this file is complete and didn't
; come in corrupt (because
every now and then http goes stupid).
[END]
|