Jump to content











Photo
- - - - -

RAM-Disk-Script


  • Please log in to reply
16 replies to this topic

#1 Smithi

Smithi

    Member

  • Members
  • 31 posts
  •  
    Germany

Posted 09 April 2007 - 03:25 PM

Hello,
can anyone help me please?
I would like to create myself a RAM-Drive, that is larger than 64 MB.
Which changes are necessary in my ramdisk.Script?

[codebox][Main] Title=RAMDisk (VistaPE) Type=script Level=6 Description=Will add a RAMDrive to the build, custom size and drive letter. Selected=True Author=Radoi Ovidiu, modify by NightMan Contact=oviradoi2003@yahoo.com Version=001 Date=20.11.2006 Credits=Christiaan Ghijselinck who wrote the ramdrv.sys file. Locked=false Updates=http://update.boot-land.net/WinBuilder_Sandbox [Variables] %RamDiskDriveLetter%="B:" %RamDiskDiskSize%="67108864" %ProjectInfo%=%ProjectDir%\ProjectInfo.ini [process] Set,%RamDiskDriveLetter%,%pScrollBox1% If,%pRadioButton1%,Equal,true,Set,%RamDiskDiskSize%,"1048576" If,%pRadioButton2%,Equal,true,Set,%RamDiskDiskSize%,"4194304" If,%pRadioButton3%,Equal,true,Set,%RamDiskDiskSize%,"8388608" If,%pRadioButton4%,Equal,true,Set,%RamDiskDiskSize%,"16777216" If,%pRadioButton5%,Equal,true,Set,%RamDiskDiskSize%,"33554432" If,%pRadioButton6%,Equal,true,Set,%RamDiskDiskSize%,"67108864" If,%pRadioButton7%,Equal,true,Set,%RamDiskDiskSize%,%pNumberBox1% Echo,"Copying files.." FileCopy,"%ScriptDir%\ramdisk\*.*","%TargetDir%\mount\windows\system32" FileCopy,"%ScriptDir%\ramdisk\ramdriv.sys","%TargetDir%\mount\windows\system32\drivers" Echo,"Loading registry hive: [%RegSystem%]" RegHiveLoad,"Tmp_setupreg_hiv",%RegSystem% Echo,"Writing new values on registry hive.." RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Control\Session Manager\Environment","temp",%RamDiskDriveLetter% RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Control\Session Manager\Environment","tmp",%RamDiskDriveLetter% RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Control\Session Manager\Environment","ramdrv",%RamDiskDriveLetter% RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","Class","RamDisk" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}",,"RAM Disk" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}001","ProviderName","QSoft" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}001","MatchingDeviceId","ramdriv" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}001","DriverDesc","Ramdisk [ QSoft ]" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","Type","1" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","Start","3" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","ErrorControl","1" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","DisplayName","Ramdisk [ QSoft ]" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","ImagePath","system32\drivers\ramdriv.sys" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","BreakOnEntry","0" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DebugLevel","5" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DebugComp","-1" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DiskSize",%RamDiskDiskSize% RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DriveLetter",%RamDiskDriveLetter% RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","RootDirEntries","512" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","SectorsPerCluster","2" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Enum","0","Root\UNKNOWN\9999" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Enum","Count","1" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Enum","NextInstance","1" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","ClassGUID","{FFA1C341-4539-11D3-B88D-00C04FAD5172}" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Class","RamDisk" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","ConfigFlags","4" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Mfg","QSoft" RegWrite,HKLM,0x7,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","HardwareID","ramdriv" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Service","Ramdriv" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","DeviceDesc","Ramdisk [ QSoft ]" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Capabilities","0" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Driver","{FFA1C341-4539-11D3-B88D-00C04FAD5172}001" RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999\Control","DisableCount","0" RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999\Control","ActiveService","Ramdriv" RegWrite,HKLM,0x7,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999\Control","FilteredConfigVector",00,00,00,00,00,00,00,00,00,00,00,00 RegHiveUnLoad,"Tmp_setupreg_hiv" [EncodedFile-AuthorEncoded-authorlogo.jpg] lines=1 0=eJyllmtUU1cWx294P1TeUIKQpYiooKlKRCnkjoOKSDG1KFFQolXLqxitIlcJuaUIAXmt6ghT6IAICF YprfJQiMSQkKiU8hKQoJLcVKRCJvc6CEcSbibOzOp8mQ+zZvb5dNb+r73Wb+1z9n8bnhqUkP2uHeE7IA q FAh02HsgwBoW+v/1f8b7I/1uDYngAOVhBH0IfmlKWQyYOFFMHikEK0SCIYv5PAfSvoJiYmplbWFpZ29gaBc32kAnF1NTEzNTc3MzMm M0w5iEzB3PHZeu3WjjtOWK5/JTzhsxvqqy8//iT2OXTfnzFxs++/NraxtXtA3eqz0rfVavXBDA2BW7eEhS6bfuOsJ3hu6L27otm7z8Qc/TY8c/jExKTTp9JPZuGnDufdSE7R5Cbd/HS5T9dKSn987dl16praq/X1d/4/vadpuaW1rv32jol0i6Z/OGjxwODT4aGR56OKlSY+teXE68mf3tNvPnbzNvZOfBu/j0XBTL9Hf0/cjkYuUzMzEzNLN9zUUzS3gsczMyXrbdw3LrH8sgpp+UbMq2c//hN1U9ia++Nn+Iun33Zb+O6IkDlQ7xH+wfZfwf29f9E9jvYv7kU0CJTirF5pg4QDJHkqmvCbjVdxsrh3N FK6K76I0CCjdHM9B/hkYXNE/cb42KTggo0zOr60YSyJVlXJ4N8SuowlhvS3fVixZOZYmvE6UGF4wCjl4rMycomspS9FglB2oupz7133o +sKU9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iOaYCY3NsRoXa7NF+CWk m nQZyRSuNxouU7RQ+5bh8mOxYfTvIHlqa3ic40ssLcnIL8rJT8/XyypIZxgFIwvc5YHQV7ixy+tKz29nYAIAeA 1=YI+o1YU4cBAAAAAgAAACoAAADUCwAAAAAAAAEAAAAAAAAAAAAAAA [AuthorEncoded] authorlogo.jpg=3106,4144 [Interface] pRadioButton1="1 MB",1,11,18,88,100,20,false pRadioButton2="4 MB",1,11,18,112,100,20,false pRadioButton3="8 MB",1,11,18,133,100,20,false pRadioButton4="16 MB",1,11,18,157,100,20,false pRadioButton5="32 MB",1,11,18,181,100,20,false pRadioButton6="64 MB",1,11,18,202,100,20,true pRadioButton7="Custom (in bytes):",1,11,18,223,111,21,false pNumberBox1=pNumberBox1,1,2,126,223,132,24,1048576,1048576,67108864, pTextLabel1=Size:,1,1,18,67,42,18,8,Normal pBevel1=pBevel1,1,12,12,7,261,54 pBevel2=pBevel2,1,12,12,64,261,195 pTextLabel2="Drive letter (B: recommended):",1,1,18,10,231,18,8,Normal pScrollBox1=B:,1,4,21,31,42,21,B:,C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:,O:,P:,Q:,R
:,S:,T:,U:,V:,W:,X:,Y:,Z:

