Jose Diaz <[EMAIL PROTECTED]> writes:

> Patrick ,
> I just subscribed to the list :) In case you still need it, here is
> the patch I sent before with my note. Again, Thanks for your
> support.

Thanks, Jose!

I decided to implement something based on Shad's approach.  Here is
what I did.

  1) Redefine [_meta]/top to be a semicolon-separated list of scripts
     instead of a single script.  (Note that this retains
     backwards-compatibility for the case where there is only one
     script.)  These scripts will all run after Windows is installed.

  2) Allow the user to pick one "master" script.  The list of master
     scripts is generated dynamically by scanning Z:\scripts and
     finding all .bat files with ":: MASTER" at the start of the first
     line.  If no qualifying master scripts are found, I fall back to
     the current hard coded list, again for backwards-compatibility.

  3) Allow the user to pick zero or more "optional" scripts.  The list
     of optional scripts is generated dynamically in the same way,
     except that the magic token is instead ":: OPTIONAL".

The only catch is that this code runs under DOS, which means the .bat
file names are limited to 8.3.  So, I renamed developer.bat to
develop.bat (and made it a "master" script), and I renamed
symantec-antivirus.bat to symav.bat (and made it an optional script).
I also made office2k.bat and officexp.bat into optional scripts.

I am planning to make another release tomorrow.  I am hoping to get
two more things done for it...  First, integrate Eugene Kotlyarov's
changes (or something like them) to support non-English hotfixes.
Second, allow the install share to be mapped using a different letter
than Z:.

 - Pat


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to