Re: Re-install applications

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Daniel Moth (dmoth74_at_hotmail.com)
Date: 12/16/04


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


Relevant Pages

  • Re: Re-install applications
    ... Windows CE has supported "autorun" since version 3.0. ... CPU-specific folder on a storage card. ... I'm pretty sure autorun will ignore storage cards if persistent memory ...
    (microsoft.public.pocketpc.developer)
  • Re: Autorun.exe not being invoked on Toshiba e400/e405
    ... >Created an autorun.exe and put it under 2577 folder of the SD Card. ... If either Toshiba model has built-in persistent storage, ... I _think_ devices with built-in storage recognize autorun ...
    (microsoft.public.pocketpc.developer)
  • Re: [semi-OT] USB floppy?
    ... I've not had any trouble myself, but I've only used four card readers ... storage model now, supported by everyone and their electronic dog. ... then schedule all your backups to it; ... backups of the whole thing to a plain disk or three somewhere else, ...
    (uk.comp.sys.mac)
  • Re: Speaking of rumors...
    ... The Octal card can have up to 5TB of SSD on the card. ... But I thought they'd be brilliant for intermediate storage such as temp dbspaces. ... ALL parts of the SSDs with data on it -- usual usage is ... but it is at least 4 times faster in seq writes, 6-8 times faster in seq reads ...
    (comp.databases.informix)
  • Re: Choosing a Camera
    ... The amount of storage is up to you, and how much storage you want/can afford to buy. ... I currently have a 1GB and a 512MB SD card for my Nikon, and in total those cards generally hold around 375 photos in high quality JPG at 7.1 MP. ... As far as uploading photos to home via an internet cafe, that depends on the cafe and its capabilities. ... Failing that, if the cafe will let you hook up to a USB port, then you can hook your camera up directly. ...
    (rec.photo.digital)