Re: Re-install applications
From: Daniel Moth (dmoth74_at_hotmail.com)
Date: 12/16/04
- Next message: Daniel Moth: "Re: pocket ie auto-state detection"
- Previous message: Daniel Moth: "Re: ContextMenu"
- In reply to: r_z_aret_at_pen_fact.com: "Re: Re-install applications"
- Next in thread: David Gonzales [MS]: "Re: Re-install applications"
- Reply: David Gonzales [MS]: "Re: Re-install applications"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Dec 2004 00:50:34 -0000
> Windows CE has supported "autorun" since version 3.0. And autorun will
> run programs whenever a device reboots (hard or soft).
> At first, autorun worked with storage cards (CF, SD Cards, ...). It
> would automatically run any executable called autorun.exe found in a
I think it is worth mentioning that autorun is a PPC feature that could
optionally be added by an OEM to a CE 4.2 device onwards. In fact life
becomes much more complicated if the CE device in question does not use
aygshell but uses the standard shell instead.
In light of the above, I would not plainly describe the autorun.exe approach
as a CE feature. I'd love to be proven wrong on this.
Cheers
Daniel
-- http://www.danielmoth.com/Blog/ <r_z_aret@pen_fact.com> wrote in message news:9tl0s0hvlonuigigmpgvm3pl6nqqj78qn0@4ax.com... > On Tue, 14 Dec 2004 21:34:06 +0100, "Marc Claasen" > <m.claasen@planet.nl> wrote: > >>Hi there, >> >>we are developing an application that need be 'nurse-proof'. >>That is, if the battery was completely empty, we need to re-install >>it automatically of from a SD card or so. >> >>Can anyone help me with a suggestion on how to do this? >>We know that Symbol PDT devices can do this, but we use QTEK 2020 >>or HP devices with PPC2003 running. >> >>Any help would be appreciated. > > Windows CE has supported "autorun" since version 3.0. And autorun will > run programs whenever a device reboots (hard or soft). > > At first, autorun worked with storage cards (CF, SD Cards, ...). It > would automatically run any executable called autorun.exe found in a > CPU-specific folder on a storage card. The names of these CPU-specific > folders were the same as the names for the CPU-specific sections in a > inf file used when building CAB files (2577 for ARM, etc.). > > More recently, autorun has been extended to work with persistent > memory, which survives reboots and battery drainage. I believe it has > been called IPSM (Intel Persistent Storage Memory?), but the name was > changed to Storage for Pocket PC 2003. For more info, see item e (very > near the bottom) in a 21 Sep 2004 contribution from Robert Levy to a > thread called SDK 2003 Vs SDK 2002 in > microsoft.public.smartphone.developer > > I'm pretty sure autorun will ignore storage cards if persistent memory > exists, but haven't had a chance to really check. Each of the two > devices I've seen with persistent memory included a file called > autorun.ini in that persistent memory. And each of these seemed to > effectively specify commands. I've been able to get each to work, but > am not ready to generalize. The syntax seems rather different for my > only two examples. > > The persistent memory on one device is way too small to use directly > for backup storage. I'm wary of using persistent memory on the other > because I'm not quite sure about size or how many write cycles such > memory can survive. Thus, I have a copy of my backup program in > persistent storage, but all it does is find the main copy on a storage > card, which does all the work. > > Finding files on a storage card is mostly the same as for primary > storage. Except that the name of the root folder can change. It will > be some variant of "Storage Card", "Storage Card 2", ..., depending on > how many cards you have installed, and the order in which you've > installed them. I'm pretty sure I've seen the same card with multiple > names because I've inserted and removed it a few times. So you really > need to enumerate through all variations. > > All of this involves some tedious coding, but no deep theory. You can > probably tell from the above that I am still learning. > > For more info, I suggest using google > (http://groups.google.com/advanced_group_search) to look up > autorun > in this newsgroup > > >> >>Kind regards, >> >>Marc Claasen >> > > ----------------------------------------- > To reply to me, remove the underscores (_) from my email address (and > please indicate which newsgroup and message). > > Robert E. Zaret, eMVP > PenFact, Inc. > 500 Harrison Ave., Suite 3R > Boston, MA 02118 > www.penfact.com
- Next message: Daniel Moth: "Re: pocket ie auto-state detection"
- Previous message: Daniel Moth: "Re: ContextMenu"
- In reply to: r_z_aret_at_pen_fact.com: "Re: Re-install applications"
- Next in thread: David Gonzales [MS]: "Re: Re-install applications"
- Reply: David Gonzales [MS]: "Re: Re-install applications"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|