Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hai All


I want to run appwiz.cpl file through c# , the output of this should be in a text file or a datatable . help through c#.
Posted
Comments
Toli Cuturicu 11-Mar-11 12:50pm    
Non-sense.
Sergey Alexandrovich Kryukov 11-Mar-11 21:14pm    
Agree. However, you may find it funny, but I correctly answered to this nonsense, please see :-)
--SA

What exactly do you mean by this? appwiz.cpl is a control panel component to list installed programs; its output is parsed from the registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 11-Mar-11 21:13pm    
That is useful information, my 5. The only little problem is that you're asking a question in your Answer, not answering to OP. But there is an Answer, please see mine.
--SA
Richard MacCutchan 12-Mar-11 3:55am    
I am asking the question for a reason, the OP's question is far from clear as to exactly what he/she wants to do. Your answer makes an assumption that may well be wide of the mark.
Sergey Alexandrovich Kryukov 12-Mar-11 15:01pm    
Sure, I understand. More exactly, the Question makes so little sense that I play formalities.
--SA
The Answer is simple.

You always can run "appwiz.cpl" using System.Diagnostics.Process with C#. There is one little problem: "appwiz.cpl" does not have output. No. Not at all. Not in any sense of this word. Forget it.

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900