I am working on PB5. I am considering how to install/deploy software updates
for our users. Our OS uses a RAM/ROM FS but our device does power off often.
Therefor, I loose everything which is not in the OS nk.bin, BUT if I put all
of our software in NK.bin, I get a large image which takes over a minute to
boot. I'd like to have a lean NK.bin and load our software into our
\\Mounted Volume\\ flash storage. CAB installers seem like a good way to
install our software, except that if I install desktop or start menu links,
they are lost on power-cycle. I found
[HKEY_LOCAL_MACHINE\SYSTEM\Explorer\Shell Folders] and thought I could
override the two paths in my project.reg. This leads to the questions:
a) Sure, this would let me move where the OS looks for desktop/start menu
items, but it won't help me change where apps install too. For example,
wordpad and media player icons are forced into \\Windows\LOC_DESKTOP_DIR,
etc. Obviosuly I could change the public source but that doesn't feel right.
Is there a trick here, or am I way off in what I'm attempting?
b) If I ever want to localize my OS, I'm stuck cause I just hardcoded the
paths. I can't figure out how to combine the LOC_PATH_* definitions with the
\\Mounted Volume path because of the quotes in LOC_PATH_*. Is there a way to
override the root path but keep localized names?