Previous Topic: sd_acmd---Agent Administrative CommandsNext Topic: AddConfigureRecord--Software Package Was Configured


AddActivateRecord--Software Package Was Activated

This command adds a record notifying Software Delivery that a software package has been activated.

Syntax

AddActivateRecord item  
                  version  
                  procedure  
                  installprocedure  
                  date
                  time  
                  orderedby  
                  comment 
	           [target=<target>]
item

Name of the software package.

version

Version of the software package.

procedure

Blank string (reserved for future use).

installprocedure

Name of the installation procedure used. Use a blank string to indicate any install procedure, and an asterisk (*) to indicate every installation made, using any install procedure.

date

Specifies the date of the installation. You can also use the keyword current.
Format of date: YYYY-MM-DD

time

Specifies the time of the installation. You can also use the keyword current.
Format of time: HH:MM

orderedby

Specifies the User ID that ordered the installation.

comment

Your own comments.

[target=<target>]

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, Software Delivery is notified that an activation record for software item Product X, version 1.1, using procedure Activate1, install procedure Install, to be added. The current date and time are used for the installation. Ordered by lists Automatic by Job and the comment Uses Activate1 for Product X 1.1:

sd_acmd addactivaterecord "Product X" "1.1" "Activate1" "Install" current current "Automatic by Job" "Using Activate1 for Product X 1.1"

If the activation record cannot be associated with and installation, the result of the command is not saved.