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. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1521 The_Guardian, Jan 3, 2013
    Last edited: Jan 3, 2013
    @ searchengine

    I tried and editied the oem.cmd file but now slic and theme show error so I will leave the correction up to you. I did get it to show correct 64 bit version of windows that I am running. lol
     
  2. searchengine

    searchengine Guest

    #1522 searchengine, Jan 3, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  3. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    Yes it see's 64 bit correctly now....will wait for ur update to be posted. Thanks again!
     
  4. searchengine

    searchengine Guest

    #1524 searchengine, Jan 4, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  5. mfunction.ngh16

    mfunction.ngh16 MDL Novice

    Dec 27, 2012
    4
    1
    0
    ok, now after so many testings there is something which is not clear to me.there was no "next desktop background" option in the right-click menu(right-clicking anywhere on the desktop) i.e i didn't got any desktop wallpaper slideshow which i think it should be there.But when i go to personalization section,click on desktop background,it shows all the .jpg images which i have personally added(after changing their names acc. to the instructions given) and all the images were selected/checked.i de-selected some .bmp , .png images as i don't want them as my desktop wallpaper and clicked on save changes.after this that option was showing up in the right-click menu(well i don't think it showed up bcz i deselected some images as just clicking on save changes without de-selecting anyone of them ,that option still showed up).So,is this okay?or i have done something wrong with the installation?i have a dell laptop-model no-n4010 and has slic 2.1 bios.i used poweriso everytime to edit the iso,trying to install the windows 7 home premium sp1.
     
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,534
    21,770
    210
    #1526 mxman2k, Jan 4, 2013
    Last edited by a moderator: Apr 20, 2017
    To make the slideshow work...

    I made a small edit to the .theme settings file(s) to allow any pictures within the Backgrounds folder to be used as the desktop slideshow.

    Goto the $oem$\$$\Setup\scripts\OEM's folder then open which brand you wish to edit.

    Open the .theme file with notepad, scroll down to very bottom of the file, add or edit the following lines:

    Code:
    [Slideshow]
    ImagesRootPIDL=
    
    Interval=900000
    Shuffle=0
    ImagesRootPath=%SYSTEMROOT%\System32\OOBE\info\Backgrounds
    Then just add your wallpapers into the Backgrounds folder of the brand!


    Also if you have an older 4:3 non widescreen monitor (like mine), if you look for the line:

    WallpaperStyle=10

    This is found about midway in the .theme file, under the [Control Panel\Desktop] part.

    Change this to 2 (from the original number), this will make the wallpapers "stretch" to your current screen resolution.

    What this line does is tell how the image is shown, the numbers I found to be useful are:

    10 - Fill
    4,5,1 - Center
    2 - Stretch
    6 - Fit

    I have attached my edited Acer.theme file for reference :)

    Mx
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mnguyen

    mnguyen MDL Novice

    Jan 21, 2011
    30
    0
    0
    #1527 mnguyen, Jan 4, 2013
    Last edited by a moderator: Jan 31, 2013
    @searchengine

    here is the file sclic.rw
     
  8. searchengine

    searchengine Guest

    cheers,

    1st page description has updated download link for '$oem$ Assessment Tool'...

    give it a try, and see if 64bit and slic 2.1 detected correctly.
     
  9. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    See's 32 and 64 bit correctly now and have tested on two different machines and also finds slic but I wasnt having that issue so
    nmguyen might want to test that since he had that issue. Thanks for speedy fix.

    Will the slic 2.1 fix be a issue for the oobe.cmd file also or not? Thought I would ask before anyone else does. lol
     
  10. dareckibmw

    dareckibmw MDL Expert

    Jun 16, 2009
    1,198
    1,363
    60
    #1530 dareckibmw, Jan 4, 2013
    Last edited by a moderator: Apr 20, 2017
    Ok, it works perfect, but when I tried to add some custom .reg such as disable UAC, right click recycle bin, etc., then it will not activate the windows, either way. And it doesn't matter if I put it on top or bottom of the script. Kinda confused, any help, please?

    Mister G., maybe you remember that...should I phone you? :D

    here are those .reg files

    Code:
    Windows Registry Editor Version 5.00
    
    ; UAC off
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    "EnableLUA"=dword:00000000
    
    ; disable UAC notify
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
    "UacDisableNotify"=dword:00000001
    
    ; allow sidebar gadgets when uac off
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Sidebar\Settings]
    "SidebarDockedPartsOrder"="0x1,0x2,0x3,0x4"
    "AllowElevatedProcess"=dword:00000001
    
    ; takeownership
    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""
    "Icon"="imageres.dll,-78"
    "Position"="Top"
    
    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-5-32-544:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-5-32-544:F"
    
    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""
    "Icon"="imageres.dll,-78"
    "Position"="Top"
    
    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant *S-1-5-32-544:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant *S-1-5-32-544:F /t"
    
    ; Empty RecycleBin right click
    [HKEY_CLASSES_ROOT\Directory\Background\shell\empty]
    "CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
    "Description"="@shell32.dll,-31332"
    "Icon"="shell32.dll,-254"
    "MUIVerb"="@shell32.dll,-10564"
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\empty\command]
    "DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"
    
    ;Add_Advanced_User_Accounts
    [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
    @="User Accounts Advanced Mode"
    "InfoTip"="Starts the \"Control User passwords 2\" Admin Screen"
    "System.ControlPanel.Category"="9"
    
    [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon]
    @="%SystemRoot%\\System32\\netplwiz.exe"
    
    [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell]
    
    [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open]
    
    [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command]
    @="Control Userpasswords2"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{98641F47-8C25-4936-BEE4-C2CE1298969D}]
    @="Add Advanced User Accounts to Control Panel"
    
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\Snipping Tool]
    "icon"="SnippingTool.exe,0"
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\Snipping Tool\command]
    @="SnippingTool.exe"
    
    
    
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1531 The_Guardian, Jan 4, 2013
    Last edited: Jan 4, 2013
    When adding reg entries I have found that adding a ping afterwards creates success. I had to add this to a comp I did a reinstallation on. Reg enties take a lil time to complete that is why I had to add a ping afterwards in order for my script not to error.
     
  12. searchengine

    searchengine Guest

    #1532 searchengine, Jan 4, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    REGEDIT /S MYREG.reg ... no cigar :biggrin5:

    try:-

    Code:
    cd /d %windir%\Setup\scripts\ >nul & (IF EXIST MYREG.reg regedit /S MYREG.reg >nul)
     
  13. dareckibmw

    dareckibmw MDL Expert

    Jun 16, 2009
    1,198
    1,363
    60
    Worked like a charm! Thanks G. :cheers:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. searchengine

    searchengine Guest

    u r welcome... no issue for the oobe.cmd, it has no interest in slic version, it's only interested in OEM id's (ie. HPQOEM, ACRSYS, etc).
    Test ran 'mnguyens' slic.rw report and the test confirmed v2.1... my suspicion is that for some reason the report didn't get read, possibly not even produced...so got a return of 'N/A'... the updated tool addressed the 32|64bit issue, and I adjusted the internal script a little.

    I have updated the 1st page link with a further update (05|01|13) which will return an entry of 'Report Missing' if required.

    No worries D... it's just the 'path' to files, keep needing to tell windows where the file is ;)
     
  15. dareckibmw

    dareckibmw MDL Expert

    Jun 16, 2009
    1,198
    1,363
    60
    #1535 dareckibmw, Jan 7, 2013
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    %~dp0"Windows Loader.exe" /silent /preactivate >nul
    change to
    %~dp0"Windows Loader.exe" /silent /norestart /preactivate >nul
    and put shutdown at end of ur script to what ever time you need.
     
  17. dareckibmw

    dareckibmw MDL Expert

    Jun 16, 2009
    1,198
    1,363
    60
    #1537 dareckibmw, Jan 7, 2013
    Last edited: Jan 7, 2013
    Ok, since all addons needs about ~140sec. to be installed, I'll change the script to 150, then see what will happen.Thanks.

    ...unless the loaders calls for shut down, hmm?

    edit:

    Thats what I thought; windows has to be shut down, otherwise it wont be activated by loader, unless you do that manually, which I did.

    btw.
    I removed this line from script: SHUTDOWN /R /T 165
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mnguyen

    mnguyen MDL Novice

    Jan 21, 2011
    30
    0
    0
    @searchengine

    result with new $OEM$_assessment

    OEM INFORMATION FOR THIS MACHINE
    --------------------------------

    Windows 7 Ultimate
    6.1.7601.win7sp1_gdr.120830-0333-x64bit
    Bios_Type... 786F6 v03.11 Default
    Bios_Date... 10/26/2010
    Bios_UEFI... Not Found

    SCANNED
    -------
    1st CSPRODUCT NAME = HP Compaq dc5850 Microtower
    2nd COMPUTERSYSTEM MODEL = HP Compaq dc5850 Microtower
    3rd BASEBOARD PRODUCT = 3029h
    4th CSPRODUCT VENDOR = Hewlett-Packard
    5th COMPUTERSYSTEM MFR = Hewlett-Packard
    6th BASEBOARD MFR = Hewlett-Packard
    7th BIOS ID = HPQOEM
    8th SLIC OA = N/A

    SUMMARY
    -------
    USER DISPLAY [*=incl.] = 1680x1050*
    THEME = COMPAQ [id:-`1st']
    ACTIVATION = COMPAQ [id:-`7th'] [bios mod or loader required]
     
  19. mfunction.ngh16

    mfunction.ngh16 MDL Novice

    Dec 27, 2012
    4
    1
    0
  20. searchengine

    searchengine Guest

    dareckibmw...

    where are you adding your 'script of addons' :confused:...
    in fact, if you zip the script and upload, I'll take a look :throw:

    mnguyen...

    when I get a chance, I'll mimic your bios details in vmware to see if I can reproduce the error... I think though it's more likely to be a permissions|access problem, so I might try elevating permissions in the tool to see if it remedies... I'll throw a few things at vmware 1st.