how do you use windows ENVVARs with LS i need it to build a theme where i don't know what drive will be used. i.e. Bart's PEbuilder http:\\www.nu2.nu\pebuilder\
TIA
If an $evar$ can't be found in step.rc the windows variables are checked. That means that you can use any windows %var% as a $var$ as long as there is no name conflict.
what does a website have to do with what drive is used?
I built a Bart PE Disk with Litestep all I had to do was copy the contents of the Litestep folder to the root of the Bart CD
and made a theme the links to the apps in the bart file tree.
What you want to do is remove the netloadmodle entries from step.rc in litestep folder and use Loadmodule in your theme.
You also have set an Evar for the modules directory.
If you would like a copy of SilverFleep modified for Bart
let me know
It's not the site,(site was just a reference) it's the drive of the CD-Rom the Bootable CD with a copy of windows XP embedded on it. Wonderful tool.
hmm, I need an evar with current userid
Smurth: you mean $Username$ ?
If you set it up so that the themes folder is under the $LiteStepDir$, it shouldn't matter what drive it's on. It'll all be picked up automatically from the path to litestep.exe.
If you install the themes under the user-specific folders, it should be picked up automatically from wherever those have been set.
I don't see how that could be a problem...
There is a program dir on the root of a Bart PE CD and in order to link to the utilities on the disk you would need a drive letter, that is why I I used the root for the LS intall so I can just use $LitestepDir$ instead of tring the set a var for the drive letter.
I would assume his theme is going to be geared for use as a mobile tech.
but that drive letter would depend on your own specific machine so it should be configured in themeevars.rc or just be hard coded.
but i will use this disk on computers i don't own and may not know the setup of. so a being able to ref the unknown CD drive letter is important. i hate hardcoding anything i don't have the more dynamic the theme vars the better less i have to setup.
TechRonin: i would love to see it pls send it. email is in my profile. TIA
Double post sorry, i blame ls.net for logging me out. :P
The pupose of the Embedded is to troubleshoot PC's that can't boot there own os ie I go to a client and his CD-ROM is Q:\ due some tinking he did before calling me, my cd will boot to XP regardless of his OS and litestep will run and give me access to apps on cd without caring about what drive it is running off.
ahhh...see...now that explains it a little better. the other option would be to install it under %windir% or %tempdir%. There should also be one for Program Files...just can't think of it. That would depend on the OS you booted making it a dynamic evar again.
tnl: I means UserID; not UserName:
Username: Smurth
UserID: S-1-5-21-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxx-1001
so, you're looking for a variable for the cd-rom drive? I don't think one exists...
it doesn't exists but however since bartPE boots from the cdrom %systemdrive% works quite well.
UserID! Not cd-rom or systemdrive !!!
smurth: I know of no such windows or LS evar for that but than i don't have IIS installed either. you can always use CMD.exe and run 'set' it will show you all windows' Evars.
Thanks varbalshadow, I didn't know that. But there's no what I'm looking for...