okey, fixing the idea to create a ramdisk to the first available drive letter and mount .wim to there.No, WIMs need to be mounted to a folder residing on an ntfs file system.
well LiveXP have environment variable joker to use, but others do not have this option available all the time (thanks to dera pointing this).you could just set %programfiles% variable to the mount location.
===>
Reminding, the problem is about writing apps scripts that work on all projects perfectly.
PE2-PE3 projects have their %ProgramFiles% located at %systemdrive% (inside .wim file) (X:\Program Files)
they also have a 2nd programfiles location where it points cd drive %cddrive%\Programs (LiveXP do not have this feature)
Also PE2-PE3 projects have other shells as an option (LiveXP do not have this feature)
The situation is, PE2-PE3 projects have 2 features that is not available AND for now not required by LiveXP. With having explorer as shell intact (which also writes in the defination of LiveXP ) environment trick seems to save the day for LiveXp but not for the others.
so question comes, will we be selfish when writing apps scripts ?
I previously check log file only "Edit: to see if things written on cfg", I will check if values written to registry, I need timeThere are two vistape.cfg files, one in the root of %CDDrive% and one in %SystemRoot%\System32. The former contains non-run-from-RAM stuff, the latter contains run-from-RAM stuff. I don't know why there are two files, and I don't know if there's any difference between them
I do not think VistaPE is becoming a dinosaur. In fact what VistaPE loader does is very similar to what LODR Loader on LiveXP (or the amalux's package Loader) does, it creates registry and adds shortcuts which is logical for this situation.No, we can't modify the VistaPE loader. CTMag may someday write one of his own from scratch, but that's far in the future.
Maybe VistaPE is becoming a dinosaur...
I feel problem is not about the loader, It is about general apps script writing with available options. It is obvious some situations do not require this portable approach where it should be distinguished by script. RunFromRam designed for that purpose on VistaPE. But not using RunFromRam does not require regaddboot on livexp ..... etc etc...
Edit