Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How can I determine .NET CF version using (or not using) cgacutil.exe without a popup answer?

Posted on 2011-03-09
4
Medium Priority
?
878 Views
Last Modified: 2013-12-27
Hi,

I want to get the .NET CF version off of several thousand CE 5.0 devices at our remote facilities. Using a tool we have, I can send them all dos-like scripts and have them report back. I want to use cgacutil.exe to get the answer, but instead of reporting to stdout or a file, the utility pops up a message box with the answer(s). Is there a command line option for cgacutil.exe that will let me redirect the output? I can't have all of the devices popping up that window. It would be a support nightmare.

I'm open to other ways to grab the information as well as long as I can execute them on a command line and need no end-user intervention.

Thanks,
Bret
0
Comment
Question by:FOS-Bret
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:hjgode
ID: 35091253
Hello

your code might just check the registry for the noted CF version and pull that: http://bytes.com/topic/net/answers/764450-check-compact-framework-version-registry

Or you go on and write a tool to read version (GetFileVersionInfo()) from mscoree.dll or one other essential CF runtime DLL.
0
 

Author Comment

by:FOS-Bret
ID: 35097740
Thanks, but I really need a way to check without having to deploy an application first. I'd like to do it with a command line utility that already exists on the device. That's why I'm looking at cgacutil.exe. I'd settle for a simple listing of that utility's command line options, but I can't even find that.
0
 
LVL 16

Accepted Solution

by:
hjgode earned 500 total points
ID: 35098220
I am sorry but I fear there is no such cmdline option to have cgacutil or any other existing tool of the standard windows mobile tool set to dump the CF version into a file.

As you wrote your are using a global tool to execute scripts remotely, these mobile management tools most offer a way to read registry values and do something with them (store in file or send to management server). They even provide a way to send down applications and start them remotely.

soti example: http://www.soti.net/mc/help/content/manager/CustomData.htm
wavelink avalanche cannot do so directly and needs a package build with a tool to retrieve reg key.

Are you talking about SOTI, WaveLink or similar remote management tool? It would be easier to help you, if we know the name.

regards

Josef
0
 

Author Closing Comment

by:FOS-Bret
ID: 35098651
We're using a specialized branded version of the SOTI product (Psion Teklogix Mobile Control Manager.) I'll take a look at the documentation you referenced. I'm sure we can get something done there. I was just hoping for a small script type solution. Thanks for your time. I appreciate it.
-Bret
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With Windows Embedded Handheld, called Windows Mobile, Microsoft re-designed the user interface. The Start Icon moved down to the bottom, inside the menu bar area.   If you need to hide the Start Icon and/or the SIP (soft input panel, softwar…
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question