ok then...
it only gets more complex from here so i hope this first method works for
you. why not try installing the cab via pocket ie...you know, codebase blah,
blah, blah. if that works, then you've used an already installed application
to install what you want...and you can still manage the cab versions in one
location - the server. this also allows you to add/remove selectable
applications w/o having to recompile and redistribute you proposed installer
application. give the user a url w/ checkboxes of the available apps to
install...that page posts the app information to an asp page that
dynamically builds the pointers to each cab file, ex.:
<OBJECT style="visibility:hidden">
CODEBASE="url/to/your/target.cab#Version=1,0,0,0"
CLASSID="CLSID:WHATEVERCLASSIDYOUHAVEFORYOURCODEBA SE"
</OBJECT>
here's a link to help you out w/ a couple of approaches...in case you want
to use a unc in lieu of a url/web page.
http://www.devguy.com/fp/XML/installMSXML4ViaCab.htm
hth,
steve
<anonymous@discussions.microsoft.com> wrote in message
news:094601c397cf$7370c2a0$a601280a@phx.gbl...[color=blue]
> The cab file actually exists on the Intranet. All I need
> to do is to install it on the Pocket PC. I want to be
> able to do it from the pokcet PC.The Pocket PCs will be
> shipped to the filed with my app installed on them. The
> user picks the location based on which their access point
> will be set. My Question is, how can I execute a remote
> CAB file from the pocket PC. My job would be much easier
> if I could just do Process.start, but that does not work
> on the Compact Framework :-(
>
> -Krishnan[color=green]
> >-----Original Message-----
> >you're welcome.
> >
> >where's the location of the cab file? on the pocket pc[/color]
> or on the desktop? if[color=green]
> >it's going to be on the pocket pc, then you're wasting[/color]
> valuable memory to[color=green]
> >house cabs that may/not ever be used not to mention the[/color]
> annoyance of having[color=green]
> >to cancel its automatic installation attempt when you[/color]
> move the cab from the[color=green]
> >desktop to the pocket pc. if you are pulling the cab[/color]
> from the desktop to the[color=green]
> >pocket pc, you are adding a lot of complications...and[/color]
> again, wasting[color=green]
> >valuable memory by having an application installed on[/color]
> the pocket pc whose[color=green]
> >only purpose is to choose what other applications s/b[/color]
> installed.[color=green]
> >
> >imo, you should push all applications from the desktop[/color]
> to the[color=green]
> >hand-held...anything else, is a waste of effort and[/color]
> memory.[color=green]
> >
> >but that's my $0.02 usd.
> >
> >hth,
> >
> >steve
> >
> >
> ><anonymous@discussions.microsoft.com> wrote in message
> >news:0c1d01c394ac$c7f95d80$a301280a@phx.gbl...[color=darkred]
> >> Thanks a lot. Actually All I want to do is invoke[/color][/color]
> another[color=green][color=darkred]
> >> CAB from a Pocket PC app. The POCKET PC App that I'm
> >> developing would get some data from the user and[/color][/color]
> kickoff[color=green][color=darkred]
> >> another CAB file. I think I can customize the code you
> >> provided to do the same.
> >>
> >> Thanks again.
> >>
> >> >-----Original Message-----
> >> >a final thought...you'd have been better off posting
> >> this question in the
> >> >microsoft.public.pocketpc.developer newsgroup. you got
> >> lucky here...i'm not
> >> >the only ppc developer that lurks about in this[/color][/color]
> ng...but[color=green][color=darkred]
> >> we certainly are in
> >> >the single digits. your odds of getting the answer i
> >> posted here are about
> >> >the same a winning the lottery.
> >> >
> >> >i left out details on some things...i assume you've[/color][/color]
> made[color=green][color=darkred]
> >> setup packages
> >> >before...thought i'd save space in the response by
> >> omitting them. if you
> >> >have more questions, go ahead and continue this[/color][/color]
> thread.[color=green][color=darkred]
> >> otherwise, this
> >> >would have benefited more people had it be posted to a
> >> more suitable ng.
> >> >post new pocket pc questions to the appropriate[/color][/color]
> audience.[color=green][color=darkred]
> >> >
> >> >hth,
> >> >
> >> >steve
> >> >
> >> >
> >> >"Krishnan Margabandhu"[/color][/color]
> <Krishnan.Margabandhu@target.com>[color=green][color=darkred]
> >> wrote in message
> >> >news:2cecf01c39421$f61615e0$a601280a@phx.gbl...
> >> >> I'm writing a Pocket PC app that will run when a[/color][/color]
> device[color=green][color=darkred]
> >> >> is first powered on. I want this program to get some
> >> data
> >> >> from the user and invoke a CAB file to install a
> >> software
> >> >> on the device. How do I invoke a CAB file from the[/color][/color]
> VB[color=green][color=darkred]
> >> app?
> >> >>
> >> >> Thanks
> >> >
> >> >
> >> >.
> >> >[/color]
> >
> >
> >.
> >[/color][/color]