Re: Registry Entries to call a Batch file



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?






.



Relevant Pages

  • Re: Registry Entries to call a Batch file
    ... When everything that you need to be ready to do the install is ready, ... call ShellExecuteExto launch the CAB file that you want launched. ... on startup, I always require wceload to install the .cab file. ... I thought I could do this with a batch file but the manufacturer tells me ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Why is it taking Kerio so long to start?
    ... >>>checked the registry but didn't find it there. ... >>>That had no effect so I downloaded PCMag's StartUp Cop ver 1.1 which is ... One of those is for Kerio. ... >uninstall and new install of Kerio. ...
    (comp.security.firewalls)
  • Re: How to customize User accounts on XP
    ... Windows XP should keep users separate by having the startup items in the ... Registry under HKLM-Run. ... install Adobe products or just a pdf reader, they seem to add that to you ... > normal services and startup programs load when logging in as a "normal" ...
    (microsoft.public.windowsxp.customize)
  • Re: startup
    ... still My Documents opens on startup. ... >>I have installed both fixes and checked the registry. ... Still get My Documents on startup. ... > Repair Install. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: error message
    ... > specfied in the registry. ... You have something set to install on Startup. ... This brings up the System Configuration Utility. ...
    (microsoft.public.windowsxp.general)