Run: Install Updates - Dell Command Update - Windows
Log In or Register to download the BES file, and more.

2 Votes

Description

This task will install Dell Updates using Dell Command Update.

 

Steps to using Dell Command Update:

  1. Install/Update: Dell Command Update - Windows  (Only once for each client)
  2. Run: Check for updates - Dell Command Update - Windows  (Once every 60 days)
  3. Check Results in Analysis:  Dell Command Update Audit - Windows
  4. Run: Install Updates - Dell Command Update - Windows  (Only if updates are needed)
  5. Reboot Computer  (Only if reboot is actually required)
    1. Run: Notify User to Reboot System with pending restart due to Dell Updates - Dell Command Update - Windows
    2. Run: Reboot System if no user is logged on with pending restart due to Dell Updates - Dell Command Update - Windows

 


Property Details

ID3902
StatusBeta - Preliminary testing ready for more
TitleRun: Install Updates - Dell Command Update - Windows
DomainBESC
CategorySoftware Sharing
Download Size0
SourceInternal
Source IDjgstew
Source Release Date10/25/2014 12:00:00 AM
Added by on 10/29/2014 1:06:32 PM
Last Modified by on 10/29/2014 1:06:32 PM
Counters 17621 Views / 112 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 1 rating. ** Log In or Register to add your rating.

Relevance

Windows Only (Relevance 2997197)
Used in 6452 fixlets and 32 analyses   * Results in a true/false
Show indented relevance
/* Windows Only */ windows of operating system
Used in 13 fixlets and 8 analyses   * Results in a true/false
Show indented relevance
/* Windows Vista or Higher */ version of operating system >= "6.0"
Used in 32 fixlets and 2 analyses   * Results in a true/false
Show indented relevance
/* DELL Only */ exists values "vendor" whose(it as string as uppercase contains "DELL") of structures "bios_information" of smbios
Used in 17 fixlets and 1 analsis   * Results in a true/false
Show indented relevance
/* check for supported model: OptiPlex, Latitude, Precision, Venue Tablets, XPS */ exists ((value "product_name" of structures "system_information" of smbios) as string as uppercase) whose(it starts with "OPTIPLEX" OR it starts with "LATITUDE" OR it starts with "PRECISION" OR it starts with "XPS" OR it starts with "VENUE")
Used in 3 fixlets   * Results in a true/false
Show indented relevance
/* the CLI is available */ exists file "dcu-cli.exe" whose(version of it >= "2.0.0.565") of folder ( unique value of pathnames of folders ( unique values of (it as string) of ( ( values "InstallLocation" of keys whose(value "DisplayName" of it as string as trimmed string starts with "Dell Command | Update" AND value "DisplayVersion" of it as string as version >= "2.0.0") of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (registry;native registry) ) ; ( values "InstallPath" of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Dell\CommandUpdate" of (registry;native registry) ) ) ) )
Used in 1 fixlet   * Results in a true/false
Show indented relevance
/* Dell Command Update has run in the past 60 days */ exists (maxima of modification times of files "ActivityLog.xml" of folders "Logs_DellUpdate" of folders "__BESData\__Global\Logs" of parent folder of client) whose (now - it < 60 * day)
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists (files "results_DellUpdate.xml" of folders "__BESData\__Global\Logs" of parent folder of client)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// http://support.bigfix.com/fixlet/documents/WinActions_20081110.pdf
action launch preference low-priority

// delete old results, if they exist
delete "{ (pathname of folder "__BESData\__Global\Logs" of parent folder of client) }\results_DellUpdate.xml"

// INSTALL: Updates
waithidden { pathname of file "dcu-cli.exe" whose(version of it >= "2.0.0.565") of folder ( unique value of pathnames of folders ( unique values of (it as string) of ( ( values "InstallLocation" of keys whose(value "DisplayName" of it as string as trimmed string starts with "Dell Command | Update" AND value "DisplayVersion" of it as string as version >= "2.0.0") of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (registry;native registry) ) ; ( values "InstallPath" of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Dell\CommandUpdate" of (registry;native registry) ) ) ) ) } /silent /log "{ (pathname of folder "__BESData\__Global\Logs" of parent folder of client) }\Logs_DellUpdate"

// Return Codes:
// 0 = OK/Success
// 1 = Reboot Required
// 2 = Fatal Error
// 3 = Error
// 4 = Invalid System

// http://www.dell.com/support/Manuals/us/en/19/Topic/dell-comnd-update-v2.0/DCU_formerly_DCSU_UG-v2/en-us/GUID-E3858402-1574-40EB-9ADB-3E9C4C9DB431
// Report failure if bad return code, continue if good return code
continue if{ exists (exit codes of active action) whose(it = 1 OR it = 0) }

// http://support.bigfix.com/inspectors/World%20Objects_Any.html
// pending restart "DellUpdatesInstalled"
// Require reboot if return code = 1
if{ exists (exit codes of active action) whose(it = 1) }
    action requires restart "DellUpdatesInstalled"
endif


// Check for Updates
// http://www.dell.com/support/Manuals/us/en/19/Topic/dell-comnd-update-v2.0/DCU_formerly_DCSU_UG-v2/en-us/GUID-5A058BEF-5A75-4037-A9C2-65628F818EB7
waithidden { pathname of file "dcu-cli.exe" whose(version of it >= "2.0.0.565") of folder ( unique value of pathnames of folders ( unique values of (it as string) of ( ( values "InstallLocation" of keys whose(value "DisplayName" of it as string as trimmed string starts with "Dell Command | Update" AND value "DisplayVersion" of it as string as version >= "2.0.0") of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (registry;native registry) ) ; ( values "InstallPath" of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Dell\CommandUpdate" of (registry;native registry) ) ) ) ) } /silent /report "{ (pathname of folder "__BESData\__Global\Logs" of parent folder of client) }\results_DellUpdate.xml" /log "{ (pathname of folder "__BESData\__Global\Logs" of parent folder of client) }\Logs_DellUpdate"

// Return Codes:
// 0 = OK/Success
// 1 = Reboot Required
// 2 = Fatal Error
// 3 = Error
// 4 = Invalid System

// http://www.dell.com/support/Manuals/us/en/19/Topic/dell-comnd-update-v2.0/DCU_formerly_DCSU_UG-v2/en-us/GUID-E3858402-1574-40EB-9ADB-3E9C4C9DB431
// Report failure if bad return code, continue if good return code
continue if{ exists (exit codes of active action) whose(it = 1 OR it = 0) }

// http://support.bigfix.com/inspectors/World%20Objects_Any.html
// pending restart "DellUpdatesInstalled"
// Require reboot if return code = 1
if{ exists (exit codes of active action) whose(it = 1) }
    action requires restart "DellUpdatesInstalled"
endif

// Running this task will affect analysis properties, so this will force them to be updated right away
notify client ForceRefresh
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
please post a message with a link to this in forum.bigfix.com and put @jgstew in it.
abayoumy -
I got error in line 12 chr 40 evaluation error relevance clauses must be surrounded by { and } guards. help please
abayoumy -
I got error in line 12 chr 40 evaluation error relevance clauses must be surrounded by { and } guards. help please