Previous Topic: AddConfigureRecord--Software Package Was ConfiguredNext Topic: AddInstallRecord--Notify Software Delivery that a Software Package Was Installed


AddDetectedRecord--Notify Software Delivery that a Software Package Was Detected

This command adds a record notifying Software Delivery that a software package has been detected. The installed package has source files available in the Library while the detected one has no such files.

Syntax

AddDetectedRecord item  
                  version 
                  supplier 
                  comment 
                 [uninstall template] 
                 [uninstall file] 
                 [uninstall params] 
                 [target="targetname"]
item

Name of the software package.

version

Version of the software package.

supplier

Name of the supplier.

comment

Your own comments.

uninstall_template

Template type, for example msidetup for MSI packages.

uninstall_file

The name of the uninstall file, for example x.msi for MSI packages.

uninstall_params

Uninstall parameters, for example /u $joid /x productGUID /lemo $rf /qn for MSI packages.
The macro $joid will expand to the job object identifier.
The macro $rf will create a result file to enable view of the output.
The x parameter states that an uninstall should be made.
The qn parameter states that the execution should occur silently, that is, without a user interface.

[target="targetname"]

Specifies whether the command is applicable for the computer unit (default), or any valid or existing user profile units on the same computer. You can specify any target except the following targets:

Example

In the following example:

sd_acmd adddetectedrecord "Product V" "3.1" "Bestseller Inc." "Detection of Product V v3.1" "" "" ""

Software Delivery is communicated that a record for detected software item Product V Version 3.1 should be added. Supplier will list Bestseller Inc. and the comment will be "Detection of Product V v3.1.”

For SXP, PIF, PKG, and RPM packages, if an AddDetectedRecord is issued, and the Item is registered in the software library, the detection record is automatically converted to an installation record with procedure Install Package.