Jump to content

marcusj0015

Member
  • Posts

    150
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by marcusj0015

  1. this code finds the manufacturer of the computer


    '-> Varibles And Objects
    Dim Act :Set Act = CreateObject("Wscript.Shell")
    Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")
    Dim Wmi :Set Wmi = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
    Dim Chk, Col, I, Obj, Reg
    Chk = False
    Reg = Act.ExpandEnvironmentStrings("%Systemroot%\OOBE\OEM\")
    '-> Array To Hold Manufacture Name
    Col = Array("Acer","Apple","ASUS","eMachine","Gateway","HP","Toshiba")
    '-> Wmi Querry For Computer Manufacture
    For Each Obj In Wmi.ExecQuery("SELECT * FROM Win32_ComputerSystem")
    For Each I In Col
    If InStr(1,Obj.Manufacturer,I,1) Then
    RegFileAdd(I)
    Chk = True
    End If
    Next
    Next
    '-> If There Was No Matching Manufacture
    If Chk = False Then
    MsgBox "Can Not Determine The Computer Model", 4128,"Undetermine Computer Model"
    End If
    '-> Function To Add The Registry File
    Function RegFileAdd(Name)
    Reg = Reg & Name & "\" & Name & ".reg"
    If Fso.FileExists(Reg) Then
    Act.Run("Regedit /S " & Reg),1,True
    Else
    MsgBox "Error Can Not Find This File" & vbCrLf & _
    Reg, 4128,"Reg File Missing"
    End If
    End Function

    but i have 3 acer computers, so i need the script to find the manufacturer & model number, then load the correct reg file (for computer branding purposes)

    but i want it to me autmatic, so it can find the manufacturer & model number and install that info , so if i get another computer, i can use the same disc, without having to add more custom brainding, basically is there a way for the vbs file to install the manufactor and model number on it's own, without seperate reg files?

  2. what do you want to change about it?

    the text?

    i forget which file that button is in, but i'm pretty sure it's in W32UIRES.dll > Dialog section

    don't mess around with .RC files, it only casues confusion, and Resource Hacker will save it as .RC, but will only import .RES so you have to rename all of them too

    just edit them, in the resource editor

  3. i already know how to edit the images, and the text strings

    what i really want to do, is find out what files describe the progress bar, and all the other stuff like that, that is hard core mods

    does anyone know which file holds pandoras box?

    does anyone know how to edit the files in pandoras box?

    the only thing i've found so far, is in APDS.dll > CSS > 502 & 503 are CSS files, that describe some of the text color stuff, but i have no clue where those settings kick in

  4. im compressing about 22.78 GB's of data into a windows 7 image (it includes adobe and office and other stuff too.)

    it compreses to 9.23 GB wim file.

    im using the maximum compression

    how can i get this to compress to about 7gb's to fit on a DVD9?

    can i delete the WinSxS/Backup folder?

    is there a hidden compression in imagex? i heard about a hidden compression option that compresses better than maximum.

    what folders can be SAFELY deleted to slim the wim down?

    i've already removed all language folders from the windows folder except en, and en-us.

  5. APDS.DLL has two CSS files i THINK they are for how the setup screen is layed out

    Dreamweaver CS5 DOES NOT show what it would look like

    is there anyway to see how this css would look?

    heres the code from 502.CSS

    /* Base style sheet MSX UA Longhorn content */

    @media Screen

    {

    body

    {

    font-family: Segoe UI, Verdana, Arial, Sans Serif;

    color: #333333;

    margin: 0px;

    padding: 0px;

    }

    .popupBody, body.popupBody

    {

    font-family: Segoe UI, Verdana, Arial, Sans Serif;

    color: #333333;

    margin: 0px;

    padding: 0px;

    background: #FEFECC;

    border:1px black solid;

    }

    a:link

    {

    color: #0033CC;

    text-decoration: none;

    }

    a:visited

    {

    color: #990099;

    text-decoration: none;

    }

    a:active

    {

    text-decoration: none;

    }

    a:hover

    {

    text-decoration: underline;

    }

    a:link img, a:visited img

    {

    border-style: none;

    }

    #RandFSection

    {

    font-size: 70%;

    margin-right: 8px;

    margin-left: 12px;

    margin-top: 30px;

    margin-bottom: 0px;

    padding-bottom: 0px;

    padding-top: 8px;

    border-top: 1px solid Activecaption;

    }

    .randfinputbuttons

    {

    font-size: 70%;

    margin-top: 0px;

    margin-bottom: 0px;

    padding-top: 0px;

    padding-bottom: 24px;

    }

    .randffirstline, .randfradiobuttons, .randftextarea

    {

    margin-top: 0px;

    margin-bottom: 0px;

    padding-top: 0px;

    padding-bottom: 8px;

    }

    .randfradiobutton

    {

    margin-top: 0px;

    margin-bottom: 0px;

    padding-top: 0px;

    padding-bottom: 0px;

    }

    table.banner

    {

    font-size: 70%;

    table-layout: auto;

    margin-right: 0px;

    margin-left: 0px;

    margin-top: 0px;

    margin-bottom: 0px;

    border-bottom: 1px solid Activecaption;

    }

    td.bannerText

    {

    background-color: Infobackground;

    vertical-align: top;

    padding-top: 9px;

    padding-left: 0px;

    padding-bottom: 12px;

    padding-right: 8px;

    margin-left: 0px;

    margin-right: 0px;

    width: 100%;

    border: 0px;

    }

    td.bannerIcon

    {

    background-color: Infobackground;

    vertical-align: top;

    padding-left: 12px;

    padding-top: 8px;

    padding-right: 10px;

    border: 0px;

    }

    }

  6. where are the latest update lists for windows 7?

    i have like 420 updates and there are stability issues so i want to build a whole new update pack of only officially released updates for myself

    ~EDIT~

    Does Microsoft Update Catalog have the updates that requre you to validate windows?

    or do i have to spend forever picking through all of microsoft.com to get those?

  7. to change the background you edit the imageres.dll and you edit setup.bmp, background.bmp and winpe.bmp

    and in imageres.dll you use a resource editor and replace the defualt backgrounds with your custom ones

    YOU ALSO NEED TO REPEAT THESE STEPS IN THE BOOT.WIM AND IN THE INSTALL.WIM AT C:\Windows\System32\oobe

    AND ALL OF THE CREATING USER NAME AND ALL AFTER SETUP STUFF IS IN DIFFERENT FILES IN THE OOBE FOLDER AND YOU MUST REPLACE THE IMAGERES.DLL AND THE BACKGROUND.BMP

    AND ALSO GO TO YOUR DVD FOLDER AND REPLACE THE BACKGROUND_CLI.BMP ALSO

  8. well to add a drop shadow to the start menu you need to do a few things and ill explian it too

    Windows 7 Aero dosent have a drop shadow section so you would hacve to edit the start menu images and make a new layer and basically make a drop shadow effect in photoshop

    so you have to edit the start menu images to make it look like theres a drop shadow

    im too busy right now to rab the image names but the start menu section in VSB is

    Start Menu > Panels > Aero > Top

    Start Menu > Panels > Aero > Bottom

    Start Menu > Panels > Basic

    export all those images and figure out which image is which part of the start menu

    VSB also has a thing on the bottom that will tell you what a certain image is used for

    i hope i helped!

  9. Me (Marcusj0015) Thaimin and Joakim at SevenForums are working on a hack for a custom boot flag and custom text, text size, and text color

    its coming along pretty well

    we are almost done

    DON'T SPAM THE THREAD WITH QUESTIONS ABOUT WHEN IT WILL BE DONE!!!!!!

    here is a link to follow progress and submit ideas

    http://www.sevenforums.com/customization/106861-how-change-boot-animation-windows-7-a-24.html

  10. i have already sysprepped Windows 7

    but i forgot to install Google Chrome (Enterprise version it installs in the Program files folder instead of the user folder)

    and i want to install some Adobe Updates for CS5

    is it safe to go back in (Control+Shift+F3 Method) and install these things then Sysprep again?

    i don't want to have to start all over again

×
×
  • Create New...