SCCM Installation based on two versions of software installed
I need to deploy using SCCM a software which is an upgrade. However there are users who use two old versions.I need to use a script that will embed the command line of the upgrade and also check if either of the two versions is present. If x is present then it should upgrade by skipping Y (which would not be installed) and vice versa. I normally the use the below line after running the msiexec/x in case the software is not present for any uninstallation
If (Err.Number = 0) OR (Err.Number = 2) OR (Err.Number = 1605) Then
Set WshShell = Nothing
Community Chosen Answer
Thanks. I could have created two advertisments pointing to two AD groups for the old versions. However the client is isnsiting on a single advertisement.Would it be possible to create a vbscript that would check the versions of the software and skip accordingly and then install the upgrade ? I will put the source files for the three softwares in a single package and then run the script.