/build/static/layout/Breadcrumb_cap_w.png

Check for installed software prior to install

I need to check if the software is already installed prior to installing the software via SCCM 2007. Currently, the software unstalls the software and then partially re-installs the application. I would like to check if the software is already installed on the system prior to the install commencing and if is is installed the software not install. Is there a way to accomplish this?


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Create a condition for this in your task sequence. Choose registry search to look for the previous version in "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" using its product code, if its present use If condition to skip the installation.
Posted by: akki 12 years ago
4th Degree Black Belt
3

As you are using SCCM to deploy your package, you can create a condition for this in your task sequence. 

Choose registry search to look for the previous version in "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" using its product code, if its present use If condition to skip the installation.

This way you can avoid using script or like while deploying as it will cost more overhead during deployment.

I hope this helps you.

Posted by: adilrathore 12 years ago
4th Degree Black Belt
0

Yes you can check the existence of the software by running a wmi query which would give you the installed product and version.

You can also look in the HKLM/Software or HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall hive for the installed product.

One more option would be to check the version of the main executable in the Program Files folder.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