" win7pe can not be run from inside a user's profile directory"
#1
Posted 28 March 2011 - 07:16 AM
#2
Posted 28 March 2011 - 07:35 AM
Have fun and welcome!
#3
Posted 28 March 2011 - 04:04 PM
[font="Comic Sans MS"]One of my requests today is that u please assist me in getting this matter of recurring error message " win7pe can not be run from inside a user's profile directory"(God that's annoying).
what else is annoying is people that write their whole post in red! please don't do that!
place your winbuilder folder directly on the C: (or another letter) drive. Desktop/my documents/etc are all part of your user profile directory which may contain spaces which raises hell with some console apps used in building.
#4
Posted 29 March 2011 - 02:54 AM
WinBuilder [080]
Scripts
Processing section: [process] in file: [Copy to USB-Device] 1 minute, 40.654 seconds
Errors
[Failed] (Processing section: [process] in file: [Copy to USB-Device]) FileDelete - Failed to delete [%BaseDir%\Temp\grldr]: The handle is invalid
Warnings
[Warning] (Processing section: [process] in file: [Copy to USB-Device]) Halt
%BaseDir% = C:\WinBuilder\
(WinBuilder's path is replaced by the variable %BaseDir% to make the log easier to read)
WinBuilder Version [080]
Variables
%API% %BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script
%API_TYPE% 2
%APIDEF% API
%APISUBDEF% _Calculate,AddAutoRun,*AddPostConfig,*AddPreConfig,*AddToPEShell,Add_Shortcut,Add_Asso,*Add_Pin,Add_URL,Arch,Associate_File,Ask_License,CapiC,*CopyDrv,CopyProgram,ExtractAndRunc,Others,*ReadENV,Registry,Require_File,*RequireSysFile,RunFrom,Unpack,Variable
%APIVAR% ApiVar
%AppMode% wbaNormal
%AtRam% False
%AutoRunFile% %BaseDir%\Target\Win7PE SE\windows\system32\autorun.cfg
%AutoStartMode% 1
%AutoStartParameters%
%BaseDir% C:\WinBuilder
%BootMenu% C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\Desktop\WinBuilder\Workbench\Win7PE_SE\Cache\OtherOSMenu\menu.lst
%BootMenu_Target% C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE
%BootSector% Grub4Dos
%BootSkin% SunRise
%BootSRC% %BaseDir%\Temp\Win7PE_SE\1Mount\BootWimSrc
%BootType% MultiBoot
%Build% 2010-Mar-02 12:00
%Capi_Exit_Script%
%Capi_ReadEnv%
%Capi_RegAddBootMethod% NMcfg
%Capi_Shortcut_TYPE% 2
%Capi_WB_Depend%
%CapiScriptArch%
%CDDrive% Y:
%Day% 27
%DistLang%
%DistLangHost%
%ES% %BaseDir%\Target\Win7PE SE\windows\system32\shortcut.inf
%Fileredirect% No
%GlobalSupport% %BaseDir%\Workbench
%GlobalTemp% %BaseDir%\Temp
%GlobalTemplates% %BaseDir%\Workbench\Common
%HostOS% XP
%InstallSRC% %BaseDir%\Temp\Win7PE_SE\1Mount\InstallWimSrc
%IsoDir% %BaseDir%\ISO
%IsoFile% %BaseDir%\ISO\Win7PE SE.iso
%IsoFileName% Win7PE SE.iso
%ISOfileVar% C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\WinBuilder\ISO\Win7Pe.iso
%LocaleScript% %BaseDir%\Projects\Win7PE_SE\Build\locale.script
%LocalizeCountryCode%
%LocalizeCountryShortCountry%
%LocalizeExtLocal%
%LocalizeExtUpdate%
%LocalizeInfoMore%
%LocalizeInfoMoreHostOS%
%LocalizeInfoMoreHostOSmui%
%LocalizeInfoTemp%
%LocalizeISO3166Country%
%LocalizeISO639Language%
%LocalizeLCID%
%LocalizeLID%
%LocalizeLocale%
%LocalizeLocaleHostOS%
%Month% 3
%OS% Win7
%OSArch%
%OsType% Project
%OtherOS_Folder% Boot\IMG
%OtherOS_Root% %BaseDir%\Target\Win7PE SE
%OtherOS_Target% %BaseDir%\Target\Win7PE SE\Boot\IMG
%PE_CFG% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%PE_Programs% Y:\Programs
%PECfg% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%PECfgCD% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%PreISOScript%
%ProcessorType% 586
%ProgramFilesDir% C:\Program Files
%Programs64% C:\Program Files
%ProjectCache% %BaseDir%\Workbench\Win7PE_SE\Cache
%ProjectDir% %BaseDir%\Projects\Win7PE_SE
%ProjectInfo% %BaseDir%\Projects\Win7PE_SE\project.ini
%ProjectName% Win7PE_SE
%ProjectSupport% %BaseDir%\Workbench\Win7PE_SE
%ProjectTemp% %BaseDir%\Temp\Win7PE_SE
%ProjectTemplates% %BaseDir%\Workbench\Win7PE_SE\UserData
%ProjectTitle% Win7PE SE
%RegComponents% %BaseDir%\Target\Win7PE SE\windows\system32\config\COMPONENTS
%RegDefault% %BaseDir%\Target\Win7PE SE\windows\system32\config\default
%RegSam% %BaseDir%\Target\Win7PE SE\windows\system32\config\sam
%RegSecurity% %TargetDir%\Windows\System32\config\security
%RegSoftware% %BaseDir%\Target\Win7PE SE\windows\system32\config\software
%RegSystem% %BaseDir%\Target\Win7PE SE\windows\system32\config\system
%RegUser% %BaseDir%\Target\Win7PE SE\windows\system32\config\default
%source_sys% %BaseDir%\Temp\Win7PE_SE\1Mount\InstallWimSrc\Windows\System32
%source_win% %BaseDir%\Temp\Win7PE_SE\1Mount\InstallWimSrc\Windows
%SourceArch%
%SourceDir% C:\Win 7 Ultimate
%SystemDrive% #$pSystemDrive#$p
%SysType%
%Target_Prog% %BaseDir%\Target\Win7PE SE\Programs
%target_sys% %BaseDir%\Target\Win7PE SE\Windows\System32
%target_win% %BaseDir%\Target\Win7PE SE\Windows
%TargetDir% %BaseDir%\Target\Win7PE SE
%TargetProfilesBaseDir% %BaseDir%\Target\Win7PE SE
%TargetProfilesUserDir% %BaseDir%\Target\Win7PE SE\Users\Default
%TargetWOW64% x86
%TempDir% C:\DOCUME~1\SIRPEA~1\LOCALS~1\Temp
%TempFolder% %BaseDir%\Temp\Win7PE_SE
%Tools% %BaseDir%\Projects\Tools\Win7PE_SE
%UserName% SIRPEACHYKEEN
%UserProfile% C:\Documents and Settings\SIRPEACHYKEEN
%Version% 080
%VPE_CFG% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%VPECFG% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%VPECFGCD% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%WBexe% %BaseDir%\WinBuilder.exe
%WIMEditionID%
%Win7PECfg% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%Win7PECfgCD% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%WindowsDir% C:\WINDOWS
%WindowsSystemDir% C:\WINDOWS\system32
%WinServicePack%
%WinVersion%
%Wow64% False
%Wow64Dir%
%Year% 2011
[Script] Processing section: [process] in file: [Copy to USB-Device]
[Info] File [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script] Version [13]
[Success] StrFormat - converted [POS(%BaseDir%,%UserProfile%,%pos%)] to variable: [%pos%] with result: [0]
[Ignore] IF - [0] is not equal to: [1] evaluated string: [If,%pos%,EQUAL,1,Begin]
[Skipped] [Message,"Win7PE cannot run from inside a user's profile directory.",Error]
[Skipped] [Halt,"Win7PE cannot run from inside a user's profile directory."]
[Ignore] [End]
[Success] AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] into the local variable list
[Success] System - OnBuildExit [System,ONBUILDEXIT,Exec,%API%,Clean]
[Info] Preraring...
Run - Processing section: [Read_ENV2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
[Success] IF - [] is not equal to: [No] evaluated string: [If,Not,%Capi_ReadEnv%,Equal,No,Run,%Api%,Read_ENV2_ProjectInfo,#1,#2,#3,#4,#5,#6,#7,#8,#9]
Run - Processing section: [Read_ENV2_ProjectInfo] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
[Ignore] IF - [] is equal to: [] evaluated string: [If,Not,#1,Equal,,Begin]
[Skipped] [If,#2,Equal,,IniRead,%ProjectInfo%,%OsType%Info,#1,%#1%]
[Skipped] [Else,IniRead,%ProjectInfo%,%OsType%Info,#1,%#2%]
[Ignore] [End]
[Success] ELSE - executing command: [Begin]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SourceType] to variable: [%SourceType%] with value [Win7CD]
[Ignore] IF - [Win7CD] is not equal to: [] evaluated string: [If,%SourceType%,Equal,,Run,%API%,NotConfigured]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Language] to variable: [%DistLang%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SourceDir] to variable: [%SDIR%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [WimTools] to variable: [%WimTools%] with value [ImageX]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SystemFiles] to variable: [%SystemFiles%] with value []
[Success] IF - [ImageX] is equal to: [ImageX] evaluated string: [If,%WimTools%,Equal,ImageX,IniRead,%ProjectInfo%,%OsType%Info,imagex,%IMAGEX%]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [imagex] to variable: [%IMAGEX%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [BuildModel] to variable: [%BuildModel%] with value [RAM]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Shell] to variable: [%Shell%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [ScreenResolution] to variable: [%ScreenResolution%] with value [1024x768]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Locale] to variable: [%Locale%] with value [Auto]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SysType] to variable: [%SysType%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [GrubSkin] to variable: [%GrubSkin%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [ForceAllToRam] to variable: [%ForceAllToRam%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Drivers] to variable: [%Drivers%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [IsoLinuxMode] to variable: [%IsoLinuxMode%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [DllSrc] to variable: [%DllSrc%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [WAIKDir] to variable: [%WAIKDir%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [BootManager] to variable: [%BootManager%] with value [Grub4Dos]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Type] to variable: [%Type%] with value []
[Success] [End]
Run - Processed section [Read_ENV2_ProjectInfo] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
Run - Processed section [Read_ENV2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
[Info] [//--Use Volume Name inside Menu files...]
[Success] SetVar - Sucessfuly changed the value of [%Volume_Name%] to: [WinPE]
[Ignore] IF - [RAM] is equal to: [RAM] evaluated string: [If,"%BuildModel%",NotEqual,"RAM",Message,"Booting from USB device is possible only with using boot.wim. Please select #$qIn RAM (boot.wim)#$q in #$qMain Configuration#$q script."]
[Ignore] IF - [RAM] is equal to: [RAM] evaluated string: [If,"%BuildModel%",NotEqual,"RAM",Halt,"Please use boot.wim!"]
[Info] [//]
[Success] SetVar - Sucessfuly changed the value of [%tmout%] to: [5]
[Info] [//pNumberBox1 minimum value is 0 --- If,%pNumberBox1%,Smaller,0,Set,%tmout%,1]
[Info] [//--]
[Ignore] IF - [False] is not equal to: [True] evaluated string: [If,%IncludeinIsoRoot_CheckBox%,Equal,True,Begin]
[Skipped] [If,Not,ExistDir,%RootCDFolder%,DirMake,%RootCDFolder%]
[Skipped] [Retrieve,FolderSize,%RootCDFolder%,%RootCDFolderSize%]
[Skipped] [If,%RootCDFolderSize%,BIGGER,0,Begin]
[Skipped] [Echo,"Copying Root CD files.. Please Wait.."]
[Skipped] [FileCopy,%RootCDFolder%\*.*,%TargetDir%]
[Ignore] [End]
[Ignore] [End]
[Info] [//--]
[Done] ExtractAllFilesIfNotExist - Skipped extracting attachments from file: [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script] Section [Folder] to: [%BaseDir%\Temp]
[Info] [//]
[Info] Formating...
[Success] Message: Please format USB drive. NTFS is recommend, but FAT32 is work too
[Info] [//]
[Info] Installing Grub4Dos...
[Success] Message: Please select USB drive and install Grub4Dos to MBR
[Info] [//]
Run - Processing section: [Grub4DosMGR] From file: [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script]
[Info] Processing Grub4Dos boot manager...
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\grldr] evaluated string: [If,ExistFile,"%targetdir%\grldr",FileDelete,"%targetdir%\grldr"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\grldr] evaluated string: [If,ExistFile,"%targetdir%\Boot\grldr",FileDelete,"%targetdir%\Boot\grldr"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\memtest.bin] evaluated string: [If,ExistFile,"%targetdir%\Boot\memtest.bin",FileDelete,"%targetdir%\Boot\memtest.bin"]
[Info] [//--If,ExistFile,%BootMenu%,FileDelete,%BootMenu%]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\sunset.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\sunset.gz",FileDelete,"%targetdir%\Boot\sunset.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\sunrise.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\sunrise.gz",FileDelete,"%targetdir%\Boot\sunrise.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\face.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\face.gz",FileDelete,"%targetdir%\Boot\face.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\gentleblue.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\gentleblue.gz",FileDelete,"%targetdir%\Boot\gentleblue.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\zion.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\zion.gz",FileDelete,"%targetdir%\Boot\zion.gz"]
[Info] [// grldr in root for USB]
[Success] ExtractFile - [grldr] to: [%BaseDir%\Target\Win7PE SE]
[Info] [//ExtractFile,%ScriptFile%,Grub,"memtest.bin","%targetdir%\Boot"]
[Success] ExtractFile - [memdisk] to: [%BaseDir%\Target\Win7PE SE\Boot]
[Info] [//--]
[Info] [// Lancelot tips : no duplicate options in menu.lst]
[Ignore] IF - File does not exist: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Workbench\Win7PE_SE\Cache\OtherOSMenu\menu.lst] evaluated string: [If,ExistFile,%BootMenu%,FileCopy,%BootMenu%,%BootMenu_Target%]
[Success] SetVar - Sucessfuly changed the value of [%BootMenu%] to: [C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst]
[Info] [//--if not exist FileCreateBlank,%BootMenu%]
[Success] IF - File does not exist: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] evaluated string: [If,Not,ExistFile,%BootMenu%,FileCreateBlank,"%BootMenu%"]
[Success] FileCreateBlank - Created a new file: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst]
[Info] [//-- Header+]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/BOOTMGR] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sWinPE] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [timeout#$s5] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [default#$s0] Option:"Prepend"
[Info] [//]
[Ignore] IF - [SunRise] is not equal to: [SunSet] evaluated string: [If,"%BootSkin%",Equal,"SunSet",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/sunset.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"sunset.gz","%targetdir%\boot"]
[Ignore] [End]
[Success] IF - [SunRise] is equal to: [SunRise] evaluated string: [If,"%BootSkin%",Equal,"SunRise",Begin]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [splashimage#$s/Boot/sunrise.gz] Option:"Prepend"
[Success] ExtractFile - [sunrise.gz] to: [%BaseDir%\Target\Win7PE SE\boot]
[Success] [End]
[Ignore] IF - [SunRise] is not equal to: [Face] evaluated string: [If,"%BootSkin%",Equal,"Face",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/face.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"face.gz","%targetdir%\boot"]
[Ignore] [End]
[Ignore] IF - [SunRise] is not equal to: [Gentleblue] evaluated string: [If,"%BootSkin%",Equal,"Gentleblue",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/gentleblue.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"gentleblue.gz","%targetdir%\boot"]
[Ignore] [End]
[Ignore] IF - [SunRise] is not equal to: [Zion] evaluated string: [If,"%BootSkin%",Equal,"Zion",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/zion.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"zion.gz","%targetdir%\boot"]
[Ignore] [End]
[Ignore] IF - [SunRise] is not equal to: [Text] evaluated string: [If,"%BootSkin%",Equal,"Text",TXTAddLine,%BootMenu%,"color %pScrollBox1%/%pScrollBox2% %pScrollBox3%/%pScrollBox4%",Prepend]
[Info] [//--Header-]
[Info] [//----]
[Ignore] IF - File does not exist: [] evaluated string: [If,ExistFile,"%pFileBox1%",ShellExecute,Hide,#$qcmd.exe#$q,"/c copy /b #$q%BootMenu%#$q + #$q%pFileBox1%#$q #$q%BootMenu%#$q"]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Info] [//----]
[Info] [//Add ChrisR for Grub4dos iso emulation]
[Info] [//TXTAddLine,%BootMenu%,"find --set-root --ignore-floppies /Win7Pe.iso",Append]
[Info] [//TXTAddLine,%BootMenu%,"map /Win7Pe.iso (0xff)",Append]
[Info] [//TXTAddLine,%BootMenu%,"map --hook",Append]
[Info] [//TXTAddLine,%BootMenu%,"root (0xff)",Append]
[Info] [//TXTAddLine,%BootMenu%,"chainloader (0xff)/BOOTMGR",Append]
[Info] [//----]
[Info] [////TXTAddLine,%BootMenu%,"title Find and Load Microsoft Windows Win7",Append]
[Info] [////TXTAddLine,%BootMenu%,"find --set-root /BOOTMGRv",Append]
[Info] [////TXTAddLine,%BootMenu%,"chainloader /BOOTMGRv",Append]
[Info] [////TXTAddLine,%BootMenu%," ",Append]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFind#$sand#$sLoad#$sMicrosoft#$sWindows#$sVista/Win7] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [root#$s(hd0@$@0)] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s(hd0@$@0)/bootmgr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFind#$sand#$sLoad#$sNTLDR#$sof#$sWindows#$sNT/2K/XP] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/ntldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/ntldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFind#$sand#$sLoad#$sCMLDR#$sof#$sWindows#$sNT/2K/XP] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/cmldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/cmldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sfind#$sand#$sload#$sIO.SYS#$sof#$sWindows#$s9x/Me] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/io.sys] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/io.sys] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sfind#$sand#$sboot#$sLinux#$swith#$smenu.lst#$salready#$sinstalled] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/sbin/init] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [configfile#$s/Boot/grub/menu.lst] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Info] [//----]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFloppy#$s(fd0)] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s(fd0)+1] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [rootnoverify#$s(fd0)] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sCommandLine] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [commandline] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sReboot] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [reboot] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sHalt] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [halt] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [] Option:"Append"
[Info] [//--Tale]
[Info] [//]
Run - Processed section [Grub4DosMGR] in file: [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script]
[Info] [//]
[Info] Copy files...
[Info] [//]
[Info] Postprocess...
[Failed] FileDelete - Failed to delete [%BaseDir%\Temp\grldr]: The handle is invalid
[Warning] Halt
[Done] Finished processing script: Copy to USB-Device (USBDevice.script)
[Clock] Script time: 1 minute, 40 seconds and 654 miliseconds
[Done] Script has been sucessfully processed!
Can you please explain what may be the problem. I've downloaded the gub4dos script loader app but have not implemented it quite yet, wanted to consult u first...
Edited by SIRKEEN75, 29 March 2011 - 02:59 AM.
#5
Posted 29 March 2011 - 03:09 AM
Sure, happy to help. First, try making your project directory (location you run Winbuilder from) someplace clean and simple, like "C:\Project" or similar, keep it at the root of the drive and avoid long, complicated names. Also avoid any location inside My Documents or Users (personal profile) as this will cause the issue you describe. If running on Windows 7/Vista, make sure to rt-click Winbuilder and choose 'run as administrator'. Hopefully that gets you started, if you still experience any issue, post back and provide as much information as you can on your particular setup.
Have fun and welcome!
Hey Thanx so much! Sorry for the red font but i was really anxious to get a reply back. That worked but i did run into an error... something about the grub4dos script or the "grdldr", here's a copy of the script.:
WinBuilder [080]
Scripts
Processing section: [process] in file: [Copy to USB-Device] 1 minute, 40.654 seconds
Errors
[Failed] (Processing section: [process] in file: [Copy to USB-Device]) FileDelete - Failed to delete [%BaseDir%\Temp\grldr]: The handle is invalid
Warnings
[Warning] (Processing section: [process] in file: [Copy to USB-Device]) Halt
%BaseDir% = C:\WinBuilder\
(WinBuilder's path is replaced by the variable %BaseDir% to make the log easier to read)
WinBuilder Version [080]
Variables
%API% %BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script
%API_TYPE% 2
%APIDEF% API
%APISUBDEF% _Calculate,AddAutoRun,*AddPostConfig,*AddPreConfig,*AddToPEShell,Add_Shortcut,Add_Asso,*Add_Pin,Add_URL,Arch,Associate_File,Ask_License,CapiC,*CopyDrv,CopyProgram,ExtractAndRunc,Others,*ReadENV,Registry,Require_File,*RequireSysFile,RunFrom,Unpack,Variable
%APIVAR% ApiVar
%AppMode% wbaNormal
%AtRam% False
%AutoRunFile% %BaseDir%\Target\Win7PE SE\windows\system32\autorun.cfg
%AutoStartMode% 1
%AutoStartParameters%
%BaseDir% C:\WinBuilder
%BootMenu% C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\Desktop\WinBuilder\Workbench\Win7PE_SE\Cache\OtherOSMenu\menu.lst
%BootMenu_Target% C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE
%BootSector% Grub4Dos
%BootSkin% SunRise
%BootSRC% %BaseDir%\Temp\Win7PE_SE\1Mount\BootWimSrc
%BootType% MultiBoot
%Build% 2010-Mar-02 12:00
%Capi_Exit_Script%
%Capi_ReadEnv%
%Capi_RegAddBootMethod% NMcfg
%Capi_Shortcut_TYPE% 2
%Capi_WB_Depend%
%CapiScriptArch%
%CDDrive% Y:
%Day% 27
%DistLang%
%DistLangHost%
%ES% %BaseDir%\Target\Win7PE SE\windows\system32\shortcut.inf
%Fileredirect% No
%GlobalSupport% %BaseDir%\Workbench
%GlobalTemp% %BaseDir%\Temp
%GlobalTemplates% %BaseDir%\Workbench\Common
%HostOS% XP
%InstallSRC% %BaseDir%\Temp\Win7PE_SE\1Mount\InstallWimSrc
%IsoDir% %BaseDir%\ISO
%IsoFile% %BaseDir%\ISO\Win7PE SE.iso
%IsoFileName% Win7PE SE.iso
%ISOfileVar% C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\WinBuilder\ISO\Win7Pe.iso
%LocaleScript% %BaseDir%\Projects\Win7PE_SE\Build\locale.script
%LocalizeCountryCode%
%LocalizeCountryShortCountry%
%LocalizeExtLocal%
%LocalizeExtUpdate%
%LocalizeInfoMore%
%LocalizeInfoMoreHostOS%
%LocalizeInfoMoreHostOSmui%
%LocalizeInfoTemp%
%LocalizeISO3166Country%
%LocalizeISO639Language%
%LocalizeLCID%
%LocalizeLID%
%LocalizeLocale%
%LocalizeLocaleHostOS%
%Month% 3
%OS% Win7
%OSArch%
%OsType% Project
%OtherOS_Folder% Boot\IMG
%OtherOS_Root% %BaseDir%\Target\Win7PE SE
%OtherOS_Target% %BaseDir%\Target\Win7PE SE\Boot\IMG
%PE_CFG% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%PE_Programs% Y:\Programs
%PECfg% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%PECfgCD% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%PreISOScript%
%ProcessorType% 586
%ProgramFilesDir% C:\Program Files
%Programs64% C:\Program Files
%ProjectCache% %BaseDir%\Workbench\Win7PE_SE\Cache
%ProjectDir% %BaseDir%\Projects\Win7PE_SE
%ProjectInfo% %BaseDir%\Projects\Win7PE_SE\project.ini
%ProjectName% Win7PE_SE
%ProjectSupport% %BaseDir%\Workbench\Win7PE_SE
%ProjectTemp% %BaseDir%\Temp\Win7PE_SE
%ProjectTemplates% %BaseDir%\Workbench\Win7PE_SE\UserData
%ProjectTitle% Win7PE SE
%RegComponents% %BaseDir%\Target\Win7PE SE\windows\system32\config\COMPONENTS
%RegDefault% %BaseDir%\Target\Win7PE SE\windows\system32\config\default
%RegSam% %BaseDir%\Target\Win7PE SE\windows\system32\config\sam
%RegSecurity% %TargetDir%\Windows\System32\config\security
%RegSoftware% %BaseDir%\Target\Win7PE SE\windows\system32\config\software
%RegSystem% %BaseDir%\Target\Win7PE SE\windows\system32\config\system
%RegUser% %BaseDir%\Target\Win7PE SE\windows\system32\config\default
%source_sys% %BaseDir%\Temp\Win7PE_SE\1Mount\InstallWimSrc\Windows\System32
%source_win% %BaseDir%\Temp\Win7PE_SE\1Mount\InstallWimSrc\Windows
%SourceArch%
%SourceDir% C:\Win 7 Ultimate
%SystemDrive% #$pSystemDrive#$p
%SysType%
%Target_Prog% %BaseDir%\Target\Win7PE SE\Programs
%target_sys% %BaseDir%\Target\Win7PE SE\Windows\System32
%target_win% %BaseDir%\Target\Win7PE SE\Windows
%TargetDir% %BaseDir%\Target\Win7PE SE
%TargetProfilesBaseDir% %BaseDir%\Target\Win7PE SE
%TargetProfilesUserDir% %BaseDir%\Target\Win7PE SE\Users\Default
%TargetWOW64% x86
%TempDir% C:\DOCUME~1\SIRPEA~1\LOCALS~1\Temp
%TempFolder% %BaseDir%\Temp\Win7PE_SE
%Tools% %BaseDir%\Projects\Tools\Win7PE_SE
%UserName% SIRPEACHYKEEN
%UserProfile% C:\Documents and Settings\SIRPEACHYKEEN
%Version% 080
%VPE_CFG% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%VPECFG% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%VPECFGCD% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%WBexe% %BaseDir%\WinBuilder.exe
%WIMEditionID%
%Win7PECfg% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%Win7PECfgCD% %BaseDir%\Target\Win7PE SE\windows\system32\Win7PE.cfg
%WindowsDir% C:\WINDOWS
%WindowsSystemDir% C:\WINDOWS\system32
%WinServicePack%
%WinVersion%
%Wow64% False
%Wow64Dir%
%Year% 2011
[Script] Processing section: [process] in file: [Copy to USB-Device]
[Info] File [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script] Version [13]
[Success] StrFormat - converted [POS(%BaseDir%,%UserProfile%,%pos%)] to variable: [%pos%] with result: [0]
[Ignore] IF - [0] is not equal to: [1] evaluated string: [If,%pos%,EQUAL,1,Begin]
[Skipped] [Message,"Win7PE cannot run from inside a user's profile directory.",Error]
[Skipped] [Halt,"Win7PE cannot run from inside a user's profile directory."]
[Ignore] [End]
[Success] AddVariables - Added section [ApiVar] from file [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script] into the local variable list
[Success] System - OnBuildExit [System,ONBUILDEXIT,Exec,%API%,Clean]
[Info] Preraring...
Run - Processing section: [Read_ENV2] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
[Success] IF - [] is not equal to: [No] evaluated string: [If,Not,%Capi_ReadEnv%,Equal,No,Run,%Api%,Read_ENV2_ProjectInfo,#1,#2,#3,#4,#5,#6,#7,#8,#9]
Run - Processing section: [Read_ENV2_ProjectInfo] From file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
[Ignore] IF - [] is equal to: [] evaluated string: [If,Not,#1,Equal,,Begin]
[Skipped] [If,#2,Equal,,IniRead,%ProjectInfo%,%OsType%Info,#1,%#1%]
[Skipped] [Else,IniRead,%ProjectInfo%,%OsType%Info,#1,%#2%]
[Ignore] [End]
[Success] ELSE - executing command: [Begin]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SourceType] to variable: [%SourceType%] with value [Win7CD]
[Ignore] IF - [Win7CD] is not equal to: [] evaluated string: [If,%SourceType%,Equal,,Run,%API%,NotConfigured]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Language] to variable: [%DistLang%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SourceDir] to variable: [%SDIR%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [WimTools] to variable: [%WimTools%] with value [ImageX]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SystemFiles] to variable: [%SystemFiles%] with value []
[Success] IF - [ImageX] is equal to: [ImageX] evaluated string: [If,%WimTools%,Equal,ImageX,IniRead,%ProjectInfo%,%OsType%Info,imagex,%IMAGEX%]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [imagex] to variable: [%IMAGEX%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [BuildModel] to variable: [%BuildModel%] with value [RAM]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Shell] to variable: [%Shell%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [ScreenResolution] to variable: [%ScreenResolution%] with value [1024x768]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Locale] to variable: [%Locale%] with value [Auto]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [SysType] to variable: [%SysType%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [GrubSkin] to variable: [%GrubSkin%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [ForceAllToRam] to variable: [%ForceAllToRam%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Drivers] to variable: [%Drivers%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [IsoLinuxMode] to variable: [%IsoLinuxMode%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [DllSrc] to variable: [%DllSrc%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [WAIKDir] to variable: [%WAIKDir%] with value []
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [BootManager] to variable: [%BootManager%] with value [Grub4Dos]
[Success] IniRead - [%BaseDir%\Projects\Win7PE_SE\project.ini] Section [ProjectInfo] Key [Type] to variable: [%Type%] with value []
[Success] [End]
Run - Processed section [Read_ENV2_ProjectInfo] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
Run - Processed section [Read_ENV2] in file: [%BaseDir%\Projects\Win7PE_SE\Build\Common_Api.script]
[Info] [//--Use Volume Name inside Menu files...]
[Success] SetVar - Sucessfuly changed the value of [%Volume_Name%] to: [WinPE]
[Ignore] IF - [RAM] is equal to: [RAM] evaluated string: [If,"%BuildModel%",NotEqual,"RAM",Message,"Booting from USB device is possible only with using boot.wim. Please select #$qIn RAM (boot.wim)#$q in #$qMain Configuration#$q script."]
[Ignore] IF - [RAM] is equal to: [RAM] evaluated string: [If,"%BuildModel%",NotEqual,"RAM",Halt,"Please use boot.wim!"]
[Info] [//]
[Success] SetVar - Sucessfuly changed the value of [%tmout%] to: [5]
[Info] [//pNumberBox1 minimum value is 0 --- If,%pNumberBox1%,Smaller,0,Set,%tmout%,1]
[Info] [//--]
[Ignore] IF - [False] is not equal to: [True] evaluated string: [If,%IncludeinIsoRoot_CheckBox%,Equal,True,Begin]
[Skipped] [If,Not,ExistDir,%RootCDFolder%,DirMake,%RootCDFolder%]
[Skipped] [Retrieve,FolderSize,%RootCDFolder%,%RootCDFolderSize%]
[Skipped] [If,%RootCDFolderSize%,BIGGER,0,Begin]
[Skipped] [Echo,"Copying Root CD files.. Please Wait.."]
[Skipped] [FileCopy,%RootCDFolder%\*.*,%TargetDir%]
[Ignore] [End]
[Ignore] [End]
[Info] [//--]
[Done] ExtractAllFilesIfNotExist - Skipped extracting attachments from file: [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script] Section [Folder] to: [%BaseDir%\Temp]
[Info] [//]
[Info] Formating...
[Success] Message: Please format USB drive. NTFS is recommend, but FAT32 is work too
[Info] [//]
[Info] Installing Grub4Dos...
[Success] Message: Please select USB drive and install Grub4Dos to MBR
[Info] [//]
Run - Processing section: [Grub4DosMGR] From file: [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script]
[Info] Processing Grub4Dos boot manager...
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\grldr] evaluated string: [If,ExistFile,"%targetdir%\grldr",FileDelete,"%targetdir%\grldr"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\grldr] evaluated string: [If,ExistFile,"%targetdir%\Boot\grldr",FileDelete,"%targetdir%\Boot\grldr"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\memtest.bin] evaluated string: [If,ExistFile,"%targetdir%\Boot\memtest.bin",FileDelete,"%targetdir%\Boot\memtest.bin"]
[Info] [//--If,ExistFile,%BootMenu%,FileDelete,%BootMenu%]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\sunset.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\sunset.gz",FileDelete,"%targetdir%\Boot\sunset.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\sunrise.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\sunrise.gz",FileDelete,"%targetdir%\Boot\sunrise.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\face.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\face.gz",FileDelete,"%targetdir%\Boot\face.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\gentleblue.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\gentleblue.gz",FileDelete,"%targetdir%\Boot\gentleblue.gz"]
[Ignore] IF - File does not exist: [%BaseDir%\Target\Win7PE SE\Boot\zion.gz] evaluated string: [If,ExistFile,"%targetdir%\Boot\zion.gz",FileDelete,"%targetdir%\Boot\zion.gz"]
[Info] [// grldr in root for USB]
[Success] ExtractFile - [grldr] to: [%BaseDir%\Target\Win7PE SE]
[Info] [//ExtractFile,%ScriptFile%,Grub,"memtest.bin","%targetdir%\Boot"]
[Success] ExtractFile - [memdisk] to: [%BaseDir%\Target\Win7PE SE\Boot]
[Info] [//--]
[Info] [// Lancelot tips : no duplicate options in menu.lst]
[Ignore] IF - File does not exist: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Workbench\Win7PE_SE\Cache\OtherOSMenu\menu.lst] evaluated string: [If,ExistFile,%BootMenu%,FileCopy,%BootMenu%,%BootMenu_Target%]
[Success] SetVar - Sucessfuly changed the value of [%BootMenu%] to: [C:\Documents#$sand#$sSettings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst]
[Info] [//--if not exist FileCreateBlank,%BootMenu%]
[Success] IF - File does not exist: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] evaluated string: [If,Not,ExistFile,%BootMenu%,FileCreateBlank,"%BootMenu%"]
[Success] FileCreateBlank - Created a new file: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst]
[Info] [//-- Header+]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/BOOTMGR] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sWinPE] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [timeout#$s5] Option:"Prepend"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [default#$s0] Option:"Prepend"
[Info] [//]
[Ignore] IF - [SunRise] is not equal to: [SunSet] evaluated string: [If,"%BootSkin%",Equal,"SunSet",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/sunset.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"sunset.gz","%targetdir%\boot"]
[Ignore] [End]
[Success] IF - [SunRise] is equal to: [SunRise] evaluated string: [If,"%BootSkin%",Equal,"SunRise",Begin]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [splashimage#$s/Boot/sunrise.gz] Option:"Prepend"
[Success] ExtractFile - [sunrise.gz] to: [%BaseDir%\Target\Win7PE SE\boot]
[Success] [End]
[Ignore] IF - [SunRise] is not equal to: [Face] evaluated string: [If,"%BootSkin%",Equal,"Face",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/face.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"face.gz","%targetdir%\boot"]
[Ignore] [End]
[Ignore] IF - [SunRise] is not equal to: [Gentleblue] evaluated string: [If,"%BootSkin%",Equal,"Gentleblue",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/gentleblue.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"gentleblue.gz","%targetdir%\boot"]
[Ignore] [End]
[Ignore] IF - [SunRise] is not equal to: [Zion] evaluated string: [If,"%BootSkin%",Equal,"Zion",Begin]
[Skipped] [TXTAddLine,%BootMenu%,"splashimage /Boot/zion.gz",Prepend]
[Skipped] [ExtractFile,%ScriptFile%,Grub,"zion.gz","%targetdir%\boot"]
[Ignore] [End]
[Ignore] IF - [SunRise] is not equal to: [Text] evaluated string: [If,"%BootSkin%",Equal,"Text",TXTAddLine,%BootMenu%,"color %pScrollBox1%/%pScrollBox2% %pScrollBox3%/%pScrollBox4%",Prepend]
[Info] [//--Header-]
[Info] [//----]
[Ignore] IF - File does not exist: [] evaluated string: [If,ExistFile,"%pFileBox1%",ShellExecute,Hide,#$qcmd.exe#$q,"/c copy /b #$q%BootMenu%#$q + #$q%pFileBox1%#$q #$q%BootMenu%#$q"]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Info] [//----]
[Info] [//Add ChrisR for Grub4dos iso emulation]
[Info] [//TXTAddLine,%BootMenu%,"find --set-root --ignore-floppies /Win7Pe.iso",Append]
[Info] [//TXTAddLine,%BootMenu%,"map /Win7Pe.iso (0xff)",Append]
[Info] [//TXTAddLine,%BootMenu%,"map --hook",Append]
[Info] [//TXTAddLine,%BootMenu%,"root (0xff)",Append]
[Info] [//TXTAddLine,%BootMenu%,"chainloader (0xff)/BOOTMGR",Append]
[Info] [//----]
[Info] [////TXTAddLine,%BootMenu%,"title Find and Load Microsoft Windows Win7",Append]
[Info] [////TXTAddLine,%BootMenu%,"find --set-root /BOOTMGRv",Append]
[Info] [////TXTAddLine,%BootMenu%,"chainloader /BOOTMGRv",Append]
[Info] [////TXTAddLine,%BootMenu%," ",Append]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFind#$sand#$sLoad#$sMicrosoft#$sWindows#$sVista/Win7] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [root#$s(hd0@$$$@0)] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s(hd0@$$$@0)/bootmgr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFind#$sand#$sLoad#$sNTLDR#$sof#$sWindows#$sNT/2K/XP] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/ntldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/ntldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFind#$sand#$sLoad#$sCMLDR#$sof#$sWindows#$sNT/2K/XP] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/cmldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/cmldr] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sfind#$sand#$sload#$sIO.SYS#$sof#$sWindows#$s9x/Me] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/io.sys] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s/io.sys] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sfind#$sand#$sboot#$sLinux#$swith#$smenu.lst#$salready#$sinstalled] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [find#$s--set-root#$s/sbin/init] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [configfile#$s/Boot/grub/menu.lst] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Info] [//----]
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sFloppy#$s(fd0)] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [chainloader#$s(fd0)+1] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [rootnoverify#$s(fd0)] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sCommandLine] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [commandline] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sReboot] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [reboot] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [#$s] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [title#$sHalt] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [halt] Option:"Append"
[Success] TxtAddLine - Added line: [C:\Documents and Settings\SIRPEACHYKEEN\Desktop\WinBuilder\Win7PE_SE\menu.lst] line: [] Option:"Append"
[Info] [//--Tale]
[Info] [//]
Run - Processed section [Grub4DosMGR] in file: [%BaseDir%\Projects\Win7PE_SE\WriteMedia\USBDevice.script]
[Info] [//]
[Info] Copy files...
[Info] [//]
[Info] Postprocess...
[Failed] FileDelete - Failed to delete [%BaseDir%\Temp\grldr]: The handle is invalid
[Warning] Halt
[Done] Finished processing script: Copy to USB-Device (USBDevice.script)
[Clock] Script time: 1 minute, 40 seconds and 654 miliseconds
[Done] Script has been sucessfully processed!
#6
Posted 29 March 2011 - 03:16 AM
Sure, happy to help. First, try making your project directory (location you run Winbuilder from) someplace clean and simple, like "C:\Project" or similar, keep it at the root of the drive and avoid long, complicated names. Also avoid any location inside My Documents or Users (personal profile) as this will cause the issue you describe. If running on Windows 7/Vista, make sure to rt-click Winbuilder and choose 'run as administrator'. Hopefully that gets you started, if you still experience any issue, post back and provide as much information as you can on your particular setup.
Have fun and welcome!
Hey Thanx so much! Sorry for the red font but i was really anxious to get a reply back. I did run into another problem but i will try 2 configure it before i bug u again... thanx again!!!
#7
Posted 29 March 2011 - 04:32 AM
One more thing, rather than paste the contents of your log here, can you zip it and upload to a free hosting site, like MediaFire or similar? Then just post link here thanks.
#8
Posted 29 March 2011 - 05:43 AM
Had to ask, but you are trying to use a usb device (ie UFD/USBHD) plugged into your
usb port, with the intent of having your Win7PE_SE build copied to it.
If Yes, forget I asked.
Next step in troubleshooting your build.
[Failed] FileDelete - Failed to delete [%BaseDir%\Temp\grldr]: The handle is invalid
Winbuilder is trying to delete a file located in; C:\WinBuilder\Temp\ filename = grldr
I'm am using Win7PE_SE_2011_02_10 with USBDevice.script Version [13]
So our scripts should be identical.
It would be my guess that you still have a problem with the naming of your
base directory, it has spaces or dots or dashes or the like, we will
check that below.
To troubleshoot in real time.
Change the following lines in USBDevice.script.
You will be Adding lines 84+85, cut+paste will work just fine.
Don't cut and paste the 84 or 85 though, just the text.
(Change From)
line
83 Echo,"Postprocess..."
84 FileDelete,"%BaseDir%\Temp\grldr"
(Change To)
83 Echo,"Postprocess..."
84 Message,"BaseDir\Temp\ = %BaseDir%\Temp\",INFORMATION,10
85 Message,Go check %BaseDir%\Temp\ for grldr ,INFORMATION
86 FileDelete,"%BaseDir%\Temp\grldr"
Now run just the one script, you don't have to start a new build = Blue Play button
On Copy to USB-Device.script page, press the green Play button,
that will run just the one script, I didn't have a UFD in my port for this test.
When message boxes or similar popup, follow these steps.
1 "Please format USB drive, NTFS is recommended, but FAT32 is work too "
Press OK
2 "HP USB Disk Storage Format Tool"
Press Close
3 "Please select USB drive and install Grub4Dos to MBR"
Press OK
4 "Grub4Dos Installer 1.1"
Press Quit
5 "BaseDir\Temp\ = C:\WinBuilder\Temp\ "Should be According to your post"
Wait 10 Seconds
6 "Go check C:\WinBuilder\Temp\ for grldr"
Open Windows explorer and navigate to C:\WinBuilder\Temp\
and see if grldr actually exists.
Indeed in my build grldr was there, press ok on message box and I watched it get deleted.
This is the line that is extracting the files to %BaseDir%\Temp
68 ExtractAllFilesIfNotExist,"%ScriptFile%","Folder","%BaseDir%\Temp"
If you find any discrepencies, post back
If all else fails, comment out line 86 like so.
//FileDelete,"%BaseDir%\Temp\grldr"
Run script again, see what happens.
#9
Posted 31 March 2011 - 05:30 AM
I/O error 1450: [FileCopy,%i32%\dhcp*.dll,%t32%]
What can i do to allow it to run succesfully through using the build option, or do i even have to do it that way. i am aware, from reading the tutorials, that there are various ways of accomplishing this but what is the most simplistic and efficient way? Could it be the source folder that's causing the problem, maybe possibly doesn't have that particular file or is it that i need to create a short cut for it. I am using Windows 7 Ultimate as my source and all other files have adhered to the build up until this point. Please help shed some light on this project for me so that i may be able to successfully complete this build. Here's the uploaded file link:
http://www.mediafire...28z4vdf96w1bxxs
Edited by SIRKEEN75, 31 March 2011 - 05:37 AM.
#10
Posted 31 March 2011 - 07:12 AM
#11
Posted 31 March 2011 - 08:17 AM
I don't know what this means "WARNING WARNING LCID 0409 not supported" See below
Search reboot and only found these references;
http://reboot.pro/39...h__1#entry41338
http://reboot.pro/10...h__1#entry89813
Uncheck LocalizedInfoMore.script and try to rebuild
Run - Processing section: [checkini] From file: [%BaseDir%\Projects\Win7PE_SE\Build\LocalizedInfoMore.script]
with parameters: [%BaseDir%\Temp\Win7PE_SE\LCIDutil\LcidInfoHostOS.ini],[0409] *** [0409] = US, this is good ***
SetVar - Sucessfuly changed the value of [%tmp%] to: [-]
System,ErrorOff
*** IniRead - Failed to find file: [%BaseDir%\Temp\Win7PE_SE\LCIDutil\LcidInfoHostOS.ini]
*** Above line should read like following line ***
*** IniRead - [%BaseDir%\Temp\Win7PE_SE\LCIDutil\LcidInfoHostOS.ini] Section [Locale] Key [Locale] to variable: [%tmp%] with value [en-us]
IF - [-] is equal to: [-] evaluated string: [If,%tmp%,Equal,"-",Exit,"WARNING WARNING LCID#$s#2#$snot#$ssupported."]
WARNING WARNING LCID 0409 not supported.
Run - Processed section [checkini] in file: [%BaseDir%\Projects\Win7PE_SE\Build\LocalizedInfoMore.script]
Run - Processed section [HostOSInfo] in file: [%BaseDir%\Projects\Win7PE_SE\Build\LocalizedInfoMore.script]
I/O error 1450: [FileCopy,%i32%\dhcp*.dll,%t32%]
#12
Posted 03 April 2011 - 05:39 PM
http://www.mediafire...2kq0ttqirs6ljj1
Edited by SIRKEEN75, 03 April 2011 - 05:39 PM.
#13
Posted 03 April 2011 - 07:50 PM
I know it's frustrating but not using a good source is the number one reason for issues in Winbuilder projects; you have to start with the right source or its all downhill from there. You need to have a good starting point (working build) before adding/changing things to know what works and what doesn't or things will get very confusing.
#14
Posted 04 April 2011 - 02:51 AM
There seems to be some elements of other Win7PE projects mixed in which will cause incompatibilities. Stick with running an untouched project from here: http://reboot.pro/12427/ using an unmodified, non-OEM source; once that's working you can try adding additional scripts (with caution) on top of that working build.
I know it's frustrating but not using a good source is the number one reason for issues in Winbuilder projects; you have to start with the right source or its all downhill from there. You need to have a good starting point (working build) before adding/changing things to know what works and what doesn't or things will get very confusing.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users