CF Deployment

  • Thread starter Thread starter doug
  • Start date Start date
D

doug

The CF deployment example in MSDN gets you 50% there. I have managed to get
the additional 3rd party CABs onto the device. How do I execute them
programmatically from the desktop to install them?
 
You can use RAPI to launch \windows\wceload.exe passing it a full path of
the cab as the argument.
Alternatively you could create .ini files for your cabs and launch CeAppMgr
to install it.
 
Alex,

Did you hear the light bulb click on in my head? I will be posting a sample
to the newsgroups for everyone, because I didn't think that it was a very
intuitive process.

Doug
 
So, does that mean my suggestion was helpful or too obscure? <g>
Sorry I was so brief - I was replying between a few household chores.
 
Alex,

Good suggestion, but I am having trouble implementing. I already have a
setup.ini for my application (see attached). I have 3 more cabs to install,
so at first I tried to add them to the line with all of the other cabs...
wrong answer. Next, I tried to add 3 other ini files, one for each cab, and
change the after_install event of the custominstaller.installer.vb to run
each of the other ini files like the first, but that didn't work either.

Thanks for any assistance you can provide.

Doug
 
Alex, the MSDN sample (upgrading via a WebService) is nice... but what if
you want your installer to upgrade the Compact Framework too? I assume your
applet would just need to be written in something other than .NET.

Consuming a WebService in an applet NOT written in .NET; that would be a
great sample to make your MSDN article complete.

Am I missing something or does this seem like a reasonable request?
 
It appears that Microsoft considers upgrading the CF to be an in-cradle
operation. This actually makes sense as it is a "system maintenance"
procedure. Having dealt in the past with an unsuccessful SP2 I'm not sure if
I want user to have an auto-update feature for CF itself. This said, writing
a web service client in eVC using XMLHTTP object is relatively simple. Doing
it with SOAP SDK is more challenging and less fun. If you will be content
with having an XMLHTTP sample, I can do that
 
Alex,

I never did get this to work. What I did do, however, is copy the .cabs to
the \Windows\Startup directory, so that the next time the machine restarts
(user forced), the cab files install. Cheesy, but it will work until MS
comes back with some help.

Doug
 
I'd be interested to look at an eVC sample using XMLHTTP yeah... but
definately don't make this high priority, or even do it, just because I'm
interested in looking at it (: D
 
Back
Top