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?
Answers (2)
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.
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.
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.