SacemaBoot deployment system

This is a deployment system allowing the user of a new Windows XP (or later?) machine with VisualStudio installed on it to download and install everything else necessary to run the Perl BuildScript for a SACEMA repository of their choice. The process is quite simple: (1) Use your browser to download the file SacemaBoot.zip into a directory of your choice and extract it.
It intentionally extracts into the current directory, so that if a new version of the BOOT.BAT file it contains becomes available, this process can conveniently be repeated to overwrite an old version you have, while leaving the big installation files and repositories BOOT.BAT has downloaded during its past executions in place. However, every time you do this extraction process, you will have to redo the local customisation edits you made to VARS.BAT (see below). If you plan on doing this often and the changes you need to make to VARS.BAT are more significant than just setting the %REPO%, %USER%, %PASS% and %ARCH% variables, then you may want to make a backup copy of your localised VARS.BAT and copy it over the extracted VARS.BAT every time as a post-extraction patch. (Sorry, but it was too finicky for now to cater for this in a more user-friendly way...)
(2) Run BOOT.BAT either from the explorer window or a command prompt.
You will be prompted to edit VARS.BAT. You must at a minimum supply your personal values for the first four variables it contains: %REPO% is the name of the repository you wish to work on, %USER% and %PASS% are your SACEMA username and password respectively, and %ARCH% is the architecture of the machine (32 for 32-bit, 64 for 64-bit).
It then goes through a process of
  • downloading and running the installers for the various programs (Mercurial, Perl, Modgen, MiKTeX) it still needs to install on the local machine;

  • creating local copies of the build and chosen repositories;

  • running the BuildScript in the chosen repository to show the user possibilities for its usage; and

  • giving the user a command prompt with the environment set up so that they can perform further operations on their chosen repository. (%PERL% is needed every time you wish to run build.pl, and %HG% may be needed if you wish to perform some ad-hoc Mercurial operation not catered for by your build.pl.)

«Main Page  • Queries? Email: Roger Mateer  • Last Modified: 2012/03/07  • All rights reserved © SACEMA 2012