Previous Topic: AddLibRemovalRecord--Notify Software Delivery that a Software Package Was Removed from a scalability server staging libraryNext Topic: AddUndetectedRecord--Notify Software Delivery that a Software Package Was Removed


AddReinstallRecord --Software Package was Reinstalled

This command adds two records in the Jobs folder of the computer: a detection record notifying Software Delivery that a software package has been removed using a detected uninstall procedure and then a record that the software package has been installed. The install record is updated with the information provided in AddReinstallRecord.

If an AddReinstallRecord is issued, and the Item or Item Procedure is missing in the software library, the installation record is automatically converted to a detection record with procedure Detected.

Syntax:

AddInstallRecord item 
                version 
                procedure 
                date | crurrent
                time | current
                orderedby 
                comment 
               [target="targetname"]
item

Name of the software package.

version

Version of the software package.

procedure

Blank string (reserved for future use).

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

This parameter is optional and provides an account name, for example, DomainX\UserY.
Default: Current user running the SecureContainer command.

comment

Your own comments.

[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 Software Delivery is notified that reinstallation records for software item Product W Version 1.1, using procedure Install should be added. The current date and time are used. Ordered by will list Automatic by Job and the comment will be Required by Product X v2.0 install.

sd_acmd addreinstallrecord "Product W" "1.1" "Install" current current "Automatic by Job" "Required by Product X v2.0 install"