(imported topic written by renehasp)
Does any one have any experience with HPSUM? We are trying to reun a firmware update with HPSUM v7.1 (released Sep 9th 2014) and I am getting mixed results using.
// Run setup process
delete __createfile
delete run.bat
// Use .bat to set working directory to packages root, for setup command.
createfile until end
@ECHO OFF
cd “{parameter “baseFolder”}”
rem // See comments at the beginning of this action for an explanation of the comment markers.
set DATESTAMP=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%
set DATEANDTIME=%DATESTAMP% %time%
echo %DATEANDTIME% >> “{parameter “logFolder”}/{parameter “logFile”}”
echo Action ID: {id of active action} >> “{parameter “logFolder”}/{parameter “logFile”}”
rem //**Begin Command Marker
//echo Command: “hpsum.bat” /use_latest /allow_non_bundle_components /use_location “C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\actionsite__Download” /silent >> “{parameter “logFolder”}/{parameter “logFile”}”
//hpsum.bat /use_latest /allow_non_bundle_components /use_location “C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData\actionsite__Download” /silent >> “{parameter “logFolder”}/{parameter “logFile”}” 2>&1
hpsum.bat /use_latest /logdir C:\sysadmin\logs /silent /reboot_always
end
move __createfile run.bat
// You will not be able to stop or take action on an applicable BigFix Client until your installer completes.
// So ensure no user input is required.
// If your package absolutely must interact with the user, replace ‘override wait’ with ‘override run’ and ‘wait’ with ‘run’.
if{name of operating system as lowercase starts with “win”}
override wait
hidden=true
completion=job
wait run.bat
else
override wait
completion=job
wait run.bat
endif
Sometimes the result is just hangs on Running for ever…
I added the reboot always… and now it reboots… However the components after it sometimes run and sometimes fail… So its very inconsistent…
(
If I have a compnent issue a reboot on its own (not from bigfix (restart 60) but the component level on its own. ) how do I have the next component wait to run after the reboot is completed?
) This would help me out too…
Any ideas appriciated…