PC Review


Reply
Thread Tools Rate Thread

CF Deployment

 
 
doug
Guest
Posts: n/a
 
      14th Feb 2004

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?


 
Reply With Quote
 
 
 
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      14th Feb 2004
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.

"doug" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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?
>
>



 
Reply With Quote
 
doug
Guest
Posts: n/a
 
      15th Feb 2004
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

"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>
> "doug" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > 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?
> >
> >

>
>



 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      15th Feb 2004
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.

"doug" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
> "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > 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.
> >
> > "doug" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > >
> > > 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?
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
doug
Guest
Posts: n/a
 
      15th Feb 2004
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 Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
> "doug" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > 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
> >
> > "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > 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.
> > >
> > > "doug" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > >
> > > > 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?
> > > >
> > > >
> > >
> > >

> >
> >

>
>





 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      15th Feb 2004
You can specify multiple ini files on the same command line (separated with
spaces)

CEAppMgr.exe "\MyApp_BW.ini" "\MyApp_CLR.ini"

Refer to
http://msdn.microsoft.com/library/de...pinstall30.asp
for more information.

"doug" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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 Feinman [MVP]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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.
> >
> > "doug" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > 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
> > >
> > > "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > 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.
> > > >
> > > > "doug" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > >
> > > > > 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?
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>
>



 
Reply With Quote
 
Chris Theorin
Guest
Posts: n/a
 
      16th Feb 2004
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?

"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
> "doug" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > 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
> >
> > "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > 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.
> > >
> > > "doug" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > >
> > > > 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?
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      16th Feb 2004
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

"Chris Theorin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?
>
> "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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.
> >
> > "doug" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > 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
> > >
> > > "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > 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.
> > > >
> > > > "doug" <(E-Mail Removed)> wrote in message
> > > > news:(E-Mail Removed)...
> > > > >
> > > > > 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?
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
doug
Guest
Posts: n/a
 
      17th Feb 2004
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

"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> You can specify multiple ini files on the same command line (separated

with
> spaces)
>
> CEAppMgr.exe "\MyApp_BW.ini" "\MyApp_CLR.ini"
>
> Refer to
>

http://msdn.microsoft.com/library/de...pinstall30.asp
> for more information.
>
> "doug" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > 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 Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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.
> > >
> > > "doug" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > 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
> > > >
> > > > "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > > > news:%(E-Mail Removed)...
> > > > > 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.
> > > > >
> > > > > "doug" <(E-Mail Removed)> wrote in message
> > > > > news:(E-Mail Removed)...
> > > > > >
> > > > > > 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?
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >
> >

>
>



 
Reply With Quote
 
Chris Theorin
Guest
Posts: n/a
 
      19th Feb 2004
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

"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
> "Chris Theorin" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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?
> >
> > "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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.
> > >
> > > "doug" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > 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
> > > >
> > > > "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> > > > news:%(E-Mail Removed)...
> > > > > 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.
> > > > >
> > > > > "doug" <(E-Mail Removed)> wrote in message
> > > > > news:(E-Mail Removed)...
> > > > > >
> > > > > > 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?
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Deployment Workbench and Deployment Services RJ Windows Vista Installation 1 2nd Sep 2008 06:48 PM
Micrsoft Deployment and Vista image deployment.... jaredwetmore Windows Vista Installation 1 19th Dec 2007 02:10 PM
FrameWork 2.0 deployment as part of Deployment project Bob Microsoft Dot NET Framework 2 2nd Jun 2006 09:45 PM
clickonce Deployment eroor throgh VPN in local area Deployment is OK emri.mbiemri@gmail.com Microsoft Dot NET Framework 1 17th Apr 2006 04:49 AM
Enterprise Library deployment problem. Why needs to InstallUtil DLLs to the deployment server? If not, Registry Error whould shown. Benny Ng Microsoft ASP .NET 0 3rd Oct 2005 06:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:26 PM.