Weird problem with DUA

  • Thread starter Thread starter Heidi Linda
  • Start date Start date
H

Heidi Linda

I've googled a bit and found nothing on this.
I'm looking at DUA for the first time today and it's not launching my apps
properly. Working through the exercises in Sean Liming's book, I tried the
script for starting the calculator. It does start it, but not properly. All
I get is a calculator icon and part of the title bar (blank, no buttons to
minimise, close etc). It shows in the task bar. If another app is launched
and goes over the top of it, an image of part of that window will 'stick'
where the calculator app is. I can launch the calculator fine manually. Much
the same happens with the 'reggie' app from the book. Any suggestions?
 
Heidi,

Could you post the script or send it directly to my email ?
What polling mechanism are you using to run DUA scripts ?

~n


Heidi said:
I've googled a bit and found nothing on this.
I'm looking at DUA for the first time today and it's not launching my apps
properly. Working through the exercises in Sean Liming's book, I tried the
script for starting the calculator. It does start it, but not properly. All
I get is a calculator icon and part of the title bar (blank, no buttons to
minimise, close etc). It shows in the task bar. If another app is launched
and goes over the top of it, an image of part of that window will 'stick'
where the calculator app is. I can launch the calculator fine manually. Much
the same happens with the 'reggie' app from the book. Any
suggestions?
 
KM, this may be because I've not yet had any coffee, but I don't understand.
The first script I'm using is from Sean's book,
15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default
 
Heidi,

The EXECUTEPROCESS command is described in the documentation:
http://msdn.microsoft.com/library/en-us/xpehelp/html/wesamEXECUTEPROCESS.asp

Give the following sample command a try first:
EXECUTEPROCESS,,,,c:\windows\system32\cmd.exe,,c:\windows\system32\cmd.exe /k set,DAYES,60000,,DASEC_REV

If works, change it to the calc.exe. (you can remove "c:\windows\system32\cmd.exe /k set").

If not, you have problems with the user accounts under which the DUA is started and you are launching the command.
DUA Logging should help you to narrow this down.

KM

PS. For your own debugging, I'd recommend you using symbolyc constant that are defined for DUA.
 
Heidi,

The decription on page 336 and 337 discuss the values set. Were a value
isn't set the default is applied. Are you running this in SP1 or SP2? Are
you using TaskManager Shell or Explorer Shell?

Regards,

Sean Liming (eMVP)
Managing Director
SJJ Embedded Micro Solutions

Author of
Windows XP Embedded Supplemental Toolkit Covering XPe SP2
Windows XP Embedded Advanced
Windows NT Embedded Step-by-Step

All available at www.sjjmicro.com

XPe Center website: www.seanliming.com

To learn more about Windows XP Embedded, come to MEDC 2005 in Las Vegas!
www.medc2005.com
 
KM/Heidi,

I dont see any chances of login permissions issues over
here,because the app is able ot open ...The problem is that it is not
opening properly.It makes me seriously think whether there could be a
problem with the app itself getting up.As KM said,it wouldbe a good
idea to try a sample command and see if that works.. Did the script
get stuck for some reason !! just a thought.

Regards,
Kesavan
 
Back
Top