November 13, 201312 yr Hello, in Windows XP its possible to pass commands to the default boot.ini, to configure first and default boot after setup. In 7 is possible? Any idea where is the bcd config in install cd? I want to hide the gui of animated screen or disable the signature check by default.If only change bootscreen in install.vim its result, a beatiful error:Excuseme my english, i am Spanish, Spanish...Thanks.
November 15, 201312 yr I'm not 100% sure, but i think the only reliable way to do what you want is to use bcedit in conjunction with a firstlogon.cmd.As an example, i do something similar with autoit to rename the bcd title in case of a dual boot. Its friday and this is my last web page i visit before going out, so i don't have the time to convert to cmd. If @OSVersion = "WIN_8" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\8.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\8", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\8", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8.cmd", @ScriptDir, @SW_HIDE) ;Win8 Safemode to BCD RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} safeboot Minimal', "", @SW_HIDE) ;Runwait(@ComSpec & ' /c ' & @WindowsDir & '\system32\reagentc /enable', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /copy {current} /d "Windows 8 (Safe Mode)"', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /deletevalue {current} safeboot', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} bootmenupolicy standard', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & "\system32\bcdedit /timeout 10", "", @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x86.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar86.cmd", @TempDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x64.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar64.cmd", @TempDir, @SW_HIDE) EndIf EndIf If @OSVersion = "WIN_81" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\8.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\8", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\8", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8.cmd", @ScriptDir, @SW_HIDE) ;Win8 Safemode to BCD RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} safeboot Minimal', "", @SW_HIDE) ;Runwait(@ComSpec & ' /c ' & @WindowsDir & '\system32\reagentc /enable', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /copy {current} /d "Windows 8.1 (Safe Mode)"', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /deletevalue {current} safeboot', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} bootmenupolicy standard', "", @SW_HIDE) RunWait(@ComSpec & ' /c ' & @WindowsDir & "\system32\bcdedit /timeout 10", "", @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8.1 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x86.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar86.cmd", @TempDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 8.1 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\8x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\8x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\8x64.cmd", @ScriptDir, @SW_HIDE) ;RunWait(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\Windows_Sidebar.7z -o" & @TempDir & "\ -aoa", @TempDir, @SW_HIDE) ;RunWait(@TempDir & "\Sidebar64.cmd", @TempDir, @SW_HIDE) EndIf EndIf ;Win7 If @OSVersion = "WIN_7" Then ;Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\7.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) ;DirCopy(@ScriptDir & "\Desktop\7", @UserProfileDir & "\Desktop\", 1) DirCopy(@ScriptDir & "\Overlay\7", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7.cmd", @ScriptDir, @SW_HIDE) If @OSArch = "X86" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 7 x86"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\7x86.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\7x86", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7x86.cmd", @ScriptDir, @SW_HIDE) EndIf If @OSArch = "X64" Then Run(@ComSpec & ' /c ' & @WindowsDir & '\system32\bcdedit /set {current} description "Win 7 x64"', "", @SW_HIDE) Run(@TempDir & "\Tweaks\7zG x " & @ScriptDir & "\Tweaks\7x64.7z -o" & @HomeDrive & "\ -aoa", @HomeDrive, @SW_HIDE) DirCopy(@ScriptDir & "\Overlay\7x64", @HomeDrive & "\", 1) RunWait(@ScriptDir & "\Special\7x64.cmd", @ScriptDir, @SW_HIDE) EndIf EndIf
November 16, 201312 yr Author If it must be the only solution out there. The old XP installation program was much more flexible.Thank you very much.
Create an account or sign in to comment