Win 8.x • Win 7 • Vista - 'Multi-OEM' ISO Project

Discussion in 'MDL Projects and Applications' started by searchengine, Jan 30, 2010.

Thread Status:
Not open for further replies.
  1. iqbalpnr

    iqbalpnr MDL Novice

    Jan 21, 2012
    26
    15
    0
    #1241 iqbalpnr, Jul 6, 2012
    Last edited: Jul 6, 2012
  2. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1242 The_Guardian, Jul 6, 2012
    Last edited: Jul 6, 2012
    I am using F.34 modded bios which has and checked for slic 2.1. Do I delete the "HP=HEWLETT Hewlett-P Hewlett-Packard" and replace it with "COMPAQ=HEWLETT Hewlett-P Hewlett-Packard" and it should work...correct? Will test this evening when I get home. Take care.

    ok doesnt pick compaq.....it picks hp and installs hp cert and theme info.....not activated of course....I am done testing this in my wifes lappy....I have it working from orig poster so that is all that counts. This can only be tested in real life not in vmware or anything like it. My bios is a mixture of hp and only model says compaq and this is the reason for the error. It needs to pick compaq cert to match the bios.
    If...COMPAQ=HEWLETT Hewlett-P Hewlett-Packard....would work if it picked up compaq which it does not. Maybe...HP=Compaq but that would error on hp machine then. Like I said....this is tricky.
    If bios = hpqoem then hpqoem = compaq would work but need to add that back to oobe.cmd which you have no reference to in your oobe.cmd or bios.ini file which is probably the issue from what I see. hpqoem needs to be included for hp/compaq oem activation if not it will always pick hp cert and theme info then fail activation of course for we need compaq cert and theme info.
     
  3. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    try changing this line:
    IF EXIST "%windir%\Setup\scripts\keys.ini" FOR /F "TOKENS=1,2,3,4 DELIMS=|" %%a in ('TYPE "%windir%\Setup\scripts\keys.ini" ^| FINDSTR /I "%%WINVER%%" ^| FINDSTR /I "%%EDITION%%" ^| FINDSTR /I "%%MAN%%"') DO %INL% SET PIDKEY=%%d

    in iqbalpnr's last oobe.cmd with these lines:

    IF EXIST "%windir%\Setup\scripts\keys.ini" (
    cd /d "%windir%\Setup\scripts\" >nul
    for /f "tokens=1,2,3,4 delims=|" %%a in ('type keys.ini ^| findstr /I "%%EDITION%%" ^| findstr /I "%%MAN%%"') do (
    echo %%a | findstr /I "%WINVER%" >nul
    %INL% SET PIDKEY=%%d
    )
    )

    i had the same problem with a compaq mini but with this solution it seems to work good.
     
  4. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
  5. searchengine

    searchengine Guest

    #1245 searchengine, Jul 11, 2012
    Last edited by a moderator: Jul 18, 2012
    (OP)
    Re. recent $oem$|OOBE.cmd Edit Posts

    OOBE.cmd
    move scanning order under ':BIOS' section, remove ':SHARECHECK' and wonder why system installs with wrong brand theme etc... maybe scanned WMIC CSPRODUCT and didn't find 'Compaq', but found 'HP', so set MAN=HP and no ':SHARECHECK' but if it had bothered with ':SHARECHECK', it might have found 'Compaq' under WMIC COMPUTERSYSTEM etc... and then if 'ACRYSYS' found, just set MAN=ACER without sharecheck, too bad if it should really be eMachines, Gateway, or PBell... the good part is you save maybe 50 lines on the OOBE.cmd.

    MENU
    The main purpose of the project was to 'automatically and silently' determine and apply appropriate OEM branding etc (without user input). I see no benefit to having a pop-up menu during install that asks the user to choose the same options that can be applied using the included 'Custom_Theme_[readme].txt'. A menu that had a 'GUI' look that offered user fuller options, and reported system details, and slic version if detected (2.1 or 2.0) etc... may be of some interest.

    I have no plans to update this project.
     
  6. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    I used yours (searchengine) because of my wifes lappy which is a compaq which is hp owned activated correctly but with other custom versions it failed. I thank you for all the work put into this project and wonder if you know why display.exe fails on vista? Been hoping to ask you that if I seen you online. lol Thanks again!
     
  7. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    @searchengine

    where can i download your project? the link on the first page isn't working..
     
  8. UVAIS

    UVAIS MDL Expert

    Mar 17, 2011
    1,332
    1,895
    60
    #1248 UVAIS, Jul 11, 2012
    Last edited: Jul 12, 2012
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    @searchengine

    i used your oobe.cmd (with sharecheck) on my compaq mini but it installed HP theme instead of the compaq one..

    here's what i get if i use wmic commands with cmd:

    c:\>WMIC BIOS GET VERSION
    Version
    110708 - 20081107

    c:\>WMIC CSPRODUCT GET VENDOR
    Vendor
    Hewlett-Packard

    c:\>WMIC COMPUTERSYSTEM GET MANUFACTURER
    Manufacturer
    Hewlett-Packard

    c:\>WMIC CSPRODUCT GET NAME
    Name
    Compaq Mini

    c:\>WMIC COMPUTERSYSTEM GET MODEL
    Model
    Compaq Mini

    c:\>WMIC BASEBOARD GET MANUFACTURER
    Manufacturer
    Hewlett-Packard


    so if i use your oobe.cmd all the informations that it gets are only about hp. it doesn't recognize it as a compaq
     
  10. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1250 The_Guardian, Jul 11, 2012
    Last edited: Jul 11, 2012
    see searchengines post below....
     
  11. searchengine

    searchengine Guest

    ...force extended (deeper) sharecheck

    replace 'OOBE.cmd' and 'oembios.ini' in (April2012) project, with the files included in attachment.
     
  12. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    Will test on wife's lappy but I dont have a mini to test on so maybe Klomar can test that one....Thanks searchengine!
     
  13. searchengine

    searchengine Guest

    no problem, the deeper shareckeck should nail it, because what we are saying to the oobe.cmd is, "if you get a result that says 'HP' then that's great, but I want you now to specifically look under each little rock that 'Compaq' may be hiding under (ie. 'name', 'model' etc), and if you find it change to MAN=COMPAQ"...same goes for the other few brands under :sharecheck.
     
  14. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1254 The_Guardian, Jul 11, 2012
    Last edited: Jul 11, 2012
    @ searchengine,
    Is the reason why display.exe fails on vista is because theme is not running as default? I know it is installed but because of it not running on first boot it cannot adj res. (theme needs to be running for it to adj it).....if that is the case then can i delete the display exe for vista only then? but still use for win7? Just asking...

    Update: Your new oobe and bios files worked perfect now on wife's Compaq lappy....Thank you!
     
  15. searchengine

    searchengine Guest

    #1255 searchengine, Jul 11, 2012
    Last edited by a moderator: Jul 11, 2012
    (OP)
    glad extended sharecheck worked out ok on your wife's Compaq...

    Display.exe... I havn't had any issues on vista tests... and on first boot the brand wallpaper is present as the oobe.cmd renames %windir%\Web\Wallpaper\img24.jpg to img24.bak, and copies %windir%\system32\oobe\info\WALLPAPER.jpg to %windir%\Web\Wallpaper\img24.jpg (replacing default image with your brand)... so theme is not changed, but Desktop Wallpaper (img24.jpeg) is the 'brand' image... Display.exe kicks in during logon to set your brand as default, refresh explorer, and replace img24.jpg with img24.bak.... if it's failing, then yes, you can just delete Display.exe... but before you do, were you testing using original oobe.cmd etc, or from recently edited oobe.cmd posts... I notice 'REN %windir%\Web\Wallpaper\img24.jpg img24.bak' has been omitted from edited oobe.cmd posts.
     
  16. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1256 The_Guardian, Jul 11, 2012
    Last edited: Jul 12, 2012
    I havent tried ur new oobe and bios files yet in vista but will in vmware to see if it now runs correctly. I will test once I get back from paying bills (oo what fun...lol). Will report back with findings. Thanks again for all the work put into this!

    @ searchengine.....display.exe seems to work for a bit until manually restart from desktop......if I reboot after installing everything it kicks out the background theme....I have to choose theme from display properties for it to stay. Also why does UAC get turned off by ur script? It requires a reboot to turn back on even from reg entry which breaks display.exe I have noticed. Is there a way around this?
    Note: This is in vista only.

    Update: After doin alot of reading the past 12 hrs I have finally corrected the uac and background issues. Now keeps background after rebooting and uac is turned on which req a reboot which messed with the display.exe....now display runs and uac gets turned on and rebooted and background stays. Vista is such a pain. lol Win7 doesnt have these issue's. All is good and now I have to use it on a friends comp so more testing. lol Have a good day everyone.
     
  17. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    This would be great! I would like to see that in the future personally. Anyways thanks for everything searchengine.:biggrin:
     
  18. zeil_strife

    zeil_strife MDL Novice

    Jul 17, 2012
    1
    0
    0
    where can i download your project? the link on the first page isn't working..