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"]
Name of the software package.
Version of the software package.
Name of the supplier.
Your own comments.
Template type, for example msidetup for MSI packages.
The name of the uninstall file, for example x.msi for MSI packages.
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.
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.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|