Very cool.  I read along with much interest.  I believe this is the implementation 
that I was looking for in order to select one-off packages from a list during install. 
 I think it needs one more little tweak.  How about an optional token on the second 
line after ::OPTIONAL for some kind of proper title or description ::DESCRIPTION="MS 
Office XP SP1 OLP" to be displayed at install time in the list, instead of, or in 
addition to the script name "officexp.bat".
  
Cheers,
Scott

        -----Original Message----- 
        From: [EMAIL PROTECTED] on behalf of Patrick J. LoPresti 
        Sent: Sat 9/20/2003 1:55 PM 
        To: Jose Diaz 
        Cc: [EMAIL PROTECTED] 
        Subject: Re: [Unattended] Re: re: startup scripts base/developer et all
        
        

        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
        
        

����^�����)�{(��[�8b�A�zE���&z� 
y�!y�ޞm���)��r�����j�^�ם�w虨��x%��n��mzw^v)ߢX���(��~��zw���i����l���q���z���l�X��)ߣ��j�^�ם�w�

Reply via email to