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)
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:
DSM Software Delivery v14.0.1000.194Software DetectorCopyright (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.
Principle Engineer, Software Support
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
Principal Services Consultant
Here is the link to the process I published a few months ago:
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...
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.
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