|
Posted by JC on September 25, 2006, 9:05 am
Please log in for more thread options
Hi
I am tried to use a cab to create the following registries for invoke my
application via a web link, which the web link is
testing://some.com/test.testing
With the the following registry, it works perfectly under PocketPC2003
and Windows Mobile 5.0 PocketPC Edition. However, when using the same
registry in Windows Mobile 5.0 Smartphone Edition. It doesn't work and
said my URL is wrong.
After checking the registry, I found out that there are extra keys are
generated automatically, which I think it is the root cause which make
the invoke application fails.
They are
(Default) (value not set)
After deleting those key in every "\open\command" key. Then the invoke
application works perfectly.
However, the delete key is done by manually, which is a very dirty fix.
Do anyone of you know how to avoid creating the (Default) key when
deployment? Also, do anyone of you have any successful experience in
invoke a custom app via URL?
Thanks a lot.
Regards,
Jacky Cheung
[HKEY_CLASSES_ROOT\.testing]
(Default) testingfile
[HKEY_CLASSES_ROOT\testing]
(Default) URL:Some Protocol
URL Protocol
[HKEY_CLASSES_ROOT\testing\DefaultIcon]
(Default) pword.exe
[HKEY_CLASSES_ROOT\testing\shell]
(Default)
[HKEY_CLASSES_ROOT\testing\shell\open]
(Default)
[HKEY_CLASSES_ROOT\testing\shell\open\command]
(Default) DeviceApplication1.exe %1
[HKEY_CLASSES_ROOT\testingfile]
(Default) testing
EditFlags 65536 Dword values
[HKEY_CLASSES_ROOT\testingfile\DefaultIcon]
(Default) wmplayer.exe, -2001
[HKEY_CLASSES_ROOT\testingfile\Shell]
(Default)
[HKEY_CLASSES_ROOT\testingfile\Shell\Open]
(Default)
[HKEY_CLASSES_ROOT\testingfile\Shell\Open\Command]
(Default) DeviceApplication1.exe %1h h
|