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?

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.
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

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.

Answered 05/16/2012 by: akki
Fourth Degree Black Belt

Please log in to comment

Answers

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.

Answered 05/16/2012 by: adilrathore
Fourth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity