Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I was wondering if there was anyway using the .net framework 4 with vb.net to find out if an specific application is installed on the PC. i have very limited programming experiences but i am currently desktop rollout and i have find out which PC have certain software on them before formatting them.

I have found some useful links here on Codeproject such as (How to list all Programs installed on Computer and Uninstall Them [^]

but is there any easier method using vb.net and also to locate a certain application such as "Cisco VPN Client"

any help or suggestion would be appericate

Kind Regards
Posted

Can you just see if the exe or dll file exists?



if file.exists(pathtoexecuteable)then
end if
 
Share this answer
 
Comments
SIFNOk 24-Jan-12 21:11pm    
Indeeed. i totally didnt think of that ;) cheeers
LaxmikantYadav 24-Jan-12 23:13pm    
What if pathtoexecuteable is not fixed at all the time ?
You can use WMI with Win32_Product class to get all the information about installed software on the system.
 
Share this answer
 

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