Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

WCELOAD

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Romain TAILLANDIER - 14 Dec 2005 16:44 GMT
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
Ilya Tumanov [MS] - 15 Dec 2005 01:07 GMT
> 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/default.asp?url=/library/en-us/wcesetup/html/_
wcesdk_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/default.asp?url=/library/en-us/wcepb40/html/pb
conConfiguringRegistryFileToRunApplicationAtStartup.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.compactfra
mework?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).

> Hi group
>
[quoted text clipped - 26 lines]
> thanks
> ROM
Romain TAILLANDIER - 15 Dec 2005 09:25 GMT
>> 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.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesetup/html/_
wcesdk_Using_Installation_Functions_in_Setupdll.asp

Ok it seems exactly what i need i guess. !! hehe, i was knowing it was
possible !

just a last question is the Dll could be in C# ?

thank you for your help !
ROM
Ilya Tumanov [MS] - 15 Dec 2005 19:20 GMT
No, it has to be native.

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.compactfra
mework?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).

>>> Is WCELOAD.exe can launch any program after extract the cab ?
>>
[quoted text clipped - 10 lines]
> thank you for your help !
> ROM
Lorica - 25 Dec 2005 08:24 GMT
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?

> Hi group
>
[quoted text clipped - 26 lines]
> thanks
> ROM
Ilya Tumanov [MS] - 27 Dec 2005 18:56 GMT
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.compactfra
mework?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).

> 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
[quoted text clipped - 39 lines]
>> thanks
>> ROM
Lorica - 25 Dec 2005 12:20 GMT
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...

> Hi group
>
[quoted text clipped - 26 lines]
> thanks
> ROM
Lorica - 11 Jan 2006 06:33 GMT
Could I get the install progress precent when installing one CAB?

> Hi group
>
[quoted text clipped - 26 lines]
> thanks
> ROM

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.