IBM Support

IV43937: WINDOWS 'UNINSTALL BES CLIENT' TASK (219) FAILS 'RELEVANCE' IN A/S FOR 9.0 CLIENTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • See Bugzilla tickets 57999 and 57903
    
    Client log has 'relevance substitution' error on client removal
    task
    
    [This makes it look like we're lying to new customers when we
    tell them to
    'remove all traces of the BES Client'. It gives them 'ammo' to
    argue for a
    discount. It would also be MUCH better if we could 'hook' into
    the Windows
    Uninstaller Post-Task to Completely remove all subdirectories of
    BigFix
    Enterprise.....; even if it required a reboot]
    
    - Running task 219 to remove the BES Client on previously
    installed v9.0.649
    clients results in a 1619 error.  Looking at the client log file
    (included) it
    shows a 'relevance substitution error'.  Apparently John
    Golembewski just
    noticed this error, as well.
    
    His proposed solution was the following A/S (I have tried this
    in my w2k3-32
    client environment, and got no relevance substitution error):
    // Enter your action script here
    if {name of operating system starts with "Win"}
        // create a batch file to create the temp folder
        delete __appendfile
        delete tempdir.bat
        appendfile @echo off
        appendfile {if (exists variable "temp" of environment) then
    ("") else if
    (exists folder "temp" of windows folder) then ("") else ("mkdir
    " & pathname of
    windows folder as string & "\temp")}
        move __appendfile tempdir.bat
        wait "{pathname of client folder of site "BESSupport" &
    "\RunQuiet.exe"}"
    tempdir.bat
        delete tempdir.bat
        delete "{if (exists variable "temp" of environment) then
    (value of variable
    "temp" of environment as string & "\RunQuiet.exe") else
    (pathname of folder
    "temp" of windows folder as string & "\RunQuiet.exe")}"
        delete "{if (exists variable "temp" of environment) then
    (value of variable
    "temp" of environment as string & "\delClient.iss") else
    (pathname of folder
    "temp" of windows folder as string & "\delClient.iss")}"
        copy "{pathname of client folder of site "BESSupport" &
    "\RunQuiet.exe"}"
    "{if (exists variable "temp" of environment) then (value of
    variable "temp" of
    environment as string & "\RunQuiet.exe") else (pathname of
    folder "temp" of
    windows folder as string & "\RunQuiet.exe")}"
        copy "{pathname of client folder of site "BESSupport" &
    "\delClient.iss"}"
    "{if (exists variable "temp" of environment) then (value of
    variable "temp" of
    environment as string & "\delClient.iss") else (pathname of
    folder "temp" of
    windows folder as string & "\delClient.iss")}"
    
        // create a batch file to uninstall client and run BESRemove
    from a
    different directory
        appendfile @echo off
        appendfile cd {if (exists variable "temp" of environment)
    then (value of
    variable "temp" of environment as string) else (pathname of
    folder "temp" of
    windows folder as string)}
        appendfile {(if it as lowercase starts with "msiexec" then
    preceding text
    of first "%00" of it else preceding text of first "%20-" of it)
    of (value
    "UninstallString" of key whose ((it = "BigFix Enterprise Client"
    OR it =
    "BigFix for IBM Proventia ESC Client" OR it = "ESP Agent" OR it
    = "Trend Micro
    Endpoint Security Platform" OR it = "IBM Endpoint Manager
    Client" OR it =
    "Tivoli Endpoint Manager Client") of (value "DisplayName" of it
    as string)) of
    key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"
    of registry as
    string)}{if (value "UninstallString" of key whose ((it = "BigFix
    Enterprise
    Client" OR it = "BigFix for IBM Proventia ESC Client" OR it =
    "ESP Agent" OR it
    = "Trend Micro Endpoint Security Platform" OR it = "IBM Endpoint
    Manager
    Client" OR it = "Tivoli Endpoint Manager Client") of (value
    "DisplayName" of it
    as string)) of key
    "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"
    of registry as string as lowercase starts with "msiexec") then "
    /qn" else ("
    -s --uninstallsilent " & (if version of regapp "BESClient.exe"
    >= "5.1" then "
    -f1" & (if (exists variable "temp" of environment) then (value
    of variable
    "temp" of environment as string & "\delClient.iss") else
    (pathname of folder
    "temp" of windows folder as string & "\delClient.iss")) else
    ""))}
    
        // move batch file to temp directory
        delete "{if (exists variable "temp" of environment) then
    (value of variable
    "temp" of environment as string & "\RunBESRemove.bat") else
    (pathname of folder
    "temp" of windows folder as string & "\RunBESRemove.bat")}"
        copy "__appendfile" "{if (exists variable "temp" of
    environment) then
    (value of variable "temp" of environment as string &
    "\RunBESRemove.bat") else
    (pathname of folder "temp" of windows folder as string &
    "\RunBESRemove.bat")}"
    
        // run batchfile
        run "{if (exists variable "temp" of environment) then (value
    of variable
    "temp" of environment as string & "\RunQuiet.exe") else
    (pathname of folder
    "temp" of windows folder as string & "\RunQuiet.exe")}" "{if
    (exists variable
    "temp" of environment) then (value of variable "temp" of
    environment as string
    & "\RunBESRemove.bat") else (pathname of folder "temp" of
    windows folder as
    string & "\RunBESRemove.bat")}"
    else
        continue if {false}
    endif
    
    - Also, It looks like the #219 removal task uses a much older
    BESRemove (8.2),
    whereas there's a 9.0.586 version on the download site, right
    this moment.  We
    should update this fixlet to use the latest.
    

Local fix

  • N/A
    

Problem summary

  • N/A
    

Problem conclusion

  • Fix propagated to BES Support 1085.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV43937

  • Reported component name

    TIV EP MGR PTCH

  • Reported component ID

    5725C43PM

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-10

  • Closed date

    2013-06-11

  • Last modified date

    2013-06-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TIV EP MG PLTFM

  • Fixed component ID

    5725C43PO

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SSBQVS","label":"Tivoli Endpoint Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 June 2013