Software Management Group

 View Only
  • 1.  Managed Software delivery with version check

    Posted Nov 04, 2014 10:01 AM

    We are trying to deploy software, but need to know if a version check can be done in the managed delivery.  Here is the scenario.

    We have an older version of the software installed and pointed to a soon to be defunct server.  We need the managed delivery to remove this software completely and install the new version pointing to the new server.  We will have to leave the task on for computers that are off the network, so we don't need it to continually run and computers that already have the new software.  Maybe an MD5 check where if it's this version don't run the task or something?  Any help would be greatly appreciated.



  • 2.  RE: Managed Software delivery with version check

    Posted Nov 04, 2014 12:00 PM

    You could use applicability checks to look for the reg key that specifies the old server.  If that reg key points to the old server, the software uninstall then install runs, otherwise its not applicable and does not run.  Does that make sense?  You could also create a filter that includes only the machines that have the old server name, then once the server name is changed and the new install is completed, it will no longer be targeted and the policy will disappear from the machine.

     

    Is that what you were looking for?



  • 3.  RE: Managed Software delivery with version check

    Posted Nov 04, 2014 12:49 PM
    Here's how I'd do it. Find the Software Component for the old version, right click > Assign Type > Software Release. Then Edit that Software Release to include a Default Uninstall command line (with a Package if it needs it) and add a Detection Rule for that version. I use one of the following for detection rules as available in order of preference: 1. MSI Product Code 2. "DisplayVersion" Registry Key in Uninstall 3. File version of the main executable file Then create a new Software Resource for the new version, unless you already have it in your environment then you can do the same conversion as you did for the old version. Then add the Package, Default Install Command Line and Detection Rule similar to the above. Then create a new Managed Software Delivery policy, add the old version uninstall first then the new version install. Have a schedule to check at machine startup. Then the uninstall and install will only run if required.