WCELOAD

R

Romain TAILLANDIER

Hi group

I currently have an application that is able to autoreinstall itself by
extracting a cab.
But for my last cab update, i need to soft (or hard) reboot my device AFTER
the cab extraction.

I am sure it is possible but i don't know how.

Is WCELOAD.exe can reboot the pda after extract the cab ?
Is WCELOAD.exe can launch any program after extract the cab ?
MSDN doc don't speak about something like that, but i think it could be.

Can the cab use/launch programs during extraction ?
Can the cab use/launch programs after it have been extracted ?
(by configuring the Inf of the cab during creation of the cab for example
orsomething else)

Is there any registry key i can set using the cab to reboot ?
Is there any registry key i can set using the cab to launch automatically a
program ?

Is it possible a cab can erase registry keys ?
Can i erase critical registry keys to reboot the PDA ?
Can i erase critical registry keys to break any programs that will force a
user to make a manual soft reboot ?

I guess my question seems strange but i have no evil intentions :)
thanks
ROM
 
I

Ilya Tumanov [MS]

Is WCELOAD.exe can reboot the pda after extract the cab ?



WM 5.0 can, but you have no control over it.

Is WCELOAD.exe can launch any program after extract the cab ?



It can launch setup DLL provided by you. You can launch what you need from
setup DLL.

MSDN doc don't speak about something like that, but i think it could be.


http://msdn.microsoft.com/library/d..._Using_Installation_Functions_in_Setupdll.asp



Can the cab use/launch programs during extraction ?
Can the cab use/launch programs after it have been extracted ?



CAB does not do anything; it's just been processed by WCELOAD. See above for
setup DLL you can add.


Is there any registry key i can set using the cab to reboot ?


No.


Is there any registry key i can set using the cab to launch automatically
a program ?


http://msdn.microsoft.com/library/d...ringRegistryFileToRunApplicationAtStartup.asp



Is it possible a cab can erase registry keys ?



Yes, it would remove keys created by itself on uninstall.

Can i erase critical registry keys to reboot the PDA ?
Can i erase critical registry keys to break any programs that will force a
user to make a manual soft reboot ?



No. But you can do whatever from setup DLL. However, if you reboot device
from setup DLL, it would terminate your installation and it will be
incomplete.

On WM 5.0 you might be unable to do some stuff because of security
restrictions.


Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
G

Guest

There is one more problem about it I want to know as below:
If there is a parameter like "/askdest " when running WCELOAD, one "select
installaltion location" dialog will pop up for USER to select the dest path,
and then it will be installed there
How to implement this way by Microsoft?
Have they changed the registry or commanded it with one parameter, or some
other way?
Can you tell me?
 
G

Guest

What I'd like to know is the way to chang the install directory, i.e. the CAB
won't be installed to the path specified by the .inf file
So I can use this way to change the default install way...
 
I

Ilya Tumanov [MS]

There is. If you use "/askdest" option, WCELOAD will substitute standard
%InstallDir% macro with selected folder.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top