Creating auto-activating DVD's-With or Without Loader???

Discussion in 'Windows 7' started by sushil1576, Sep 21, 2009.

  1. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,489
    458
    90
    I query the EditionID value from the registry, if it helps.
     
  2. xunkaze

    xunkaze MDL Novice

    Sep 27, 2009
    14
    2
    0
    Just a little simple question.

    Is the UAC in effect when installing from SetupComplete.cmd? When i try to "test" the Install.vbs in windows i have to disable UAC first.
     
  3. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    I just "run as administrator" the .cmd script that calls it
     
  4. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    the regitry thing is done and tested, I have to test a bunch of other features
    before release.
     
  5. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,489
    458
    90
    Well take a look at the source for my newest kit and see if it helps/see if you can improve my kit.
     
  6. Allo

    Allo MDL Member

    Jul 29, 2009
    133
    44
    10
    Prepared Win Vista AIO DVD with x86 and x64 that installs Win Vista preactivate ?

    This is a real good piece of work by nononsence (for the scripts) and sushil1576 (for the guide) and the rest (for contributing ideas & feedback).

    Would this script also work for Vista (with SP2) by simply correct the iso label, and set the iso file name and sha1 sum respectively?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. searchengine

    searchengine Guest

    I also would like to thank all concerned with posting scripts and info relating to auto-activating Win7 ISO.

    Thanks to all involved, I have been able to make an automated extract, edit, rebuild ISO tailored to my specific requirements.

    I wanted to make a 32bit ISO with all wim images edited for all versions, including my favourite programs and either activate as OEM from bios; or loader if needed.

    Thanks to the scripts and info posted on this thread I have been able to achieve what I wanted.

    Only proper that I post my thanks.:)
     
  8. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    335
    157
    10
    Updated version with added features..

    New Pre-release version has been posted on the first page of this thread...Read the first page for proper guide and details...thanks
     
  9. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    335
    157
    10
    I don't think that just by changing and sha1 values will be enough...the process should be similar but we have to make other changes in the script as well for this to work in vista...Integrating the keys via DISM might not work...nononsence will be in a better position to describe this..:)
     
  10. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    335
    157
    10
    Thanks for the clarification... Or else i think we can also use key.vbs script by modifying it and putting it in the $OEM$ folder
     
  11. vinodh

    vinodh MDL Junior Member

    Aug 1, 2009
    82
    6
    0
    Thanks for this tool. I really appreciate the work. I have already made an AIO Windows 7 RTM DVD using the manual method and was preparing to add all the certificates and keys to this DVD. Now, most of the work is already done!

    I intend to use this DVD only on systems that have a SLIC 2.1 BIOS. However, after reading through some of this thread, it seems that this tool will automatically install a loader if the correct SLIC 2.1 BIOS is not found. The intention is to use this DVD as a clean recovery disk for OEM systems. It will not be used on non-OEM systems.

    Is it possible to edit this tool to remove the loader?

    Any help is appreciated.
     
  12. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    335
    157
    10
    #214 sushil1576, Oct 6, 2009
    Last edited: Oct 6, 2009
    (OP)
    Hi..yes you can edit the "install.vbs" script in the folder $OEM$\$$\SETUP\SRIPTS for not installing loader...Just delete evrything from "populate dictonaty" till "Reboot"...i think that will stop the script from installing loader...please report back...
    Method 2:
    Just put all the oem certs in the folder $OEM$\$$\SYSTEM32\OEM\ and then integrate the keys for their respective editions via DISM...with this method,windows will automatically inserts the correct certs and your windows will be activated...In this method you don't need to use any script..Just integrate the keys into install.wim via DISM and put the certs in the $OEM$ folder as shown above..
     
  13. vinodh

    vinodh MDL Junior Member

    Aug 1, 2009
    82
    6
    0
    Thanks for the quick reply. I'll test out your suggestions and report back as soon as it's done. I just need to change the BIOS on Virtual PC to SLIC 2.1
     
  14. Hoppyah

    Hoppyah MDL Senior Member

    Aug 12, 2009
    294
    14
    10
    idea

    cant you just delete '==================================================================================
    'install bootloader
    '==================================================================================



    If objFileSystem.FileExists(TargetDrive & "\GRLDR") Then
    Set objGRLDR = objFileSystem.GetFile(TargetDrive & "\GRLDR")
    If objGRLDR.Attributes AND 1 Then
    objGRLDR.Attributes = objGRLDR.Attributes XOR 1
    End If
    If objGRLDR.Attributes AND 2 Then
    objGRLDR.Attributes = objGRLDR.Attributes XOR 2
    End If
    If objGRLDR.Attributes AND 4 Then
    objGRLDR.Attributes = objGRLDR.Attributes XOR 4
    End If
    End IF

    objFileSystem.CopyFile currentDIR & "\bin\GRLDR", TargetDrive & "\", 1

    If objFileSystem.FileExists(TargetDrive & "\GRLDR") Then
    Set objGRLDR = objFileSystem.GetFile(TargetDrive & "\GRLDR")
    If NOT objGRLDR.Attributes AND 1 Then
    objGRLDR.Attributes = objGRLDR.Attributes XOR 1
    End If
    If NOT objGRLDR.Attributes AND 2 Then
    objGRLDR.Attributes = objGRLDR.Attributes XOR 2
    End If
    If NOT objGRLDR.Attributes AND 4 Then
    objGRLDR.Attributes = objGRLDR.Attributes XOR 4
    End If
    End If


    Shell.Run chr(34) & currentDIR & "\bin\bootinst.exe" & chr(34) & " /nt60 " & TargetDrive, 2, 1

    if you dont want the bootloader installed or you could make 2 scripts, one with bootloader the other without:cool:
     
  15. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30