Re: Registry Entries to call a Batch file
- From: DSmartDebug <DSmartDebug@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 9 Nov 2006 09:28:02 -0800
Yes, the registry is maintained when the power is cycled.
Could you give me some direction how to create the native code executable
and what it should contain to install the cab file. My understaning is that,
on startup, I always require wceload to install the .cab file. for example
"wceload.exe /noui /delete 0 /nodetect
\FlashDisk\SQLMobile\sqlce30.wce5.x86.cab" How do I implement this in an
executable?
I have created an entry in the Init key which waits for the device manager
and desktop to initialise before calling an executable.
I have approached the board manufacturer and they tell me they cannot
include SQL Mobile in the CE OS image build as it is not supported for the
x86 based platform. They suggest programmatically spawning WCELOAD to install
the .cab file, which I guess is similar to what you are saying but I am
struggling to understand how to implement this.
I thought I could do this with a batch file but the manufacturer tells me
that it is not recommended to try and execute a batch file on startup within
Windows CE. I can run this batch file manually following startup and all is
ok.
Kind Regards,
D Smart
"Paul G. Tobey [eMVP]" wrote:
And the registry is maintained when the power is cycled in this way? If so,.
you could put a native code executable in the Init key in the registry and,
on startup, decide that, yes, this item needs to be installed and do that.
You'd need to be sure that whatever filesystem contains the installer file
is mounted, of course, and you'd need to be sure that any OS services needed
by the install process have started (GWES, window manager, shell, etc.),
too.
It seems to me that, if I were you, I'd contact the device manufacturer and
ask for suggestions. They're going to know the device and its capabilities
a lot better than we will.
Paul T.
"DSmartDebug" <DSmartDebug@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:34BCAEC3-9BBA-43D3-A479-C96D9F9048D3@xxxxxxxxxxxxxxxx
Its a Windows CE 5.0 Device (x86 based). This is a third-party board which
is
supplied with the OS image pre-installed. By 'hard reset', I mean any time
the power is cycled.
"Paul G. Tobey [eMVP]" wrote:
What device and version are you talking about? Every device might be
different and your meaning of "hard reset" is important, too.
Paul T.
"DSmartDebug" <DSmartDebug@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7CAEEAFE-67CC-44AF-88AA-FE8D4619354D@xxxxxxxxxxxxxxxx
I am trying to make SQL Mobile persist following a hard reset.
I have created a batch file to run the cab file but how can I call the
batch
file from start up? The FlashDisk does not have an auto-start
mechanism.
Are
there some registry entries I have to create to achieve this?
Alternatively my batch file exists only to perform the following:-
wceload.exe /noui /delete 0 /nodetect
\FlashDisk\SQLMobile\sqlce30.wce5.x86.cab
Could I use a registry entry to perfrom this?
- Follow-Ups:
- Re: Registry Entries to call a Batch file
- From: Paul G. Tobey [eMVP]
- Re: Registry Entries to call a Batch file
- References:
- Re: Registry Entries to call a Batch file
- From: Paul G. Tobey [eMVP]
- Re: Registry Entries to call a Batch file
- From: Paul G. Tobey [eMVP]
- Re: Registry Entries to call a Batch file
- Prev by Date: Re: Changing the route/routing table
- Next by Date: Re: Registry Entries to call a Batch file
- Previous by thread: Re: Registry Entries to call a Batch file
- Next by thread: Re: Registry Entries to call a Batch file
- Index(es):
Relevant Pages
|