Jump to content

DaveXP

Member
  • Posts

    1,272
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by DaveXP

  1. DaveXP,

    I found a small error in the script:

    Line if %CDROM%==A GOTO :CD_ERR

    But here is no condition

    CD_ERR

    In the script….

    I did break up the script in several step because I you don’t need to run several step again if for example you add some hotfixes in the original you hade to go true the whole process again.

    Here is what I did…

    ECHO.

    ECHO  Unattended Windows XP Setup Script

    ECHO.

    ECHO This will setup a Windows XP Unattended CD for you all you have to do it follow

    ECHO the simple instruction on screen which will be displayed from time to

    ECHO time the rest is done by its self.

    ECHO DaveXP CMD Unattended Script Copyright © 2002-03

    ECHO With thanks to devil270975 for his help with the script.

    ECHO 1. Want to extract the original Windows XP CD? Press 1.

    ECHO 2. Want to Creating Unattended Install setup directories? 2.

    ECHO 3. Want to Extracting Service packs and slipstream them? 3.

    ECHO 4. Want to Removing Useless Files From the Update and Creating Need Folder? 4.

    ECHO 5. Want to Creating Folders For Unattended Applications and Tweaks? 5.

    ECHO 6. Want to Creating WinNT.Sif file? 6.

    ECHO 7. Want to Creating CMDLINES.TXT and USER Accounts? 7.

    ECHO 8. Want to Creating Programs Setup.reg file? 8.

    ECHO 9. Want to Copying Needed Unattended Files? 9.

    ECHO 10. Want to Creating ISO file for later and/or burn 2 CD or DVD? 10.

    ECHO 0. Quit

    ECHO.

    ECHO.

    it give the option then to jump to the right part.

    Ill upload the script later this evening from home so you could perhaps include it in your zips.

    Keep up the good work

    W

    Should be like this and i will make the changes later.

    SET MyInput=
    ECHO 1. Want to extract the original Windows XP CD? Press 1.
    ECHO 2. Want to Creating Unattended Install setup directories? 2.
    ECHO 3. Want to Extracting Service packs and slipstream them? 3.
    ECHO 4. Want to Removing Useless Files From the Update and Creating Need Folder? 4.
    ECHO 5. Want to Creating Folders For Unattended Applications and Tweaks? 5.
    ECHO 6. Want to Creating WinNT.Sif file? 6.
    ECHO 7. Want to Creating CMDLINES.TXT and USER Accounts? 7.
    ECHO 8. Want to Creating Programs Setup.reg file? 8.
    ECHO 9. Want to Copying Needed Unattended Files? 9.
    ECHO 10. Want to Creating ISO file for later and/or burn 2 CD or DVD? 10.
    ECHO 0. Quit
    ECHO.
    SET /P MyInput=Please Chosen Your Section Now...:
    IF %MyInput% == 1 GOTO 1
    IF %MyInput% == 2 GOTO 2
    IF %MyInput% == 3 GOTO 3
    IF %MyInput% == 4 GOTO 4
    IF %MyInput% == 5 GOTO 5
    IF %MyInput% == 6 GOTO 6
    IF %MyInput% == 7 GOTO 7
    IF %MyInput% == 8 GOTO 8
    IF %MyInput% == 9 GOTO 9
    IF %MyInput% == 10 GOTO 10
    IF %MyInput% == 0 GOTO 0

    also note to do this i will have to re make the script if you only want to choses one option or more than one option.

×
×
  • Create New...