CA Client Automation

  • 1.  Detect previous installed VC ++ 2015 (x86) pre-requisite.

    Posted Jan 22, 2018 12:06 PM

    I have a couple of packages, that were built with Visual C++ 2015 (x86) 24210 job. Since then, the version was upgraded to 24212 and 25146 through our imaging process. The main package has multiple install steps and is installed on 4,000 devices.
    Now when the 24210 pre-req job runs, it errors out with MSI error code 1638: “Another version of this product is already installed”.

    Apps do not have an issue with either of newer packages.

    Any thoughts on best practice between options:

    • Run job to create install records for all devices for version 24210.
    • Create a new version of the existing package with the pre-req. removed and then run detect for v 1.1 on all devices with v 1.0.
    • Any other suggestion.


  • 2.  Re: Detect previous installed VC ++ 2015 (x86) pre-requisite.
    Best Answer

    Posted Jan 22, 2018 12:50 PM

    Couple of options here:

     

     

       

    •   If your 24210 version is an MSI, it should have a ‘detect’ procedure in its package if the package was built using the standard MSI packaging methods. You can simply deliver this procedure to all targets. Where the software is installed it will create the installation record for you without actually running any installation procedure. If the software is not installed, the detect procedure exits with an error and the installation record is not created.

       

    •   You can run a generic MSI detect procedure on all your targets. You should be aware though that this will add ALL MSI based software detected on each target as an installed package, creating dummy packages where no matching package already exists.

       

     

    Also, please vote on this idea: View all comments on this idea<https://communities.ca.com/ideas/235738180-software-packages-with-already-installed-detection-options?commentID=233967583#comment-233967583> which requests a built-in method to accomplish this.

     

    Steve McCormick, ITIL

    CA Technologies

    Principal Services Consultant

    Tel: +1-731-676-4223

    Stephen.McCormick@ca.com

    <mailto:Stephen.McCormick@ca.com>