Digg this topic Add to my del.icio.us Submit to SlashDot 4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> patchman for nuno
sanbarrow
post Jan 17 2007, 03:50 PM
Post #21


Advanced Member
***

Group: Developer
Posts: 154
Joined: 13-October 06
From: Germany - Sauerland
Member No.: 755



Hi Nuno

again I realize how far I have moved away from old BartPE-standards -

QUOTE
0x2, "ControlSet001\Control\Session Manager\Environment", "temp", "%RamDiskDriveLetter%"
0x2, "ControlSet001\Control\Session Manager\Environment", "tmp", "%RamDiskDriveLetter%\"


I hope you don't read the next comment as arrogant or something like that - but I can't live with this.
I think this is a design-error in BartPE - it limits your options.

Why not use %temp% = %RamDiskDriveLetter%\temp ?
I use hardcoded %temp% = R:\temp
In case I have very little RAM so that only an 4MB-ramdrive is possible - I simply junction R:\temp to a location on a local-disk or USB-traveldisk.
You cannot do that with
%temp% = %RamDiskDriveLetter%

Nuno - I don't know if you have an idea of what my MOA-stuff looks like - if you have a possibilty to watch VMware-codec videos please check this video I made
http://sanbarrow.com/moa2/moa025video.zip

It shows a MOA-XP-sp2 built running on a box with 128MB RAM - this built is far away from perfect - but it shows how I handle RAMdrive and the programs-directory. It uses a programs-directory with 300MB of various programs - fully writeable ...
It shows some things that are impossible on all other current popular builts - no matter wether it is BartPE - out of the box, UBCD4WIN, XPE, Reatogo, Winbuilder ... whatever.

I'd rather continue fiddling alone with my MOA-stuff than adopting to any other builts that still still stick to the original design-errors.

Please, please look into it - you will not regret it. Promised.

And I would really like to settle down in a larger community - instead of fighting alone.

