Re: ipsm as root directory
- From: "Bruce Eitman [eMVP]" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 11 Oct 2007 09:50:18 -0400
You cand:
1. Change the shortcut to point to the install folder
2. Set the system path in the registry to include your install folder
[HKEY_LOCAL_MACHINE\Loader]
"SystemPath"=multi_sz:"\\iPSM\\", "\\Release\\"
Take a look at the documentation for CreateProcess and LoadLibrary for an
understanding of how apps and dlls are loaded.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"shazz via PocketPCJunkies.com" <u37384@uwe> wrote in message
news:797ae076313ef@xxxxxx
Hi Michel,
thanks for your reply. i didn't know this.
as you told when mounting ipsm as root the performance of system is very
poor
so
i have included the settings suggested by you in the registry.
also i have removed IPSM as my root and now it appears as a folder under
root.
all the shortcuts are visible even after reboot as they are getting stored
in
ipsm folder.
now i tried to install a program, which by default gets installed in
\windows
folder, this works fine.
when i tried to install the same in ipsm(so that it does not vanish after
reboot), i am not able to access the application from start -> programs->
(applications shortcut).
i think it still searches for \Windows for the program.
please suggest how i can overcome this problem.
thanks in advance.
Michel Verhagen (eMVP) wrote:
And don't forget to clean out your dat files (and pre-prepare your ipsm
disk) because (repeated from one of my previous posts):
Please note that CE uses an algorithm for processing the DAT files that
was designed for RAM based systems. If you mount a persisting medium as
root copying files using dat files will degrade boot performance quite a
bit (depending mostly on the amount of files being copied in your dat
files). Windows CE is doing some pretty dumb things with copying using
dat files (the CE system *always* copies/creates *all* the
files/directories listed in the .dat files, even if those files/folders
already exist). Besides that it can be desirable to have a RAM disk to
quickly store temporary files (you can also get that with a persisted
root by including the RAM disk, I know...).
Just verify your boottimes by counting from power up to "CE desktop"
with and without your ipsm mounted as root (and be amazed!).
I think the mount as root option is much overrated. You better keep ipsm
in its separate folder and persist data there if you need to. Remember
you can reroute all shell folders by changing this key in the registry:
; The path lookups for SHGetSpecialFolderPath
; @CESYSGEN IF COREDLL_FILEINFO
[HKEY_LOCAL_MACHINE\SYSTEM\Explorer\Shell Folders]
"Application Data"="\\ipsm\\Application Data"
"Desktop"="\\ipsm\\Desktop"
"Favorites"="\\ipsm\\Favorites"
"Fonts"="\\Windows\\Fonts"
"My Documents"="\\ipsm\\My Documents"
"Program Files"="\\ipsm\\Program Files"
"Programs"="\\ipsm\\Programs"
"Recent"="\\ipsm\\Recent"
"StartUp"="\\ipsm\\StartUp"
"Windows"="\\Windows"
; @CESYSGEN ENDIF
You don't even have to create those folders because the shell will
create them if they don't exist.
So there's no need to mount as root to persist for instance desktop
icons or installed program shortcuts. The only real reason to mount as
root is when you want the root folder to be persistent. Do you want that
or are you trying to persist desktop icons and such?
Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com
hi,[quoted text clipped - 18 lines]
i have changed my registry settings as given below:
[quoted text clipped - 299 lines]
please suggest what could be the reason.
--
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200710/1
.
- References:
- Re: ipsm as root directory
- From: shazz via PocketPCJunkies.com
- Re: ipsm as root directory
- From: Michel Verhagen (eMVP)
- Re: ipsm as root directory
- From: shazz via PocketPCJunkies.com
- Re: ipsm as root directory
- Prev by Date: Re: To load two display drivers simultaneoulsy
- Next by Date: Re: How to check Image Have been stamped with license
- Previous by thread: Re: ipsm as root directory
- Next by thread: Re: ipsm as root directory
- Index(es):
Relevant Pages
|