how to access the information displayed on the Add/Remove programs in windows control

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2009
Posts: 964
Reputation: DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough 
Solved Threads: 205
DdoubleD DdoubleD is offline Offline
Posting Shark

Re: how to access the information displayed on the Add/Remove programs in windows con

 
1
  #11
Sep 11th, 2009
Originally Posted by serkan sendur View Post
please give me some c# code sample even pseudocode.
Those are options for launching a separate appwiz process with the selected option. To launch the process:

  1. Process appwiz = new Process();
  2.  
  3. appwiz.StartInfo.FileName = "control";
  4. appwiz.StartInfo.Arguments = "appwiz.cpl,,0";// change or remove program option
  5.  
  6. appwiz.Start();
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: how to access the information displayed on the Add/Remove programs in windows con

 
0
  #12
Sep 11th, 2009
Thanks Scott, but it seems that it doesnt show all the programs that are installed. I think registry information is not enough or we need to grab some more information from other folders under registry.

Ideas?
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 964
Reputation: DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough 
Solved Threads: 205
DdoubleD DdoubleD is offline Offline
Posting Shark

Re: how to access the information displayed on the Add/Remove programs in windows con

 
0
  #13
Sep 11th, 2009
Sorry, I thought you were interested also in calling the wizard with that option. Information to build that list from the registry is easily obtained on the web, but I could not find any C# API to execute any commands.

Cheers!
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 964
Reputation: DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough 
Solved Threads: 205
DdoubleD DdoubleD is offline Offline
Posting Shark

Re: how to access the information displayed on the Add/Remove programs in windows con

 
0
  #14
Sep 11th, 2009
Originally Posted by serkan sendur View Post
Thanks Scott, but it seems that it doesnt show all the programs that are installed. I think registry information is not enough or we need to grab some more information from other folders under registry.

Ideas?
This may or may not apply in your case, and you may wish to browse your registry to see first. Anyway, I ran into this additional key while browsing this topic and figured I would pass it on:
The [code] appeared to only get about half of the applications that I have installed on my Vista Ultimate 64-bit development box. After some poking around the registry, I discovered that the half that it got were all the 64-bit applications and that the 32-bit applications were hiding under SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: how to access the information displayed on the Add/Remove programs in windows con

 
0
  #15
Sep 11th, 2009
Originally Posted by DdoubleD View Post
Sorry, I thought you were interested also in calling the wizard with that option. Information to build that list from the registry is easily obtained on the web, but I could not find any C# API to execute any commands.

Cheers!
That's fine, i asked for any ideas. i dont prefer one way to another if i dont have enough information about that subject. So i may even go your way. I work asynchronously, sometimes it takes a month for me to mark a thread as solved but for sure i turn to that thread back if i started it.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,410
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 613
Sponsor
sknake's Avatar
sknake sknake is online now Online
.NET Enthusiast

Re: how to access the information displayed on the Add/Remove programs in windows con

 
0
  #16
Sep 11th, 2009
Originally Posted by DdoubleD View Post
This may or may not apply in your case, and you may wish to browse your registry to see first. Anyway, I ran into this additional key while browsing this topic and figured I would pass it on:
I would ++rep you if Daniweb would allow it. I didn't realise it split up 64 bit applications. I live in a 32bit world
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 964
Reputation: DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough 
Solved Threads: 205
DdoubleD DdoubleD is offline Offline
Posting Shark

Re: how to access the information displayed on the Add/Remove programs in windows con

 
0
  #17
Sep 11th, 2009
Originally Posted by sknake View Post
I would ++rep you if Daniweb would allow it. I didn't realise it split up 64 bit applications. I live in a 32bit world
Yea, I'm 32 bit too, but I did notice that Serkan is running Vista in another thread, so maybe it will help. Cheers!
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: how to access the information displayed on the Add/Remove programs in windows con

 
1
  #18
Sep 11th, 2009
Originally Posted by sknake View Post
I would ++rep you if Daniweb would allow it. I didn't realise it split up 64 bit applications. I live in a 32bit world
if you cant ++rep him, you are always welcomed to ++rep me
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 345
Reputation: Diamonddrake is a jewel in the rough Diamonddrake is a jewel in the rough Diamonddrake is a jewel in the rough 
Solved Threads: 44
Diamonddrake's Avatar
Diamonddrake Diamonddrake is offline Offline
Posting Whiz

Re: how to access the information displayed on the Add/Remove programs in windows con

 
2
  #19
Sep 11th, 2009
I would also like to point out that the code sknake posted is a "per machine" list of installed programs, some programs are installed on a "user" level and would not appear in this list.

also most MSI installed applications won't appear in this list either. I am not sure where they are all stored. But this method is no longer considered a solution.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC