CA Client Automation

  • 1.  Installed Packages

    Posted Oct 27, 2017 11:32 AM

    Hi

     

    A computer was deleted by error.  When it was recreated, the installed packages came back empty.

     

    Is there a way to recreate the installed packages?

     

    I've use the Scan MSI option, but it doesn't give us the library package installed only what installed on the computer. (Software Detector)

     

    Thanks!



  • 2.  Re: Installed Packages

    Posted Oct 29, 2017 01:20 PM

    Hello. There are a few options here but there is some work required. If you know what packages were installed on the system, you can run a sd_acmd AddInstallRecord command for each package to generate installation records on the agent that will be sent to the DM and populate those records as before. If you do not know what is on the system, then you could create a software detection script containing a list of possible software packages and if matches are found, it will generate installation records for the items it has detected. Software Detection information can be found in the ITCM Software Delivery Admin guide online and the below output gives a basic idea of how it is used:

     

    C:\>sd_swdet.exe

     

    DSM Software Delivery v14.0.1000.194
    Software Detector
    Copyright (c) 2016 CA. All rights reserved.

     

    The script interpretation syntax is:
            sd_swdet <disk drives> <script path> <[script name]*> [</t(race)>]
    The script pre-processing syntax is:
            sd_swdet </p> <script path> [</t(race)>]

     

    Hope this helps.

     

    Thanks,

    Joe Puccio

    Principle Engineer, Software Support

    CA Technologies

    Pucjo01@ca.com

    C:1-631-987-8512



  • 3.  Re: Installed Packages

    Posted Oct 29, 2017 10:16 PM

    I published an alternative method for populating installed packages based on the software inventory results. I only have phone access right now but I can send a link tomorrow. It allows you to populate the package records by creating a relatively simple INI file and is a lot easier to configure than the software detection scripts. It is available on the community if you want to look for it or I can send a link tomorrow.

     

     

     

     

    Steve McCormick, ITIL

    CA Technologies

    Principal Services Consultant

    Tel: +1-731-676-4223

    Stephen.McCormick@ca.com<mailto:Stephen.McCormick@ca.com>



  • 4.  Re: Installed Packages

    Posted Oct 30, 2017 12:47 PM
      |   view attached

    Here is the link to the process  I published a few months ago:

     

    https://communities.ca.com/docs/DOC-231174722-mapping-discovered-software-to-installed-packages

    Attachment(s)

    zip
    ReplaceInst.zip   3 KB 1 version


  • 5.  Re: Installed Packages

    Posted Oct 30, 2017 03:45 PM

    Hi 

     

    I think I'm missing a step somewhere or something...

     

       6. Enter the file contents OR click ‘Load file’ to upload the contents of an external file, and click Next

     

    What contents of file?  

     

    If I don't specify anything the CSV file is empty...

     

     

    Thk!

     



  • 6.  Re: Installed Packages

    Posted Oct 30, 2017 04:04 PM

    The job you are creating in this step creates and maintains the CSV file on the target computer. The step you are on defines what the CSV file contents will be. The CSV file format is described in the Overview section. This file defines how the script ‘maps’ discovered software inventory to SD installed packages. It uses either the software signature ‘techid’ or the heuristic scan name and version data. If these items are found on the target, the SD package is recognized as being installed and the install record is created. You can type or paste the contents for the CSV file into the dialog box in this step, or you can maintain the contents in a file somewhere and click the ‘Load file’ button to load the contents of that file into the job whenever you modify it.

     

    The detail of how to obtain the signature scan or heuristic scan data is described in the two sections following the section of the doc you are reading.

     

     

    Steve McCormick, ITIL

    CA Technologies

    Principal Services Consultant

    Tel: +1-731-676-4223

    Stephen.McCormick@ca.com

    <mailto:Stephen.McCormick@ca.com>

    This is the contents of the CSV file which is to be created. The CSV file is described in the Overview section, and the detail of how to obtain the signature scan or heuristic scan data is described in the two following sections