AddRegistryValueBeforeExecData.arrayLength=2

AddRegistryValueBeforeExecParentKey[0]=HKEY_LOCAL_MACHINE\\SOFTWARE\\Polici es\\Microsoft\\WindowsFirewall AddRegistryValueBeforeExecKey[0]=DomainProfile AddRegistryValueBeforeExecName[0]=EnableFirewall AddRegistryValueBeforeExecType[0]=dword AddRegistryValueBeforeExecData[0]=0

AddRegistryValueBeforeExecParentKey[1]=HKEY_LOCAL_MACHINE\\SOFTWARE\\Polici es\\Microsoft\\WindowsFirewall AddRegistryValueBeforeExecKey[1]=StandardProfile AddRegistryValueBeforeExecName[1]=EnableFirewall AddRegistryValueBeforeExecType[1]=dword AddRegistryValueBeforeExecData[1]=0

SourceFilename.arrayLength=1

ExeArg.arrayLength=1

SourceFilename[0]=WindowsXP-KB835935-SP2-ENU.exe

ExeArg[0].arrayLength=2

ExeArg[0][0]=/passive

ExeArg[0][1]=/norestart

RunQchainFlag=false

TmfWebUIEndpoint=tcmweb

4.Run the sputil.sh command to create the software package block and publish it on the Web Gateway. To achieve this run the following commands:

cd $BINDIR/tcmremed/download

cd TCRMSServicePackInstallWinXpSp2

$BINDIR/tcmremed/bin/sputil.sh -p Sample.properties

5.Verify the result of running the tool with the following command: wlookup -ar SoftwarePackage grep TCRMSServicePackInstallWinXpSp2

If the package was created the result will look like below (the number in the middle of the resulting string will be different in your environment as it is meant to be unique and is associated with Tivoli Management Region number).

TCRMSServicePackInstallWinXpSp2^1.0

1406765930.1.851#SoftwarePackage::Spo#

This software package is large. The creation can take a while, and you should expect that it will consume more than 500 MB since it is stored twice — once in the $BINDIR\tcmremed\work directory and again on the HTTP server.

Chapter 8. Remediation subsystem implementation

431

Page 449
Image 449
IBM Tivoli and Cisco manual 431, AddRegistryValueBeforeExecData.arrayLength=2