This command adds a record notifying Software Delivery that a previously installed software package has been uninstalled. If there is no installation that the uninstallation record can be associated with, the result of the command is not saved.
AddUninstallRecord item
version
procedure
date | current
time | current
orderedby
comment
[target="targetname"]
Name of the software package.
Version of the software package.
Blank string (reserved for future use).
Specifies the date of the installation. You can also use the keyword current.
Format of date: YYYY-MM-DD
Specifies the time of the installation. You can also use the keyword current.
Format of time: HH:MM
This parameter is optional and provides an account name, for example, DomainX\UserY.
Default: Current user running the SecureContainer command.
Your own comments.
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:
In the following example, Software Delivery is notified that an uninstall record for software item Product Y Version 1.2, using procedure Uninstall, should be added. The current date and sda_time are used for the uninstallation. Ordered by will list Automatic by Job and the comment will be Upgraded by Product Y v2.0 install.
sd_acmd adduninstallrecord "Product Y" "1.2" "Uninstall" "" current current "Automatic by Job" "Upgraded by Product Y v2.0 install"
In the case previously shown, a blank string was used for the install procedure. If two installations were previously made, using Install1 and Install2 as install procedures, only one of these installations will be deleted. If however * is used instead, both installations will be deleted.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|