Jump to content

Mark77

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

Posts posted by Mark77

  1. Hi all,

    Before I continue, I would like to point out that this site has the by far most complete / best unattend xp cd guide I've seen till now.

    My problem is that my runonceex script does not start. I'v ran it on my test computer and all entries were made in the registry. When I run the unattended installation the script hangs on the first entry.

    I've made the cd almost the same as described by aaron, but just to be sure i'm posting my runonceex.

    CMDOW @ /HID

    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

    REG ADD %KEY% /V TITLE /D "Configuring Workstation" /f

    REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
    REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

    REG ADD %KEY%\002 /VE /D "DirectX 9.0b" /f
    REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\DirectX9b\dxsetup.exe /windowsupdate" /f

    REG ADD %KEY%\003 /VE /D "Windows Media Player 9" /f
    REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N" /f
    REG ADD %KEY%\003 /V 2 /D "%systemdrive%\install\WMP9\Wm9codecs.exe /Q:A /R:N" /f

    REG ADD %KEY%\004 /VE /D "Microsoft Java" /f
    REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\apps\msjavx86.exe /Q" /f

    REG ADD %KEY%\005 /VE /D "MDAC Update" /f
    REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\hotfixes\ENG_Q832483_MDAC_X86.EXE /C:"dahotfix.exe /q /n" /q" /f

    REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f
    REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

    REG ADD %KEY%\051 /VE /D "Securing Workstation" /f
    REG ADD %KEY%\051 /V 1 /D "REGEDIT /S %systemdrive%\install\Registry\Security.reg" /f

    REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f
    REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\clean.cmd" /f

    EXIT

    Could anyone tell me why this isn't working ? I would be most grateful.

×
×
  • Create New...