[/codebox]

Thank you very much for your help!

greets Smithi

#2 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10554 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 09 April 2007 - 03:49 PM

No need to manually edit the script.

Just open up the script from winbuilder and select the last option wich says "Custom (in bytes):"

Then type up the size of ramdisk you want, there is a small formula to get the correct value in megabytes, here it is:

1048576 x n = Custom size in bytes


Where n is the number of megabytes of your ramdisk, like the 64Mb sized disk:

1048576 x 64 = 67108864



Not sure if it is needed to use this formula, and I'm also not sure if the ramdisk driver will accept more than 64Mb, but this is surely the easiest way to modify the size - hope this helps you.

:cheers:

#3 Smithi

Smithi

    Member

  • Members
  • 31 posts
  •  
    Germany

Posted 09 April 2007 - 06:25 PM

thanks
Sorry comes from Germany and speaks no English.
Translate with T1
Changed these lines:
[Variables]
%RamDiskDriveLetter%="B:"
%RamDiskDiskSize%="268435456"
%ProjectInfo%=%ProjectDir%\ProjectInfo.ini

pRadioButton7="Custom 268435456",1,11,18,223,111,21,true
pNumberBox1=pNumberBox1,1,2,126,223,132,24,1048576,1048576,67108864,268435456

Result: Ramdisk=1029120 Bytes (0,98MB

greets Smithi

#4 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10554 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 09 April 2007 - 07:20 PM

With this code you can increase up to 512Mb - but beware that I'm not sure if the ramdisk driver will support it..

[Main]Title=RAMDisk (VistaPE)Type=scriptLevel=6Description=Will add a RAMDrive to the build, custom size and drive letter.Selected=TrueAuthor=Radoi Ovidiu, modify by NightManContact=oviradoi2003@yahoo.comVersion=001Date=20.11.2006Credits=Christiaan Ghijselinck who wrote the ramdrv.sys file.Locked=falseUpdates=http://update.boot-land.net/WinBuilder_Sandbox[Variables]%RamDiskDriveLetter%="B:"%RamDiskDiskSize%="67108864"%ProjectInfo%=%ProjectDir%\ProjectInfo.ini[process]Set,%RamDiskDriveLetter%,%pScrollBox1%If,%pRadioButton1%,Equal,true,Set,%RamDiskDiskSize%,"1048576"If,%pRadioButton2%,Equal,true,Set,%RamDiskDiskSize%,"4194304"If,%pRadioButton3%,Equal,true,Set,%RamDiskDiskSize%,"8388608"If,%pRadioButton4%,Equal,true,Set,%RamDiskDiskSize%,"16777216"If,%pRadioButton5%,Equal,true,Set,%RamDiskDiskSize%,"33554432"If,%pRadioButton6%,Equal,true,Set,%RamDiskDiskSize%,"67108864"If,%pRadioButton7%,Equal,true,Set,%RamDiskDiskSize%,%pNumberBox1%Echo,"Copying files.."FileCopy,"%ScriptDir%\ramdisk\*.*","%TargetDir%\mount\windows\system32"FileCopy,"%ScriptDir%\ramdisk\ramdriv.sys","%TargetDir%\mount\windows\system32\drivers"Echo,"Loading registry hive: [%RegSystem%]"RegHiveLoad,"Tmp_setupreg_hiv",%RegSystem%Echo,"Writing new values on registry hive.."RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Control\Session Manager\Environment","temp",%RamDiskDriveLetter%RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Control\Session Manager\Environment","tmp",%RamDiskDriveLetter%RegWrite,HKLM,0x2,"Tmp_setupreg_hiv\ControlSet001\Control\Session Manager\Environment","ramdrv",%RamDiskDriveLetter%RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","Class","RamDisk"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}",,"RAM Disk"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}001","ProviderName","QSoft"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}001","MatchingDeviceId","ramdriv"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}001","DriverDesc","Ramdisk [ QSoft ]"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","Type","1"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","Start","3"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","ErrorControl","1"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","DisplayName","Ramdisk [ QSoft ]"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv","ImagePath","system32\drivers\ramdriv.sys"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","BreakOnEntry","0"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DebugLevel","5"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DebugComp","-1"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DiskSize",%RamDiskDiskSize%RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","DriveLetter",%RamDiskDriveLetter%RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","RootDirEntries","512"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Parameters","SectorsPerCluster","2"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Enum","0","Root\UNKNOWN\9999"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Enum","Count","1"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Services\Ramdriv\Enum","NextInstance","1"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","ClassGUID","{FFA1C341-4539-11D3-B88D-00C04FAD5172}"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Class","RamDisk"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","ConfigFlags","4"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Mfg","QSoft"RegWrite,HKLM,0x7,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","HardwareID","ramdriv"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Service","Ramdriv"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","DeviceDesc","Ramdisk [ QSoft ]"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Capabilities","0"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999","Driver","{FFA1C341-4539-11D3-B88D-00C04FAD5172}001"RegWrite,HKLM,0x4,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999\Control","DisableCount","0"RegWrite,HKLM,0x1,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999\Control","ActiveService","Ramdriv"RegWrite,HKLM,0x7,"Tmp_setupreg_hiv\ControlSet001\Enum\Root\UNKNOWN\9999\Control","FilteredConfigVector",00,00,00,00,00,00,00,00,00,00,00,00RegHiveUnLoad,"Tmp_setupreg_hiv"[EncodedFile-AuthorEncoded-authorlogo.jpg]lines=10=eJyllmtUU1cWx294P1TeUIKQpYiooKlKRCnkjoOKSDG1KFFQolXLqxitIlcJuaUIAXmt6ghT6IAICFYprfJQiMSQkKiU8hKQoJLcVKRCJvc6CEcSbibOzOp8mQ+zZvb5dNb+r73Wb+1z9n8bnhqUkP2uHeE7IAqFAh02HsgwBoW+v/1f8b7I/1uDYngAOVhBH0IfmlKWQyYOFFMHikEK0SCIYv5PAfSvoJiYmplbWFpZ29gaBc32kAnF1NTEzNTc3MzMmM0w5iEzB3PHZeu3WjjtOWK5/JTzhsxvqqy8//iT2OXTfnzFxs++/NraxtXtA3eqz0rfVavXBDA2BW7eEhS6bfuOsJ3hu6L27otm7z8Qc/TY8c/jExKTTp9JPZuGnDufdSE7R5Cbd/HS5T9dKSn987dl16praq/X1d/4/vadpuaW1rv32jol0i6Z/OGjxwODT4aGR56OKlSY+teXE68mf3tNvPnbzNvZOfBu/j0XBTL9Hf0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uS11bbf7rsCXBc/OqW23RlwJkI1pTnTXVYF0nXG7ES8hvclHBqjVAGXyNyFpswIBVjw9qITzvHwWajSpovyTinFyiDons3PiPyR9FgpegnDM+OJJE5CGn0VzgljZPFYqwQkDrTXyanDNT7cWVpnPibtn3MY9uKLj8Ofcp+Wz7IUiWHUMlWzUuxvtnAtimSsFXV6bSMndEYZdkyesCyUdjD88jXT0jN1vBHVTBWaiLQwtiOaYCY3NsRoXa7NF+CWkmnQZyRSuNxouU7RQ+5bh8mOxYfTvIHlqa3ic40ssLcnIL8rJT8/XyypIZxgFIwvc5YHQV7ixy+tKz29nYAIAeA1=YI+o1YU4cBAAAAAgAAACoAAADUCwAAAAAAAAEAAAAAAAAAAAAAAA[AuthorEncoded]authorlogo.jpg=3106,4144[Interface]pRadioButton1="1 MB",1,11,18,88,100,20,falsepRadioButton2="4 MB",1,11,18,112,100,20,falsepRadioButton3="8 MB",1,11,18,133,100,20,falsepRadioButton4="16 MB",1,11,18,157,100,20,falsepRadioButton5="32 MB",1,11,18,181,100,20,falsepRadioButton6="64 MB",1,11,18,202,100,20,falsepRadioButton7="Custom (in bytes):",1,11,18,223,111,21,truepNumberBox1=pNumberBox1,1,2,127,223,132,24,10485770,1048577,536870912,1048577pTextLabel1=Size:,1,1,18,67,42,18,8,NormalpBevel1=pBevel1,1,12,12,7,261,54pBevel2=pBevel2,1,12,12,64,261,195pTextLabel2="Drive letter (B: recommended):",1,1,18,10,231,18,8,NormalpScrollBox1=B:,1,4,21,31,42,21,B:,C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:,O:,P:,Q:,R:,S:,T:,U:,V:,W:,X:,Y:,Z:
There is also the german forum where you can write in your own language:http://www.boot-land...German-f40.html

:cheers:

#5 Smithi

Smithi

    Member

  • Members
  • 31 posts
  •  
    Germany

Posted 09 April 2007 - 08:07 PM

@Nuno Brito
Best thanks for your effort :cheers:

#6 NightMan

NightMan

    Frequent Member

  • .script developer
  • 433 posts
  • Location:Russian, Moscow

Posted 10 April 2007 - 01:54 PM

Smithi
You can write directly to x:, do you really need ramdisk?

#7 Smithi

Smithi

    Member

  • Members
  • 31 posts
  •  
    Germany

Posted 10 April 2007 - 08:31 PM

Hi NightMan

DeepBurner

Error report
Out of memory whit expanding memory stream

[codebox][Main] Title=DeepBurner Type=script Level=7 Description= Selected=True [Process] DirMake,"%TargetDir%\Mount\Program Files\DeepBurner" DirCopy,"%ScriptDir%\DeepBurner\*.*","%TargetDir%\Mount\Program Files\DeepBurner" FileCopy,"%WindowsDir%\system32\msacm32.dll","%TargetDir%\Mount\windows\system32" SET,"%LinkDir%","X:\Program Files\DeepBurner" If,ExistFile,"%TargetDir%\Mount\Program Files\BSExplorer\bs_explorer.ini",run,%ScriptFile%,BSLinks [BSLinks] TXTAddLine,%BSS%,"<-ItemBegin->","Append" TXTAddLine,%BSS%," ParentItem=Applications","Append" TXTAddLine,%BSS%," Caption=DeepBurner","Append" TXTAddLine,%BSS%," ExeName=%LinkDir%\DeepBurner.exe","Append" TXTAddLine,%BSS%," IconName=%LinkDir%\DeepBurner.exe","Append" TXTAddLine,%BSS%," ExeDir=%LinkDir%\","Append" TXTAddLine,%BSS%," CmdParam=","Append" TXTAddLine,%BSS%," ShowState=NORMAL","Append" TXTAddLine,%BSS%,"<-ItemEnd->","Append"[/codebox]

WinXP Pro (German)
512 MB Ram

greets Smithi

#8 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 10 April 2007 - 11:11 PM

You can write directly to x:, do you really need ramdisk?

I try to keep things off of drive X to minimize the memory needed fro boot. Many programs (ad-aware, spybot, hijackthis!, ...) insist on writing to the directory from which they started.

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 April 2007 - 12:26 AM

I try to keep things off of drive X to minimize the memory needed fro boot. Many programs (ad-aware, spybot, hijackthis!, ...) insist on writing to the directory from which they started.

At least Ad-Aware and Hijackthis have no problem running from a ro medium.
If set up correctly, Ad-Aware can even be updated.

#10 NightMan

NightMan

    Frequent Member

  • .script developer
  • 433 posts
  • Location:Russian, Moscow

Posted 11 April 2007 - 07:28 AM

Smithi

Error report
Out of memory whit expanding memory stream

RamDisk can help to you?

If,ExistFile,"%TargetDir%\Mount\Program Files\BSExplorer\bs_explorer.ini",run,%ScriptFile%,BSLinks

May be good idea, optimize your script for 008 version?

JonF

insist on writing to the directory from which they started

yes, why you can not start it from x:?

if you will be use VistaPE without boot.wim, you will be able write to your media (it's will be disk x: too :cheers:)... but you can not boot from usb flash without boot.wim :cheers:

#11 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 11 April 2007 - 02:12 PM

At least Ad-Aware and Hijackthis have no problem running from a ro medium.

Of course, if you want to save a HJT logfile for looking up in HJTHotkey or HijackThis.de...

If set up correctly, Ad-Aware can even be updated.

AFAIK that requires the paid version and AFAIK that's not legal to take from computer to computer and run.

I forgot to mention ClamWin Portable ... that requires gobs of writable space in its starting directory. And Macafee scan.exe likes lots too.

#12 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 11 April 2007 - 02:28 PM

if you will be use VistaPE without boot.wim, you will be able write to your media (it's will be disk x: too :cheers:)... but you can not boot from usb flash without boot.wim :cheers:

I do not understand all the different methods yet.

Does "without boot.wim" mean not selecting "Pack boot.wim'?

#13 NightMan

NightMan

    Frequent Member

  • .script developer
  • 433 posts
  • Location:Russian, Moscow

Posted 12 April 2007 - 01:26 PM

Does "without boot.wim" mean not selecting "Pack boot.wim'?


YES

#14 Smithi

Smithi

    Member

  • Members
  • 31 posts
  •  
    Germany

Posted 12 April 2007 - 08:03 PM

Hi
To extend Ramdrive finished itself!
1GB Ram inserted now = no error report
Now I have another problem
see pictures

To thanks for the help
greets Smithi

Attached Thumbnails

  • Nero.jpg
  • DeepBurner1.jpg


#15 NightMan

NightMan

    Frequent Member

  • .script developer
  • 433 posts
  • Location:Russian, Moscow

Posted 13 April 2007 - 08:12 AM

Now I have another problem


try use explorer script, it add necessary settings and files....

#16 Smithi

Smithi

    Member

  • Members
  • 31 posts
  •  
    Germany

Posted 13 April 2007 - 09:11 AM

Sorry! I am not a programmer and my english is bad

which one explorer script?
I use A43 or Xplorer

[codebox][Main] Title=A43 File Manager Type=script Level=7 Description= Selected=True [Process] Echo,Processing A43 File Manager... DirMake,"%TargetDir%\Mount\Program Files\A43 File Manager" DirCopy,"%ScriptDir%\A43 File Manager\*.*","%TargetDir%\Mount\Program Files\A43 File Manager" SET,"%LinkDir%","X:\Program Files\A43 File Manager" If,ExistFile,"%TargetDir%\Mount\Program Files\BSExplorer\bs_explorer.ini",run,%ScriptFile%,BSLinks [BSLinks] TXTAddLine,%BSS%,"<-ItemBegin->","Append" TXTAddLine,%BSS%," ParentItem=Explorers","Append" TXTAddLine,%BSS%," Caption=A43 File Manager","Append" TXTAddLine,%BSS%," ExeName=%LinkDir%\A43.exe","Append" TXTAddLine,%BSS%," IconName=%LinkDir%\A43.exe","Append" TXTAddLine,%BSS%," ExeDir=%LinkDir%\","Append" TXTAddLine,%BSS%," CmdParam=","Append" TXTAddLine,%BSS%," ShowState=NORMAL","Append" TXTAddLine,%BSS%,"<-ItemEnd->","Append" [Interface] pCheckBox1="Add to PE Shell",1,3,9,20,200,18,True ----------------------------------------------------------------------------------------------------- [Main] Title=XPlorer Type=script Level=7 Description= Selected=True [Process] DirMake,"%TargetDir%\Mount\Program Files\XPlorer" FileCopy,"%ScriptDir%\XPlorer\*.*","%TargetDir%\Mount\Program Files\XPlorer" SET,"%LinkDir%","X:\Program Files\XPlorer" If,ExistFile,"%TargetDir%\Mount\Program Files\BSExplorer\bs_explorer.ini",run,%ScriptFile%,BSLinks [BSLinks] TXTAddLine,%BSS%,"<-ItemBegin->","Append" TXTAddLine,%BSS%," ParentItem=Explorers","Append" TXTAddLine,%BSS%," Caption=XPlorer","Append" TXTAddLine,%BSS%," ExeName=%LinkDir%\xplorer.exe","Append" TXTAddLine,%BSS%," IconName=%LinkDir%\xplorer.exe","Append" TXTAddLine,%BSS%," ExeDir=%LinkDir%\","Append" TXTAddLine,%BSS%," CmdParam=","Append" TXTAddLine,%BSS%," ShowState=NORMAL","Append"
TXTAddLine,%BSS%,"<-ItemEnd->","Append"[/codebox]

thanks for help
greets Smithi

#17 NightMan

NightMan

    Frequent Member

  • .script developer
  • 433 posts
  • Location:Russian, Moscow

Posted 13 April 2007 - 12:15 PM

no one of this, download latest WinBuilder and latest VistaPE scripts, you are using very old VistaPE version...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users