Solved

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

Posted on 2011-03-09
4
827 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 125 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

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…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

763 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