Hi guys, is possible to install any certificate on windows7 during installation Seven software? I see the automatic install loader, but i have the bios slic and if is possible i wold an automatic install certficate. Thanks to all
Yes, can be do by hand using a SetupComplete.cmd you can place this file and your cert in this folder on you Windows 7 DVD Sources\$OEM\$$\SETUP\SCRIPTS\ Everything in that folder gets copied to Windows\SETUP\SCRIPTS\ It works because Microsoft Automatically searches for that file and runs it at after Setup Completes This is the line of code you need to add into SetupComplete.cmd cscript %SYSTEMROOT%\System32\slmgr.vbs -ilc "RANDOM_CERT.xrm-ms"
yup, key is easy. just add the SLMGR.VBS -IPK XXXXX-XXXXX command. easy way for OEM logo is gonna be get HAZAR loader, unrar, find the OEM logos you want and Copy "info" folder with all the png inside into your DVD in this folder Sources\$oem$\$$\System32\oobe\ Then you should move the reg.reg into same directory as SetupComplete.cmd so that you don't need explicit pathname. Sources\$oem$\$$\SETUP\SCRIPTS\ Import reg settings with "regedit /S reg.reg" any other commands you need, work them into the SetupComplete.cmd , that is why it is there for you
Thanks I have Dell Oem Vista Ultimate with oem folder I can copy oeminfo and logo etc. There is a reg file need to edit it for w7?
If you gets hazar loader and unrar it, and find already done reg.reg is inside there, you may need to alter little bit to fit the names of you logo files.
Code: for /f "eol=; tokens=1,2,3,4,5,6,7 delims=\" %%a in ( 'reg.exe query HKLM\HARDWARE\ACPI\RSDT /s ^| find.exe /i "ACPI\RSDT\"') do If Not "%%f"=="" If "%%g"=="" Set _OEMID_=%%e
The question was: is it possible to install any certificate on windows7 during installation Seven software? You can enhance this piece of code, it automatically detects OEMID read from registry so you could install brand specific certificates, keys, logo's when SetupComplete.cmd is called upon
autoit snippet Code: global $i, $RSDT, $OSArch If @OSVersion = "WIN_VISTA" Or @OSVersion = "WIN_7" Or @OSVersion = "WIN_2008" Then if @OSArch = "X64" then $OSArch = "HKLM64" Else $OSArch = "HKLM" endif $RSDT = RegEnumKey($OSArch & "\HARDWARE\ACPI\RSDT", 1) Select case $RSDT = "ACRSYS" ; do something case $RSDT = "DELL__" ; do something case $RSDT = "HPQOEM" ; do something EndSelect endif