kalpak Цитата: fira+boottsdi
Для этого сочетания (т.е. без RAMDISK.SYS от win2003 sp1) нужен загрузчик, который умеет монтировать образ диска: Grub4DOS или SysLinux.
"invalid or unsupported executable format" - это Grub4DOS у Вас так ругается? Надо же описывать ошибку конкретно.
Wim-загрузка выгоднее по экономии оперативки, прочитайте эту ветку от "корки до корки". ramdisk, setupldr.bin win2003 sp1 есть в шапке, в конструкторе RusLive.
В продолжение темы "Gena на билдере 82":
Базовый конструктор, [more=Отчёт об изменениях]// === [Отчёт об изменениях в «Gena»] files=9 === 30.07.2012
// === 1 [Basic\0 CampPE.script Version=015] ===
// 450 Original:
IniWrite,%ProjectDir%\script.project,VariablesRunFromX,#$pCDDrive#$p,##$pCDDrive##$p
// Mod:
If,%Version%,SMALLER,81,IniWrite,%ProjectDir%\script.project,VariablesRunFromX,#$pCDDrive#$p,##$pCDDrive##$p
Else,IniWrite,%ProjectDir%\script.project,VariablesRunFromX,#$pCDDrive#$p,#$pCDDrive#$p
// 556 Original:
IniWrite,%projectdir%\script.project,IniVariables,RFDF_Drive,##$pSystemDrive##$p
// Mod:
If,%Version%,SMALLER,81,IniWrite,%projectdir%\script.project,IniVariables,RFDF_Drive,##$pSystemDrive##$p
Else,IniWrite,%projectdir%\script.project,IniVariables,RFDF_Drive,#$pSystemDrive#$p
// 567 Original:
IniWrite,%projectdir%\script.project,IniVariables,RFCD_Drive,##$pCDDrive##$p
// Mod:
If,%Version%,SMALLER,81,IniWrite,%projectdir%\script.project,IniVariables,RFCD_Drive,##$pCDDrive##$p
Else,IniWrite,%projectdir%\script.project,IniVariables,RFCD_Drive,#$pCDDrive#$p
// === 2 [Basic\1 PrepPE.script Version=036] ===
// 196 Original:
Set,%ISOfile%,%ISOfilefromScriptProjectMain%,Permanent
// Mod:
If,%Version%,SMALLER,81,Set,%ISOfile%,%ISOfilefromScriptProjectMain%,Permanent
Else,Set,%ISOfile%,%ISOfilefromScriptProjectMain%
// === 3 [Basic\2 EnvironmentPE.script Version=005] ===
// 88,96 Original:
Set,%SettingsDrive%,##$pSystemDrive##$p,PERMANENT
// Mod:
If,%Version%,SMALLER,81,Set,%SettingsDrive%,##$pSystemDrive##$p,PERMANENT
Else,Set,%SettingsDrive%,#$pSystemDrive#$p,PERMANENT
// 98 Original:
Set,%RAMDriveLetter%,##$pSystemDrive##$p
// Mod:
If,%Version%,SMALLER,81,Set,%RAMDriveLetter%,##$pSystemDrive##$p
Else,Set,%RAMDriveLetter%,#$pSystemDrive#$p
// 139 Original:
If,%Temp_Custom_Drive_ScrollBox%,Equal,"System Drive",Set,%TD%,##$pSystemDrive##$p
// Mod:
If,%Version%,SMALLER,81,If,%Temp_Custom_Drive_ScrollBox%,Equal,"System Drive",Set,%TD%,##$pSystemDrive##$p
Else,If,%Temp_Custom_Drive_ScrollBox%,Equal,"System Drive",Set,%TD%,#$pSystemDrive#$p
// === 4 [Basic\4 ProgramFilesPE.script Version=015] ===
// 433 Original:
IniWrite,%projectdir%\script.project,IniVariables,RFDF_Drive,##$pSystemDrive##$p
// Mod:
If,%Version%,SMALLER,81,IniWrite,%projectdir%\script.project,IniVariables,RFDF_Drive,##$pSystemDrive##$p
Else,IniWrite,%projectdir%\script.project,IniVariables,RFDF_Drive,#$pSystemDrive#$p
// 437 Original:
IniWrite,%projectdir%\script.project,IniVariables,RFDF_PE_Programs,"##$pSystemDrive##$p\%prog%"
// Mod:
If,%Version%,SMALLER,81,IniWrite,%projectdir%\script.project,IniVariables,RFDF_PE_Programs,"##$pSystemDrive##$p\%prog%"
Else,IniWrite,%projectdir%\script.project,IniVariables,RFDF_PE_Programs,"#$pSystemDrive#$p\%prog%"
// 443 Original:
IniWrite,%projectdir%\script.project,IniVariables,RFCD_Drive,##$pCDDrive##$p
// Mod:
If,%Version%,SMALLER,81,IniWrite,%projectdir%\script.project,IniVariables,RFCD_Drive,##$pCDDrive##$p
Else,IniWrite,%projectdir%\script.project,IniVariables,RFCD_Drive,#$pCDDrive#$p
// 447 Original:
IniWrite,%projectdir%\script.project,IniVariables,RFCD_PE_Programs,##$pCDDrive##$p\%RFCD_Programs%
// Mod:
If,%Version%,SMALLER,81,IniWrite,%projectdir%\script.project,IniVariables,RFCD_PE_Programs,"##$pCDDrive##$p\%RFCD_Programs%"
Else,IniWrite,%projectdir%\script.project,IniVariables,RFCD_PE_Programs,"#$pCDDrive#$p\%RFCD_Programs%"
// === 5 [Finals\1 Optimizations\Lang_RussianSupport.script Version=018] ===
// 14 Original:
Disable=%ProjectDir%\Components\Tweaks\autoKeyboard.Script,%ProjectDir%\Components\Tweaks\toggleKeyboard.Script,%ProjectDir%\Components\Tweaks\toggleKeyboard.Script
// Mod:
Disable=%ProjectDir%\Components\Tweaks\autoKeyboard.Script,%ProjectDir%\Components\Tweaks\toggleKeyboard.Script,%ProjectDir%\Components\Tweaks\toggleKeyboard.Script,"%ProjectDir%\Basic\Build\Locale CD Additions.Script",%ProjectDir%\Basic\Build\LocalizedInfoMore.script
// 39 Original:
pRadioButton1=Ctrl+Shift,1,11,30,40,100,20,True
pRadioButton2=Alt+Shift,1,11,30,60,100,20,False
// Mod:
pRadioButton1=Ctrl+Shift,1,11,30,40,100,20,False
pRadioButton2=Alt+Shift,1,11,30,60,100,20,True
// 45 Original:
pScrollBox2="Display as symbols (""EN"" ""RU"")",1,4,240,95,181,21,"Display as symbols (""EN"" ""RU"")","Display as flags"
// Mod:
pScrollBox2="Display as symbols «EN», «RU»",1,4,240,95,181,21,"Display as symbols «EN», «RU»","Display as flags"
// 155 Original:
If,EXISTFILE,%TargetDir%\BOOTFONT.BIN,FileDelete,%TargetDir%\BOOTFONT.BIN
// Mod:
If,EXISTFILE,%TargetDir%\BOOTFONT.BIN,Shellexecute,Hide,cmd.exe,"/c DEL /F /Q #$q%targetdir%\BOOTFONT.BIN#$q"
// 357 Original:
If,%pScrollBox2%,Equal,"Display as symbols (""EN"" ""RU"")",Run,%ScriptFile%,LanguageCursor-Symbols
// Mod:
If,%pScrollBox2%,Equal,"Display as symbols «EN», «RU»",Run,%ScriptFile%,LanguageCursor-Symbols
// 371 Original:
ExtractFile,%ScriptFile%,Folder,russian.lng,%extractto%
// Mod:
IniWrite,%extractto%\AmlMaple.ini,WindowsXP,Flags,9
// 388 Original:
ExtractFile,%ScriptFile%,Folder,russian.lng,%extractto%
IniWrite,%extractto%\AmlMaple.ini,WindowsXP,Flags,15
// Mod:
IniWrite,%extractto%\AmlMaple.ini,WindowsXP,Flags,11
// AmlMaple.ini Original:
[WindowsXP]
Flags=13
HotKeyModifier=0
HotKeyKey=121
LangFile=
NOTRAY=1
// AmlMaple.ini Mod:
[WindowsXP]
Flags=9
HotKeyModifier=0
HotKeyKey=121
LangFile=
NOTRAY=1
[WindowsVista]
Flags=11
HotKeyModifier=0
HotKeyKey=121
LangFile=
NOTRAY=1
[]
Flags=9
HotKeyModifier=0
HotKeyKey=121
LangFile=
NOTRAY=1
// === 6 [Finals\2 Create Image\WimBoot.script Version=80] ===
// 145 Original:
Run,%scriptfile%,CheckFiles
// Mod:
// Run,%scriptfile%,CheckFiles
// 326 Original:
If,ExistFile,"%target_win%\setupldr.bin",FileDelete,"%target_win%\setupldr.bin"
If,ExistFile,"%target_win%\ntdetect.com",FileDelete,"%target_win%\ntdetect.com"
// Mod:
If,ExistFile,%target_win%\SETUPLDR.BIN,Shellexecute,Hide,cmd.exe,"/c DEL /F /Q #$q%target_win%\SETUPLDR.BIN#$q"
If,ExistFile,%target_win%\ntdetect.com,Shellexecute,Hide,cmd.exe,"/c DEL /F /Q #$q%target_win%\ntdetect.com#$q"
// 308 Original:
Set,%ISOFileGivenName%,%ISOFileName_Wout_Extension%_WIM.ISO
// Mod:
Set,%ISOFileGivenName%,%ISOFileName_Wout_Extension%_WIM.ISO,Permanent
// 400 Original:
Set,%ISOfile%,%ISODir%\%ISOFileGivenName%,Permanent
// Mod:
If,%Version%,SMALLER,81,Set,%ISOfile%,%ISODir%\%ISOFileGivenName%,Permanent
Else,Set,%ISOfile%,%ISODir%\%ISOFileGivenName%
// 634 Original:
FileDelete,%target_sys%\ntoskrnl.ex?
FileDelete,%target_sys%\hal*.dl?
// Mod:
If,EXISTFILE,%target_sys%\ntoskrnl.ex?,Shellexecute,Hide,cmd.exe,"/c DEL /F /Q #$q%target_sys%\ntoskrnl.ex*#$q"
If,EXISTFILE,%target_sys%\hal*.dl?,Shellexecute,Hide,cmd.exe,"/c DEL /F /Q #$q%target_sys%\hal*.dl*#$q"
// 647 Original:
FileCopy,%source_sys%\halapic.dl_,%target_sys%
// Mod: Del
// === 7 [script.project Version=038] ===
// 302 Original:
IniRead,%VerificationInfo%,"Locale CD Additions_Main",Selected,%Sel%
If,Not,%Sel%,Equal,True,Begin
Message,"Verification error: Project requires Locale CD Additions script to be selected",ERROR
Halt,"Verification error: Project requires Locale CD Additions script to be selected"
End
// Mod: Del
// === 8 [Basic\Build\3 - Profile 3 Create Folders.Script Version=005] ===
// 568 Original:
//--
If,Not,ExistDir,%target_win%\Fonts,DirMake,%target_win%\Fonts
If,ExistFile,%target_win%\Fonts\desktop.ini,ShellExecute,Hide,attrib.exe,"-S -H #$q%target_win%\Fonts\desktop.ini#$q"
Else,FileCreateBlank,%target_win%\Fonts\desktop.ini
IniWrite,%target_win%\Fonts\desktop.ini,.ShellClassInfo,UICLSID,{BD84B380-8CA2-1069-AB1D-08000948F534}
ShellExecute,Hide,attrib.exe,"+S +H #$q%target_win%\Fonts\desktop.ini#$q"
ShellExecute,Hide,attrib.exe,"+S +R #$q%target_win%\Fonts#$q"
//--
// Mod: Del
// === 9 [VirtualTest\VirtualBox.script Version=050] ===
// 163 Original:
Set,%ISOfileVar%,%ISOfile%
// Mod:
If,ExistVar,%ISOFileGivenName%,Set,%ISOfileVar%,%IsoDir%\%ISOFileGivenName%
Else,Set,%ISOfileVar%,%ISOfile%[/more]