Please go to post #6!
When you look into the upload area, you can find there programs I use for delivering .scripts.
Here a short explanation what they do.
Let me start with how my WinBuilder folder is organized.
In addition to standard folders it contains a subfolder 'WinBuilder_Sandbox'.
WinBuilder_Sandbox is an image of the Archive, Projects\PicoXP and Projects\Standard tree structure,so let me call it 'mage' in the folowing text..
The folders inside image contain only those .scripts and .links I want to publish (In WinBuilder itself there are much more test .scripts etc.).
For the very first time, when you setup this mechanism, you have to copy the actual files from the main directory to the image folder.
If you want to publish some of your scripts, the manual way is:
1st copy the scripts to image
2nd calculate the MD5s
3rd write updates.ini
This tasks are done by genUpdates.
It makes the copies and generates the updates.ini file based on the contents of image.
Syntax: genUpdate <project> [<project> [...]] [/a] [/u] [/t<target base dir>] [/s<source dir> [/c] [/n]] /a: Include Archives folder into projects /u: Write 'Updates=http://upload.boot-land.net into the scripts /t: use <target base dir> instead of default 'WinBuilder' /s: read data from '%BaseDir%\<source dir>' instead of default '%BaseDir%' /c: Copy files from '%BaseDir%' to '%BaseDir%\<source dir>' before build list /n: Change name extentions to '.Script' and '.Link' (Uppercase first letter) Sample: genUPX PicoXP MyProject /u /a /tWinBuilder_Sandbox /c /sMyDirInstead of using the complexe syntax you can use updates.cmd.
;This file is automatically generated by psc program genUpdates ;Date: 2006-Sep-07 08:43:53 ;Command Line: genUpdates PicoXP Standard /u -TWinBuilder_Sandbox -sWinBuilder_Sandbox /a /n [update] autoUPX.Script=009,http://upload.boot-land.net/WinBuilder_Sandbox/Archive/autoTweaks/autoUPX.Script,a62077d ... CDRecord.Script=001,http://upload.boot-land.net/WinBuilder_Sandbox/Archive/Build/CDRecord.Script,2b5c55e8de ... ....The MD5 is actually calculated by genUpdates.
The second program is scriptData.exe. It generates scriptData.ini, a description of the files inside your image.
When you upload your files to the upload area, you cannot upload the complete image folder at once. Usually the dir structure of your image folder and the dir structure of the upload area are different. By uploading everything at once you would destroy the target area. So upload file by file!
(I'm considering tools to help or to bypass )
.script developers may PM me and ask for the source code.
You can download the package at http://nativeex.boot...pdateServer.zip
Edited by psc, 27 August 2009 - 05:46 PM.