How to know when DUAgent is done processing *.dup file
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
How to know when DUAgent is done processing *.dup file

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System
Author Message
Kevin
Guest





Posted: Thu Dec 30, 2004 1:45 am    Post subject: How to know when DUAgent is done processing *.dup file Reply with quote

My shell has a button click on it to initiate updates. When pressed,
the shell app starts DUAgent,waits a little while, then commits the EWF
and reboots. Right now I use a hardcode timer event for waiting, but
would rather key off of DUAgent being finished. Can I assume that when
the dup gets deleted, the Agent is finished, or is there something better?
kevin
Back to top
KM
Guest





Posted: Thu Dec 30, 2004 2:13 am    Post subject: Re: How to know when DUAgent is done processing *.dup file Reply with quote

Kevin,

Why not issue the reboot from the DUP file itself? (as well as the ewfmgr -commit)
Then you don't need to have any related timers in your shell app.

KM

Quote:
My shell has a button click on it to initiate updates. When pressed, the shell app starts DUAgent,waits a little while, then
commits the EWF and reboots. Right now I use a hardcode timer event for waiting, but would rather key off of DUAgent being
finished. Can I assume that when the dup gets deleted, the Agent is finished, or is there something better?
kevin
Back to top
Kevin
Guest





Posted: Thu Dec 30, 2004 2:31 am    Post subject: Re: How to know when DUAgent is done processing *.dup file Reply with quote

KM wrote:
Quote:
Kevin,

Why not issue the reboot from the DUP file itself? (as well as the ewfmgr -commit)
Then you don't need to have any related timers in your shell app.

to issue the commit from DUA, I need to issue an EXUCUTE , which I have
never gotten to work. May be you see a problem
EXECUTE,,DAYES,,c:\windows\system32\ewfmgr.exe,,c:\windows\system32\ewfmgr.exe
c: -commit,DAYES,,,administrator,,JobPro,,admin,,,,,,
kevin

Quote:

KM


My shell has a button click on it to initiate updates. When pressed, the shell app starts DUAgent,waits a little while, then
commits the EWF and reboots. Right now I use a hardcode timer event for waiting, but would rather key off of DUAgent being
finished. Can I assume that when the dup gets deleted, the Agent is finished, or is there something better?
kevin


Back to top
KM
Guest





Posted: Thu Dec 30, 2004 3:11 am    Post subject: Re: How to know when DUAgent is done processing *.dup file Reply with quote

Kevin,


Quote:
KM wrote:
Kevin,

Why not issue the reboot from the DUP file itself? (as well as the ewfmgr -commit)
Then you don't need to have any related timers in your shell app.

to issue the commit from DUA, I need to issue an EXUCUTE , which I have never gotten to work. May be you see a problem
EXECUTE,,DAYES,,c:\windows\system32\ewfmgr.exe,,c:\windows\system32\ewfmgr.exe
c: -commit,DAYES,,,administrator,,JobPro,,admin,,,,,,
kevin

Did you see this thread:
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/browse_frm/thread/2f7eb54ca20266d3#f9b5c813e62dc9a3 ?

Quote:
My shell has a button click on it to initiate updates. When pressed, the shell app starts DUAgent,waits a little while, then
commits the EWF and reboots. Right now I use a hardcode timer event for waiting, but would rather key off of DUAgent being
finished. Can I assume that when the dup gets deleted, the Agent is finished, or is there something better?
kevin

Anyway, you can have an instruction at the end of the DUP file (e.g., deleling a file or setitng up a registry flag) that will
indicate that the script has been processed.
But launching EWFMGR and reboot from the script would be better. Or, if you fix EXECUTE/EXECUTEPROCESS command in your build, you
could launch another exe file that sets a named kernel object (event, mutex, etc.) to communicate to the shell app.

KM
Back to top
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB