This example illustrates how an ascnnnn.sxp file and its script files work together:
asc0001.sxp
#Sign# ArchiveName=asc0001 Release=1000 SXP=1.0
#Info# Path=$(SxpWinSysDir)\drivers\etc\services Attributes=32
#ScriptFiles# Install=$(SxpSrvRelDir)\asc0001.ins Deinstall=$(SxpSrvRelDir)\asc0001.dei
asc0001.ins
delete line "$(trap) 162/udp snmp" append noblock "tec-trap-service 162/udp " append noblock "$(trap) 13333/udp snmp"
The parameters to be used must already be known on the target computer. Therefore, the parameter product containing the definition of these parameters must be already distributed and installed on the target computer.
asc0001.dei
append noblock "$(trap) 162/udp snmp" delete line "tec-trap-service 162/udp " delete line "$(trap) 13333/udp snmp"
The lines to be deleted must be specified (with respect to number of blanks, use of tabulators, and so on) exactly as in asc0001.ins, otherwise they will not be found.
| Copyright © 2014 CA Technologies. All rights reserved. |
|