I found the wince 3.0 can't run any CAB file to install?

When I double click a *.cab file to install it, it always pop up a
windows "Double click CAB file to install".

What's the problem?

Thanks,
Jeffery

Re: Why can't run *.cab file in wince 3.0 by Paul

Paul
Thu Jul 31 10:19:34 CDT 2003

My guess would be that the registry entries associating the CAB extension
with wceload.exe are wrong. Maybe you are running the CAB from a Storage
Card and there's no quotes around the filename in the association, etc.

Paul T.

"Jeffery" <jeffery.leung@wongswec.com> wrote in message
news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> I found the wince 3.0 can't run any CAB file to install?
>
> When I double click a *.cab file to install it, it always pop up a
> windows "Double click CAB file to install".
>
> What's the problem?
>
> Thanks,
> Jeffery



Re: Why can't run *.cab file in wince 3.0 by jeffery

jeffery
Thu Jul 31 20:53:43 CDT 2003

Hi

any wrong of my setting?

[HKEY_CLASSES_ROOT\.cab]
@="cabfile"

[HKEY_CLASSES_ROOT\cabfile]
@="CAB File"

[HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
@="\\Windows\\wceload.exe,-101"

[HKEY_CLASSES_ROOT\cabfile\Shell]

[HKEY_CLASSES_ROOT\cabfile\Shell\Open]

[HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
@="\\Windows\\wceload.exe %1"



Regards,
Jeffery




"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message

news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> My guess would be that the registry entries associating the CAB extension
> with wceload.exe are wrong. Maybe you are running the CAB from a Storage
> Card and there's no quotes around the filename in the association, etc.
>
> Paul T.
>
> "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > I found the wince 3.0 can't run any CAB file to install?
> >
> > When I double click a *.cab file to install it, it always pop up a
> > windows "Double click CAB file to install".
> >
> > What's the problem?
> >
> > Thanks,
> > Jeffery

Re: Why can't run *.cab file in wince 3.0 by Paul

Paul
Mon Aug 04 11:11:03 CDT 2003

Yes. It's wrong in *precisely* the way I suggested (Open\Command\@ value is
wrong). You need to put quotation marks around the %1 or any path with a
space in it won't work. The .reg files use the C way of escaping quote
characters (use \") to insert a quote in a string...

Paul T.

"Jeffery" <jeffery.leung@wongswec.com> wrote in message
news:acccbb6e.0307311753.f35093@posting.google.com...
> Hi
>
> any wrong of my setting?
>
> [HKEY_CLASSES_ROOT\.cab]
> @="cabfile"
>
> [HKEY_CLASSES_ROOT\cabfile]
> @="CAB File"
>
> [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> @="\\Windows\\wceload.exe,-101"
>
> [HKEY_CLASSES_ROOT\cabfile\Shell]
>
> [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
>
> [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> @="\\Windows\\wceload.exe %1"
>
>
>
> Regards,
> Jeffery
>
>
>
>
> "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
>
> news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> > My guess would be that the registry entries associating the CAB
extension
> > with wceload.exe are wrong. Maybe you are running the CAB from a
Storage
> > Card and there's no quotes around the filename in the association, etc.
> >
> > Paul T.
> >
> > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > > I found the wince 3.0 can't run any CAB file to install?
> > >
> > > When I double click a *.cab file to install it, it always pop up a
> > > windows "Double click CAB file to install".
> > >
> > > What's the problem?
> > >
> > > Thanks,
> > > Jeffery



Re: Why can't run *.cab file in wince 3.0 by jeffery

jeffery
Mon Aug 04 21:53:09 CDT 2003

Paul,

Thanks your help, but I can't get your meaning... what should I need to do?

Jeffery.



"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message news:<eRh75LqWDHA.3232@tk2msftngp13.phx.gbl>...
> Yes. It's wrong in *precisely* the way I suggested (Open\Command\@ value is
> wrong). You need to put quotation marks around the %1 or any path with a
> space in it won't work. The .reg files use the C way of escaping quote
> characters (use \") to insert a quote in a string...
>
> Paul T.
>
> "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> news:acccbb6e.0307311753.f35093@posting.google.com...
> > Hi
> >
> > any wrong of my setting?
> >
> > [HKEY_CLASSES_ROOT\.cab]
> > @="cabfile"
> >
> > [HKEY_CLASSES_ROOT\cabfile]
> > @="CAB File"
> >
> > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > @="\\Windows\\wceload.exe,-101"
> >
> > [HKEY_CLASSES_ROOT\cabfile\Shell]
> >
> > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> >
> > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > @="\\Windows\\wceload.exe %1"
> >
> >
> >
> > Regards,
> > Jeffery
> >
> >
> >
> >
> > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
> >
> > news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> > > My guess would be that the registry entries associating the CAB
> extension
> > > with wceload.exe are wrong. Maybe you are running the CAB from a
> Storage
> > > Card and there's no quotes around the filename in the association, etc.
> > >
> > > Paul T.
> > >
> > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > > > I found the wince 3.0 can't run any CAB file to install?
> > > >
> > > > When I double click a *.cab file to install it, it always pop up a
> > > > windows "Double click CAB file to install".
> > > >
> > > > What's the problem?
> > > >
> > > > Thanks,
> > > > Jeffery

Re: Why can't run *.cab file in wince 3.0 by Chris

Chris
Tue Aug 05 08:44:03 CDT 2003

Paul's point is that your registry interprets tapping a CAB file as this:

\Windows\wceload.exe \mycabfilepath\mycabfile.cab

If the path to your CAB file has a space in it, like this:

\Program files\mycabfile.cab

Then wceload thinks the first command line parameter is just "\Program" and
it ignores "files\mycabfile.cab". Since it can't find any cab file named
"\Program" it shows an error. To fix this, you must either run the CAB file
from a directory with no spaces in the fully qualified path (and the cab
file name can have no spaces) or you must fix your registry entry so it
looks something like this:

[HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
@="\\Windows\\wceload.exe \"%1\""



--
Chris Tacke, eMVP
Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net

"Jeffery" <jeffery.leung@wongswec.com> wrote in message
news:acccbb6e.0308041853.587f7ee7@posting.google.com...
> Paul,
>
> Thanks your help, but I can't get your meaning... what should I need to
do?
>
> Jeffery.
>
>
>
> "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
news:<eRh75LqWDHA.3232@tk2msftngp13.phx.gbl>...
> > Yes. It's wrong in *precisely* the way I suggested (Open\Command\@
value is
> > wrong). You need to put quotation marks around the %1 or any path with
a
> > space in it won't work. The .reg files use the C way of escaping quote
> > characters (use \") to insert a quote in a string...
> >
> > Paul T.
> >
> > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > news:acccbb6e.0307311753.f35093@posting.google.com...
> > > Hi
> > >
> > > any wrong of my setting?
> > >
> > > [HKEY_CLASSES_ROOT\.cab]
> > > @="cabfile"
> > >
> > > [HKEY_CLASSES_ROOT\cabfile]
> > > @="CAB File"
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > > @="\\Windows\\wceload.exe,-101"
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\Shell]
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > @="\\Windows\\wceload.exe %1"
> > >
> > >
> > >
> > > Regards,
> > > Jeffery
> > >
> > >
> > >
> > >
> > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
message
> > >
> > > news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> > > > My guess would be that the registry entries associating the CAB
> > extension
> > > > with wceload.exe are wrong. Maybe you are running the CAB from a
> > Storage
> > > > Card and there's no quotes around the filename in the association,
etc.
> > > >
> > > > Paul T.
> > > >
> > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > > > > I found the wince 3.0 can't run any CAB file to install?
> > > > >
> > > > > When I double click a *.cab file to install it, it always pop up a
> > > > > windows "Double click CAB file to install".
> > > > >
> > > > > What's the problem?
> > > > >
> > > > > Thanks,
> > > > > Jeffery



Re: Why can't run *.cab file in wince 3.0 by jeffery

jeffery
Thu Aug 07 02:04:08 CDT 2003

Paul, what do you mean? I have modified the registry but it still does not work.



"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message news:<ein67NDXDHA.2592@TK2MSFTNGP09.phx.gbl>...
> Your entries are still wrong, then...
>
> Paul T.
>
> "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> news:acccbb6e.0308052145.917a9bd@posting.google.com...
> > But why I doulbe click a cab file under \windows\ still can't work.. it
> shows
> > "Double click CAB file to install".
> >
> > Jeffery
> >
> >
> > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
> news:<uNnmnf1WDHA.1812@TK2MSFTNGP11.phx.gbl>...
> > > Paul's point is that your registry interprets tapping a CAB file as
> this:
> > >
> > > \Windows\wceload.exe \mycabfilepath\mycabfile.cab
> > >
> > > If the path to your CAB file has a space in it, like this:
> > >
> > > \Program files\mycabfile.cab
> > >
> > > Then wceload thinks the first command line parameter is just "\Program"
> and
> > > it ignores "files\mycabfile.cab". Since it can't find any cab file
> named
> > > "\Program" it shows an error. To fix this, you must either run the CAB
> file
> > > from a directory with no spaces in the fully qualified path (and the cab
> > > file name can have no spaces) or you must fix your registry entry so it
> > > looks something like this:
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > @="\\Windows\\wceload.exe \"%1\""
> > >
> > >
> > >
> > > --
> > > Chris Tacke, eMVP
> > > Advisory Board Member
> > > www.OpenNETCF.org
> > > ---
> > > Windows CE Product Manager
> > > Applied Data Systems
> > > www.applieddata.net
> > >
> > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > news:acccbb6e.0308041853.587f7ee7@posting.google.com...
> > > > Paul,
> > > >
> > > > Thanks your help, but I can't get your meaning... what should I need
> to
> do?
> > > >
> > > > Jeffery.
> > > >
> > > >
> > > >
> > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
> message
> news:<eRh75LqWDHA.3232@tk2msftngp13.phx.gbl>...
> > > > > Yes. It's wrong in *precisely* the way I suggested (Open\Command\@
> value is
> > > > > wrong). You need to put quotation marks around the %1 or any path
> with
> a
> > > > > space in it won't work. The .reg files use the C way of escaping
> quote
> > > > > characters (use \") to insert a quote in a string...
> > > > >
> > > > > Paul T.
> > > > >
> > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > news:acccbb6e.0307311753.f35093@posting.google.com...
> > > > > > Hi
> > > > > >
> > > > > > any wrong of my setting?
> > > > > >
> > > > > > [HKEY_CLASSES_ROOT\.cab]
> > > > > > @="cabfile"
> > > > > >
> > > > > > [HKEY_CLASSES_ROOT\cabfile]
> > > > > > @="CAB File"
> > > > > >
> > > > > > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > > > > > @="\\Windows\\wceload.exe,-101"
> > > > > >
> > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell]
> > > > > >
> > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> > > > > >
> > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > > > @="\\Windows\\wceload.exe %1"
> > > > > >
> > > > > >
> > > > > >
> > > > > > Regards,
> > > > > > Jeffery
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
> message
> > > > > >
> > > > > > news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> > > > > > > My guess would be that the registry entries associating the CAB
> extension
> > > > > > > with wceload.exe are wrong. Maybe you are running the CAB from
> a
> Storage
> > > > > > > Card and there's no quotes around the filename in the
> association,
> etc.
> > > > > > >
> > > > > > > Paul T.
> > > > > > >
> > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > > > > > > > I found the wince 3.0 can't run any CAB file to install?
> > > > > > > >
> > > > > > > > When I double click a *.cab file to install it, it always pop
> up a
> > > > > > > > windows "Double click CAB file to install".
> > > > > > > >
> > > > > > > > What's the problem?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Jeffery

Re: Why can't run *.cab file in wince 3.0 by Paul

Paul
Thu Aug 07 10:51:53 CDT 2003

You made some sort of a mistake in your modifications. When the registry
entry is correct, you don't have that problem. Post it to the list again or
view it via the Remote Registry Editor and make sure that there are " around
the %1 in the command line for wceload.exe. I guess you should verify that
wceload.exe is *there*, too, of course.

Paul T.

"Jeffery" <jeffery.leung@wongswec.com> wrote in message
news:acccbb6e.0308062304.57bd52ad@posting.google.com...
> Paul, what do you mean? I have modified the registry but it still does not
work.
>
>
>
> "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
news:<ein67NDXDHA.2592@TK2MSFTNGP09.phx.gbl>...
> > Your entries are still wrong, then...
> >
> > Paul T.
> >
> > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > news:acccbb6e.0308052145.917a9bd@posting.google.com...
> > > But why I doulbe click a cab file under \windows\ still can't work..
it
> > shows
> > > "Double click CAB file to install".
> > >
> > > Jeffery
> > >
> > >
> > > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
> > news:<uNnmnf1WDHA.1812@TK2MSFTNGP11.phx.gbl>...
> > > > Paul's point is that your registry interprets tapping a CAB file as
> > this:
> > > >
> > > > \Windows\wceload.exe \mycabfilepath\mycabfile.cab
> > > >
> > > > If the path to your CAB file has a space in it, like this:
> > > >
> > > > \Program files\mycabfile.cab
> > > >
> > > > Then wceload thinks the first command line parameter is just
"\Program"
> > and
> > > > it ignores "files\mycabfile.cab". Since it can't find any cab file
> > named
> > > > "\Program" it shows an error. To fix this, you must either run the
CAB
> > file
> > > > from a directory with no spaces in the fully qualified path (and the
cab
> > > > file name can have no spaces) or you must fix your registry entry so
it
> > > > looks something like this:
> > > >
> > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > @="\\Windows\\wceload.exe \"%1\""
> > > >
> > > >
> > > >
> > > > --
> > > > Chris Tacke, eMVP
> > > > Advisory Board Member
> > > > www.OpenNETCF.org
> > > > ---
> > > > Windows CE Product Manager
> > > > Applied Data Systems
> > > > www.applieddata.net
> > > >
> > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > news:acccbb6e.0308041853.587f7ee7@posting.google.com...
> > > > > Paul,
> > > > >
> > > > > Thanks your help, but I can't get your meaning... what should I
need
> > to
> > do?
> > > > >
> > > > > Jeffery.
> > > > >
> > > > >
> > > > >
> > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
> > message
> > news:<eRh75LqWDHA.3232@tk2msftngp13.phx.gbl>...
> > > > > > Yes. It's wrong in *precisely* the way I suggested
(Open\Command\@
> > value is
> > > > > > wrong). You need to put quotation marks around the %1 or any
path
> > with
> > a
> > > > > > space in it won't work. The .reg files use the C way of
escaping
> > quote
> > > > > > characters (use \") to insert a quote in a string...
> > > > > >
> > > > > > Paul T.
> > > > > >
> > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > news:acccbb6e.0307311753.f35093@posting.google.com...
> > > > > > > Hi
> > > > > > >
> > > > > > > any wrong of my setting?
> > > > > > >
> > > > > > > [HKEY_CLASSES_ROOT\.cab]
> > > > > > > @="cabfile"
> > > > > > >
> > > > > > > [HKEY_CLASSES_ROOT\cabfile]
> > > > > > > @="CAB File"
> > > > > > >
> > > > > > > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > > > > > > @="\\Windows\\wceload.exe,-101"
> > > > > > >
> > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell]
> > > > > > >
> > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> > > > > > >
> > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > > > > @="\\Windows\\wceload.exe %1"
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Regards,
> > > > > > > Jeffery
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote
in
> > message
> > > > > > >
> > > > > > > news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> > > > > > > > My guess would be that the registry entries associating the
CAB
> > extension
> > > > > > > > with wceload.exe are wrong. Maybe you are running the CAB
from
> > a
> > Storage
> > > > > > > > Card and there's no quotes around the filename in the
> > association,
> > etc.
> > > > > > > >
> > > > > > > > Paul T.
> > > > > > > >
> > > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > > news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > > > > > > > > I found the wince 3.0 can't run any CAB file to install?
> > > > > > > > >
> > > > > > > > > When I double click a *.cab file to install it, it always
pop
> > up a
> > > > > > > > > windows "Double click CAB file to install".
> > > > > > > > >
> > > > > > > > > What's the problem?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > Jeffery



Re: Why can't run *.cab file in wince 3.0 by Paul

Paul
Fri Aug 15 13:30:45 CDT 2003

I don't see any problems there (you don't have to have the empty [] items to
create parent keys, though). Try running wceload from the Run... item on
the Start menu, entering everything just as you expect it to be when that
association is invoked:

\Windows\wceload.exe "<whatever the full path to the cab file is>"

and see what happens.

Paul T.

"Jeffery" <jeffery.leung@wongswec.com> wrote in message
news:acccbb6e.0308081730.5470e3a@posting.google.com...
> Hi Paul, wceload.exe is existed and the reg. is like this:
>
> [HKEY_CLASSES_ROOT\.cab]
> @="cabfile"
>
> [HKEY_CLASSES_ROOT\cabfile]
> @="CAB File"
>
> [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> @="\\Windows\\wceload.exe,-101"
>
> [HKEY_CLASSES_ROOT\cabfile\Shell]
>
> [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
>
> [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> @="\\Windows\\wceload.exe \"%1\""
>
>
>
> "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
news:<O7pZcwPXDHA.1620@TK2MSFTNGP12.phx.gbl>...
> > You made some sort of a mistake in your modifications. When the
registry
> > entry is correct, you don't have that problem. Post it to the list
again or
> > view it via the Remote Registry Editor and make sure that there are "
around
> > the %1 in the command line for wceload.exe. I guess you should verify
that
> > wceload.exe is *there*, too, of course.
> >
> > Paul T.
> >
> > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > news:acccbb6e.0308062304.57bd52ad@posting.google.com...
> > > Paul, what do you mean? I have modified the registry but it still does
not
> > work.
> > >
> > >
> > >
> > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
message
> > news:<ein67NDXDHA.2592@TK2MSFTNGP09.phx.gbl>...
> > > > Your entries are still wrong, then...
> > > >
> > > > Paul T.
> > > >
> > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > news:acccbb6e.0308052145.917a9bd@posting.google.com...
> > > > > But why I doulbe click a cab file under \windows\ still can't
work..
> > it
> > shows
> > > > > "Double click CAB file to install".
> > > > >
> > > > > Jeffery
> > > > >
> > > > >
> > > > > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in
message
> > news:<uNnmnf1WDHA.1812@TK2MSFTNGP11.phx.gbl>...
> > > > > > Paul's point is that your registry interprets tapping a CAB file
as
> > this:
> > > > > >
> > > > > > \Windows\wceload.exe \mycabfilepath\mycabfile.cab
> > > > > >
> > > > > > If the path to your CAB file has a space in it, like this:
> > > > > >
> > > > > > \Program files\mycabfile.cab
> > > > > >
> > > > > > Then wceload thinks the first command line parameter is just
> > "\Program"
> > and
> > > > > > it ignores "files\mycabfile.cab". Since it can't find any cab
file
> > named
> > > > > > "\Program" it shows an error. To fix this, you must either run
the
> > CAB
> > file
> > > > > > from a directory with no spaces in the fully qualified path (and
the
> > cab
> > > > > > file name can have no spaces) or you must fix your registry
entry so
> > it
> > > > > > looks something like this:
> > > > > >
> > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > > > @="\\Windows\\wceload.exe \"%1\""
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Chris Tacke, eMVP
> > > > > > Advisory Board Member
> > > > > > www.OpenNETCF.org
> > > > > > ---
> > > > > > Windows CE Product Manager
> > > > > > Applied Data Systems
> > > > > > www.applieddata.net
> > > > > >
> > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > news:acccbb6e.0308041853.587f7ee7@posting.google.com...
> > > > > > > Paul,
> > > > > > >
> > > > > > > Thanks your help, but I can't get your meaning... what should
I
> > need
> > > > to
> > > > do?
> > > > > > >
> > > > > > > Jeffery.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote
in
> > > > message
> > > > news:<eRh75LqWDHA.3232@tk2msftngp13.phx.gbl>...
> > > > > > > > Yes. It's wrong in *precisely* the way I suggested
> > (Open\Command\@
> > value is
> > > > > > > > wrong). You need to put quotation marks around the %1 or
any
> > path
> > > > with
> > > > a
> > > > > > > > space in it won't work. The .reg files use the C way of
> > escaping
> > quote
> > > > > > > > characters (use \") to insert a quote in a string...
> > > > > > > >
> > > > > > > > Paul T.
> > > > > > > >
> > > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > > news:acccbb6e.0307311753.f35093@posting.google.com...
> > > > > > > > > Hi
> > > > > > > > >
> > > > > > > > > any wrong of my setting?
> > > > > > > > >
> > > > > > > > > [HKEY_CLASSES_ROOT\.cab]
> > > > > > > > > @="cabfile"
> > > > > > > > >
> > > > > > > > > [HKEY_CLASSES_ROOT\cabfile]
> > > > > > > > > @="CAB File"
> > > > > > > > >
> > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > > > > > > > > @="\\Windows\\wceload.exe,-101"
> > > > > > > > >
> > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell]
> > > > > > > > >
> > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> > > > > > > > >
> > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > > > > > > @="\\Windows\\wceload.exe %1"
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Jeffery
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com>
wrote
> > in
> > message
> > > > > > > > >
> > > > > > > > > news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> > > > > > > > > > My guess would be that the registry entries associating
the
> > CAB
> > extension
> > > > > > > > > > with wceload.exe are wrong. Maybe you are running the
CAB
> > from
> > > > a
> > > > Storage
> > > > > > > > > > Card and there's no quotes around the filename in the
> > > > association,
> > > > etc.
> > > > > > > > > >
> > > > > > > > > > Paul T.
> > > > > > > > > >
> > > > > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > > > > news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > > > > > > > > > > I found the wince 3.0 can't run any CAB file to
install?
> > > > > > > > > > >
> > > > > > > > > > > When I double click a *.cab file to install it, it
always
> > pop
> > up a
> > > > > > > > > > > windows "Double click CAB file to install".
> > > > > > > > > > >
> > > > > > > > > > > What's the problem?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Jeffery



Re: Why can't run *.cab file in wince 3.0 by Paul

Paul
Tue Aug 19 12:26:45 CDT 2003

I don't know what to tell you. I just verified that our association, which
is virtually identical to yours, works just fine, runs the program, which
can extract the files from a properly-formatted cabinet. Is there any
chance that the .cab file is not a valid cabinet file for the version of
Windows CE or the processor in the device?

Paul T.

"Jeffery" <jeffery.leung@wongswec.com> wrote in message
news:acccbb6e.0308190002.51e4388e@posting.google.com...
> A message box is shown "Double click CAB file to install".
>
> "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
news:<On3RVt1YDHA.1280@tk2msftngp13.phx.gbl>...
> > I don't see any problems there (you don't have to have the empty []
items to
> > create parent keys, though). Try running wceload from the Run... item
on
> > the Start menu, entering everything just as you expect it to be when
that
> > association is invoked:
> >
> > \Windows\wceload.exe "<whatever the full path to the cab file is>"
> >
> > and see what happens.
> >
> > Paul T.
> >
> > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > news:acccbb6e.0308081730.5470e3a@posting.google.com...
> > > Hi Paul, wceload.exe is existed and the reg. is like this:
> > >
> > > [HKEY_CLASSES_ROOT\.cab]
> > > @="cabfile"
> > >
> > > [HKEY_CLASSES_ROOT\cabfile]
> > > @="CAB File"
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > > @="\\Windows\\wceload.exe,-101"
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\Shell]
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> > >
> > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > @="\\Windows\\wceload.exe \"%1\""
> > >
> > >
> > >
> > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
message
> > news:<O7pZcwPXDHA.1620@TK2MSFTNGP12.phx.gbl>...
> > > > You made some sort of a mistake in your modifications. When the
> > registry
> > > > entry is correct, you don't have that problem. Post it to the list
> > again or
> > > > view it via the Remote Registry Editor and make sure that there are
"
> > around
> > > > the %1 in the command line for wceload.exe. I guess you should
verify
> > that
> > > > wceload.exe is *there*, too, of course.
> > > >
> > > > Paul T.
> > > >
> > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > news:acccbb6e.0308062304.57bd52ad@posting.google.com...
> > > > > Paul, what do you mean? I have modified the registry but it still
does
> > not
> > work.
> > > > >
> > > > >
> > > > >
> > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
> > message
> > news:<ein67NDXDHA.2592@TK2MSFTNGP09.phx.gbl>...
> > > > > > Your entries are still wrong, then...
> > > > > >
> > > > > > Paul T.
> > > > > >
> > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > news:acccbb6e.0308052145.917a9bd@posting.google.com...
> > > > > > > But why I doulbe click a cab file under \windows\ still can't
> > work..
> > > > it
> > > > shows
> > > > > > > "Double click CAB file to install".
> > > > > > >
> > > > > > > Jeffery
> > > > > > >
> > > > > > >
> > > > > > > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in
> > message
> > news:<uNnmnf1WDHA.1812@TK2MSFTNGP11.phx.gbl>...
> > > > > > > > Paul's point is that your registry interprets tapping a CAB
file
> > as
> > this:
> > > > > > > >
> > > > > > > > \Windows\wceload.exe \mycabfilepath\mycabfile.cab
> > > > > > > >
> > > > > > > > If the path to your CAB file has a space in it, like this:
> > > > > > > >
> > > > > > > > \Program files\mycabfile.cab
> > > > > > > >
> > > > > > > > Then wceload thinks the first command line parameter is just
> > > > "\Program"
> > > > and
> > > > > > > > it ignores "files\mycabfile.cab". Since it can't find any
cab
> > file
> > named
> > > > > > > > "\Program" it shows an error. To fix this, you must either
run
> > the
> > > > CAB
> > > > file
> > > > > > > > from a directory with no spaces in the fully qualified path
(and
> > the
> > cab
> > > > > > > > file name can have no spaces) or you must fix your registry
> > entry so
> > it
> > > > > > > > looks something like this:
> > > > > > > >
> > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > > > > > @="\\Windows\\wceload.exe \"%1\""
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Chris Tacke, eMVP
> > > > > > > > Advisory Board Member
> > > > > > > > www.OpenNETCF.org
> > > > > > > > ---
> > > > > > > > Windows CE Product Manager
> > > > > > > > Applied Data Systems
> > > > > > > > www.applieddata.net
> > > > > > > >
> > > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > > news:acccbb6e.0308041853.587f7ee7@posting.google.com...
> > > > > > > > > Paul,
> > > > > > > > >
> > > > > > > > > Thanks your help, but I can't get your meaning... what
should
> > I
> > need
> > > > > > to
> > > > > > do?
> > > > > > > > >
> > > > > > > > > Jeffery.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com>
wrote
> > in
> > > > > > message
> > > > > > news:<eRh75LqWDHA.3232@tk2msftngp13.phx.gbl>...
> > > > > > > > > > Yes. It's wrong in *precisely* the way I suggested
> > > > (Open\Command\@
> > > > value is
> > > > > > > > > > wrong). You need to put quotation marks around the %1
or
> > any
> > path
> > > > > > with
> > > > > > a
> > > > > > > > > > space in it won't work. The .reg files use the C way of
> > > > escaping
> > > > quote
> > > > > > > > > > characters (use \") to insert a quote in a string...
> > > > > > > > > >
> > > > > > > > > > Paul T.
> > > > > > > > > >
> > > > > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > > > > news:acccbb6e.0307311753.f35093@posting.google.com...
> > > > > > > > > > > Hi
> > > > > > > > > > >
> > > > > > > > > > > any wrong of my setting?
> > > > > > > > > > >
> > > > > > > > > > > [HKEY_CLASSES_ROOT\.cab]
> > > > > > > > > > > @="cabfile"
> > > > > > > > > > >
> > > > > > > > > > > [HKEY_CLASSES_ROOT\cabfile]
> > > > > > > > > > > @="CAB File"
> > > > > > > > > > >
> > > > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > > > > > > > > > > @="\\Windows\\wceload.exe,-101"
> > > > > > > > > > >
> > > > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell]
> > > > > > > > > > >
> > > > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> > > > > > > > > > >
> > > > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > > > > > > > > @="\\Windows\\wceload.exe %1"
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Regards,
> > > > > > > > > > > Jeffery
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com>
> > wrote
> > > > in
> > > > message
> > > > > > > > > > >
> > > > > > > > > > > news:<eof4lc3VDHA.2156@TK2MSFTNGP11.phx.gbl>...
> > > > > > > > > > > > My guess would be that the registry entries
associating
> > the
> > > > CAB
> > > > extension
> > > > > > > > > > > > with wceload.exe are wrong. Maybe you are running
the
> > CAB
> > from
> > > > > > a
> > > > > > Storage
> > > > > > > > > > > > Card and there's no quotes around the filename in
the
> > > > > > association,
> > > > > > etc.
> > > > > > > > > > > >
> > > > > > > > > > > > Paul T.
> > > > > > > > > > > >
> > > > > > > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in
message
> > > > > > > > > > > >
news:acccbb6e.0307302316.7cb1a248@posting.google.com...
> > > > > > > > > > > > > I found the wince 3.0 can't run any CAB file to
> > install?
> > > > > > > > > > > > >
> > > > > > > > > > > > > When I double click a *.cab file to install it, it
> > always
> > > > pop
> > > > up a
> > > > > > > > > > > > > windows "Double click CAB file to install".
> > > > > > > > > > > > >
> > > > > > > > > > > > > What's the problem?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > Jeffery



Re: Why can't run *.cab file in wince 3.0 by Paul

Paul
Tue Aug 19 12:32:00 CDT 2003

Do you have an entry like this in the registry (reginit.ini)?

-----

[HKEY_LOCAL_MACHINE\Software\Apps\Microsoft Application Installer]
"fAskOptions"=dword:0
"fAskDest"=dword:1
"nDynamicDelete"=dword:2

-----

Paul T.

"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
news:eRngHcnZDHA.2284@TK2MSFTNGP12.phx.gbl...
> I don't know what to tell you. I just verified that our association,
which
> is virtually identical to yours, works just fine, runs the program, which
> can extract the files from a properly-formatted cabinet. Is there any
> chance that the .cab file is not a valid cabinet file for the version of
> Windows CE or the processor in the device?
>
> Paul T.
>
> "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> news:acccbb6e.0308190002.51e4388e@posting.google.com...
> > A message box is shown "Double click CAB file to install".
> >
> > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in message
> news:<On3RVt1YDHA.1280@tk2msftngp13.phx.gbl>...
> > > I don't see any problems there (you don't have to have the empty []
> items to
> > > create parent keys, though). Try running wceload from the Run... item
> on
> > > the Start menu, entering everything just as you expect it to be when
> that
> > > association is invoked:
> > >
> > > \Windows\wceload.exe "<whatever the full path to the cab file is>"
> > >
> > > and see what happens.
> > >
> > > Paul T.
> > >
> > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > news:acccbb6e.0308081730.5470e3a@posting.google.com...
> > > > Hi Paul, wceload.exe is existed and the reg. is like this:
> > > >
> > > > [HKEY_CLASSES_ROOT\.cab]
> > > > @="cabfile"
> > > >
> > > > [HKEY_CLASSES_ROOT\cabfile]
> > > > @="CAB File"
> > > >
> > > > [HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
> > > > @="\\Windows\\wceload.exe,-101"
> > > >
> > > > [HKEY_CLASSES_ROOT\cabfile\Shell]
> > > >
> > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open]
> > > >
> > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > @="\\Windows\\wceload.exe \"%1\""
> > > >
> > > >
> > > >
> > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
> message
> > > news:<O7pZcwPXDHA.1620@TK2MSFTNGP12.phx.gbl>...
> > > > > You made some sort of a mistake in your modifications. When the
> > > registry
> > > > > entry is correct, you don't have that problem. Post it to the
list
> > > again or
> > > > > view it via the Remote Registry Editor and make sure that there
are
> "
> > > around
> > > > > the %1 in the command line for wceload.exe. I guess you should
> verify
> > > that
> > > > > wceload.exe is *there*, too, of course.
> > > > >
> > > > > Paul T.
> > > > >
> > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > news:acccbb6e.0308062304.57bd52ad@posting.google.com...
> > > > > > Paul, what do you mean? I have modified the registry but it
still
> does
> > > not
> > > work.
> > > > > >
> > > > > >
> > > > > >
> > > > > > "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument.com> wrote in
> > > message
> > > news:<ein67NDXDHA.2592@TK2MSFTNGP09.phx.gbl>...
> > > > > > > Your entries are still wrong, then...
> > > > > > >
> > > > > > > Paul T.
> > > > > > >
> > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > news:acccbb6e.0308052145.917a9bd@posting.google.com...
> > > > > > > > But why I doulbe click a cab file under \windows\ still
can't
> > > work..
> > > > > it
> > > > > shows
> > > > > > > > "Double click CAB file to install".
> > > > > > > >
> > > > > > > > Jeffery
> > > > > > > >
> > > > > > > >
> > > > > > > > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in
> > > message
> > > news:<uNnmnf1WDHA.1812@TK2MSFTNGP11.phx.gbl>...
> > > > > > > > > Paul's point is that your registry interprets tapping a
CAB
> file
> > > as
> > > this:
> > > > > > > > >
> > > > > > > > > \Windows\wceload.exe \mycabfilepath\mycabfile.cab
> > > > > > > > >
> > > > > > > > > If the path to your CAB file has a space in it, like this:
> > > > > > > > >
> > > > > > > > > \Program files\mycabfile.cab
> > > > > > > > >
> > > > > > > > > Then wceload thinks the first command line parameter is
just
> > > > > "\Program"
> > > > > and
> > > > > > > > > it ignores "files\mycabfile.cab". Since it can't find any
> cab
> > > file
> > > named
> > > > > > > > > "\Program" it shows an error. To fix this, you must
either
> run
> > > the
> > > > > CAB
> > > > > file
> > > > > > > > > from a directory with no spaces in the fully qualified
path
> (and
> > > the
> > > cab
> > > > > > > > > file name can have no spaces) or you must fix your
registry
> > > entry so
> > > it
> > > > > > > > > looks something like this:
> > > > > > > > >
> > > > > > > > > [HKEY_CLASSES_ROOT\cabfile\Shell\Open\Command]
> > > > > > > > > @="\\Windows\\wceload.exe \"%1\""
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Chris Tacke, eMVP
> > > > > > > > > Advisory Board Member
> > > > > > > > > www.OpenNETCF.org
> > > > > > > > > ---
> > > > > > > > > Windows CE Product Manager
> > > > > > > > > Applied Data Systems
> > > > > > > > > www.applieddata.net
> > > > > > > > >
> > > > > > > > > "Jeffery" <jeffery.leung@wongswec.com> wrote in message
> > > > > > > > > news:acccbb6e.0308041853.587f7ee7@posting.google.com...
> > > > > > > > > > Paul,
> > > > > > > > > >
> > > > > > > > > > Thanks your help, but I can't get your meaning... what
> should
> > > I
> > > need
> > > > > > > to
> > > > > > > do?
> > > > > > > > > >
> > > > > > > > > > Jeffery.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >