[Main] Type=script Title=Temp to X: Description=Sets the build %temp% and %ramdrv% variables to "X:". This script is for PE builds with a writable %SystemDrive%, which is usually drive X:. Use for booting PE inram with no second ramdisk (also see ProjectInfo.Script). Author=thuun Level=5 Selected=False Locked=true Version=004 Date=2007-11 Download_Level=0 [Process] If,ExistFile,"%ProjectInfo%",IniRead,"%ProjectInfo%","RamDrive","DriveLetter",%ProjInfoRAMDrv% If,"%ProjInfoRAMDrv%",notEqual,"X:",Message,"Please#$salso#$sset#$sthe#$sProjectInfo.Script#$sRamDrive#$sLetter#$sto#$s#$qX:#$q.#$sBuild#$saborted." If,"%ProjInfoRAMDrv%",notEqual,"X:",Halt,"**Also#$sset#$sthe#$sProjectInfo#$sRamDrive#$sLetter#$sto#$sX:" RegHiveLoad,"WB-Setup","%TargetSys32%\setupreg.hiv" RegWrite,"HKLM",0x2,"WB-Setup\ControlSet001\Control\Session Manager\Environment","temp","X:" RegWrite,"HKLM",0x2,"WB-Setup\ControlSet001\Control\Session Manager\Environment","tmp","X:" RegWrite,"HKLM",0x2,"WB-Setup\ControlSet001\Control\Session Manager\Environment","ramdrv","X:" RegHiveUnLoad,"WB-Setup" Set,%RAMDriveLetter%,X: Echo,"Temp and RamDrv are set to #$qX:#$q" If,ExistFile,"%ScriptLog%",If,ExistFile,"%ProjectInfo%",Run,%ScriptLog%,Process-log [AuthorEncoded] X.gif=2Kb,3Kb Logo=X.gif [Interface] pTextLabel1="This script updates the PE registry, it contains no files. Set the ProjectInfo RamDrive Letter to X: aslo when used.",1,1,35,27,215,49,8,bold pTextLabel2="NOTE: Not for use with Avast antivirus for PE.",1,1,36,81,230,18,8,Normal [EncodedFile-AuthorEncoded-X.gif] lines=0 0=eJzVk/s/E4oCwPcw9jA2bBRqG2OENiQ6OmY2lvcRUcbdpJvryAlLku6dx9hIqRMRZaZCHm2UStSejJasVCqVSahU9NALnU9/xv3+8P3+Bd+gLYHeGzlUABUwA/gFEAgEgUBgMNjAwAACgRgaGsJgMDgcjkAgj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