(IMG:http://www.boot-land.net/forums/style_emoticons/default/tabletalk.gif)

For me the following is a must:

RAMdrive must be a high driveletter that can be used for harddisks - anything at the end of the scale likeQ-W will do. I use R:
Temp must be a subdir of the RAMdrive
RAMdrive must be uncompressed NTFS

Please, please consider it.

Ulli
Go to the top of the page
 
+Quote Post
sanbarrow
post Jan 17 2007, 05:12 PM
Post #22


Advanced Member
***

Group: Developer
Posts: 154
Joined: 13-October 06
From: Germany - Sauerland
Member No.: 755



Oops - I linked the wrong video - the linked one is MOA-2k3-sp1 based on a 728 MB host
Go to the top of the page
 
+Quote Post
Nuno Brito
post Jan 17 2007, 05:21 PM
Post #23


Advanced Member
***

Group: .script developer
Posts: 4,280
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


It is already possible to use different drive letters on wb052- you choose..

Attached Image


On nativeEx and liveXP this is done on another part of the project, inside the "Define Fundamentals" script.


Never needed to use NTFS before, but I see you take advantage of junctions so this might be a good time to use NTFS instead of Fat32, why not?

(IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
sanbarrow
post Jan 17 2007, 05:36 PM
Post #24


Advanced Member
***

Group: Developer
Posts: 154
Joined: 13-October 06
From: Germany - Sauerland
Member No.: 755



Good - the screenshot looks different from what I tried - need to see what you are really doing as soon as possible.

What about %temp% ? (IMG:http://www.boot-land.net/forums/style_emoticons/default/rolleyes.gif)
Go to the top of the page
 
+Quote Post
Nuno Brito
post Jan 17 2007, 07:07 PM
Post #25


Advanced Member
***

Group: .script developer
Posts: 4,280
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


QUOTE (sanbarrow @ Jan 17 2007, 04:36 PM) *


I guess you can add an option on the script interface and use a %temp% that suits your needs - the newer projects do tend to be more dynamic and ease these changes a lot.. (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
sanbarrow
post Jan 17 2007, 09:04 PM
Post #26


Advanced Member
***

Group: Developer
Posts: 154
Joined: 13-October 06
From: Germany - Sauerland
Member No.: 755



QUOTE (Nuno Brito @ Jan 17 2007, 08:07 PM) *
I guess you can add an option on the script interface and use a %temp% that suits your needs - the newer projects do tend to be more dynamic and ease these changes a lot.. (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)


Good to hear - when I try to use %temp% = %ramdrive%\temp in Reatogo or XPE it doesn't work well - if at all.
Anyway - it would be an unclean approach if an important setting like this is handled in an inconsistent way.

Do the several projects have a clear standard how to set these parameters ?
If not - maybe we should consider to set a common standard ?

Looks like you do not have clear preferences on this topic ?

What do you think about moving programs into a virtual disk ?
(IMG:http://www.boot-land.net/forums/style_emoticons/default/tabletalk.gif)
I really love this table-talk emoticon (IMG:http://www.boot-land.net/forums/style_emoticons/default/rolleyes.gif)

Hey - I noticed that I am the only user in the group developer - in the US-VMware-forum I'm the only one in the in-official "mad scientist" group.
Slowly I see a pattern building up (IMG:http://www.boot-land.net/forums/style_emoticons/default/hypocrite.gif)
Go to the top of the page
 
+Quote Post
Nuno Brito
post Jan 18 2007, 10:15 AM
Post #27


Advanced Member
***

Group: .script developer
Posts: 4,280
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


Under the current nativeEx based projects things have grown a lot in terms of efficiency - so it will likely be the common standard rule for our next generation of boot disks on XP/2003 PE environments.

I've just been a bit busier doing some works on the next wb - after this I hope to have more time to help you out with your project, just trying to dedicate my time to one thing at a time to do the job right..

QUOTE (sanbarrow @ Jan 17 2007, 08:04 PM) *
What do you think about moving programs into a virtual disk ?

Why not? You mean mounting the disk on the host OS, copying all programs, placing it inside the ISO and then load it like a sort of SDI image? HighwayStar has already created a way to use SDI technology without resorting to MS licensed files, and I like the idea since it is a similar method used by the recent vistaPE and WIM images, meaning that we'll have to deal with this sort of matters sooner or later - I always give (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif) for sooner to start testing this..

QUOTE (sanbarrow @ Jan 17 2007, 08:04 PM) *
Hey - I noticed that I am the only user in the group developer - in the US-VMware-forum I'm the only one in the in-official "mad scientist" group.
Slowly I see a pattern building up (IMG:http://www.boot-land.net/forums/style_emoticons/default/hypocrite.gif)

hmm.. a pattern you'd say? (IMG:http://www.boot-land.net/forums/style_emoticons/default/blink.gif) (IMG:http://www.boot-land.net/forums/style_emoticons/default/roll1.gif)
Go to the top of the page
 
+Quote Post
TheHive
post Jan 18 2007, 12:45 PM
Post #28


Advanced Member
***

Group: .script developer
Posts: 1,899
Joined: 14-July 06
Member No.: 5



QUOTE
Nuno - I don't know if you have an idea of what my MOA-stuff looks like - if you have a possibilty to watch VMware-codec videos please check this video I made
http://sanbarrow.com/moa2/moa025video.zip
Thanks for the video. it allows to understand it better. So you have something like shell launcher. (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)

QUOTE
And I would really like to settle down in a larger community - instead of fighting alone.
Yeah! It sucks when you have to argue with yourself because you already know whose going to convince who. (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
sanbarrow
post Jan 18 2007, 03:05 PM
Post #29


Advanced Member
***

Group: Developer
Posts: 154
Joined: 13-October 06
From: Germany - Sauerland
Member No.: 755



QUOTE (TheHive @ Jan 18 2007, 01:45 PM) *
Thanks for the video. it allows to understand it better. So you have something like shell launcher. (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbup.gif)


Yes - the launcher searches for available virtual disks.

Have you seen the 4 input boxes on the left side of the launcher ?
If there is a free slot I can drag a virtual disk into it, right click the driveletter icon and voila - it gets mounted and integrated into my programs-directory.

If enough memory is available it mounts them in writeable mode and executes an autoload.cmd.
This batch creates junctions from my programs-dir to the programs in the virtual disk.
After that it merges all reg.files in an autoload-directrory into the registry.
Finally it copies desktop-icons or startmenu-shortcuts i place.

The result is I do not need any registry-expansion as I can always use hardcoded paths for any registry-stuff or shortcuts.
As I use driveletter R: for my RAMdrive I can very easily build a developement virtual machine that has the very same
layout than the PE will have when booted from CD later.

This allows creating startmenu entries by drag and drop.
It allows adding of programs like dreamweaver without writing any code at all.
I just have to add a line to my autoload-batch that says
junction R:\programs\dreamweaver dreamweaver

Later when I use the PE it doesn't matter at all wether the virtual disk that contains dreamweaver is copied to the CD or wether I load it from a mapped network-drive ...

I often hear that one uses variables for paths like %programsdrive%\programs\my-program.
Somehow I see no point in that - I don't need to use a variable for something that is well defined.

Why should I build a plugin by replacing
path-to-app = R:\programs\app
with
path-to-app = %programsdrive%\programs\app
and then hope that after boot of the PE this gets correctly translated into
path-to-app = R:\programs\app ???

The only variables I can't work around is %systemroot% as this maybe X:\i386, X:\minint or X:\sbin or whatever.

Anyway - I am happy with this layout I use as it is very easy to add stuff because I have a developement-regular windows-installation that is an almost exact mirror of the later PE.

If the ramdrive is a variable it is much more work to add a program in a lazy way.
If the ramdrive is set to B: my lazy way is impossible.

I really like to be lazy (IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)

By the way - Linux guys are lazy too - they alway use programs in /usr/bin - so that they can address them in a "always the same way" - it doesn't really matter wether /usr/bin is on the first,second or 23th hard-drive.

If you ask me - driveletters are a serious design-error in Windows (IMG:http://www.boot-land.net/forums/style_emoticons/default/frusty.gif)

Ulli
Go to the top of the page
 
+Quote Post
jaclaz
post Jan 19 2007, 02:48 PM
Post #30


Finder
***

Group: Advanced user
Posts: 1,185
Joined: 14-July 06
Member No.: 2


Italy


QUOTE (sanbarrow)
If you ask me - driveletters are a serious design-error in Windows

Actually, if I may correct you (IMG:http://www.boot-land.net/forums/style_emoticons/default/smile.gif) , driveletters are a serious design-error in DOS. (IMG:http://www.boot-land.net/forums/style_emoticons/default/frusty.gif)

NO design was made regarding drives in Windows, not in Win9x/Me, nor in the NT/2K/XP/2003, Microsoft just KEPT the old design, most probably for compatibility purposes (that could well have been fixed by the use of inter-drive and inter-filesystem junction points or hard-links (IMG:http://www.boot-land.net/forums/style_emoticons/default/cool.gif) ).

jaclaz
Go to the top of the page
 
+Quote Post
« Next Oldest · Submit your program · Next Newest »
 

4 Pages V  < 1 2 3 4 >
Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 2nd November 2007 - 11:43 PM

MKPortal ©2003-2006 mkportal.it