need help with a WINNT.SIF

Discussion in 'Windows XP / Older OS' started by gfxcell, Nov 27, 2015.

  1. gfxcell

    gfxcell MDL Novice

    May 10, 2010
    37
    0
    0
    hi
    I am putting my windows XP DVD onto usb.
    This is a modded disc (basically its updated and slipstreamed, unattended, a few $OEM$ tasks)
    The biggie is however, I have 114 OEM certs, keys, logos, and all preloaded into this disc ,and when i run it from DVD, during the install it runs an app called OEMAUTO.exe where it scans the mobo, and puts in the correct key and adds the proper 4 files the system32 folder. allows me to use 1 disc for all OEMS.

    so,
    I used winfromusb1-6 (rufus wouldn't work)
    and everything works fine, except the execution of the line of code in the WINNT.SIF responsible for running the OEMAUTO.exe program. Instead of running the program, the install stops and asks for an OEM key. Then continues (once one is put in) but then needs activation post install.

    Here is the line of code from the WINNT.SIF

    [GuiUnattended]
    Arguments="/Q /C FOR /F %? IN ('%SYSTEMROOT%\SYSTEM32\MOUNTVOL.EXE^|FINDSTR :\') DO IF EXIST %?OEM\OEMAUTO.EXE START %?OEM\OEMAUTO.EXE"

    i'm not sure what the beginning means so i don't know how to edit it.
    any help would be appreciated.
    thanks
     
  2. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,210
    14,766
    340
    Can you please find the location of OEMAUTO.EXE after creating the bootable USB using winfromusb1-6?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. gfxcell

    gfxcell MDL Novice

    May 10, 2010
    37
    0
    0
    on the DVD the layout is as such:
    ROOT>
    $OEM$
    I386
    OEM (this contains oemauto.exe and folders)
    Autorun.inf
    setup.exe
    WIN51
    WIN51P
    WIN51P.SP3

    ON the USB
    ROOT>
    DPMS
    WINSETUP (XPpSP3.iso AND XPpSP3 folder > here is the DVD contents including OEM folder ((see above))
    default
    grldr
    menu.lst
    plpbt.bin
    shifthd.bat
    usbdrive.tag
    windwfault
    winsetup.lst
     
  4. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,210
    14,766
    340
    #4 Tito, Nov 27, 2015
    Last edited by a moderator: Apr 20, 2017
    Please change as the following & retry:
    Code:
    [GuiUnattended]
    Arguments="/Q /C FOR /F %? IN ('%SYSTEMROOT%\SYSTEM32\MOUNTVOL.EXE^|FINDSTR :\') DO IF EXIST %?WINSETUP\XPpSP3\OEM\OEMAUTO.EXE START %?WINSETUP\XPpSP3\OEM\OEMAUTO.EXE"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. gfxcell

    gfxcell MDL Novice

    May 10, 2010
    37
    0
    0
    will try when i get back, runnin out door for service call.

    Thanks
     
  6. gfxcell

    gfxcell MDL Novice

    May 10, 2010
    37
    0
    0
    Error
    Line 58 of the INF file \winsetup\xppsp3\i386\winnt.sif is invalid
     
  7. gfxcell

    gfxcell MDL Novice

    May 10, 2010
    37
    0
    0
    #8 gfxcell, Nov 27, 2015
    Last edited: Nov 27, 2015
    (OP)

    i got the install to run without the inf error (not sure what happened)
    however install stops at the same spot (asking for key)

    I think what is happening is the OEMAUTO.exe is trying to inject the info to the wrong location (I386) which is no longer at D:\

    don't know how to correct this.

    thanks
     
  8. gfxcell

    gfxcell MDL Novice

    May 10, 2010
    37
    0
    0