I created a package with a cmd file with this: (found this on the internet)
And this works fine for me.
:Init
@Echo Off
Cls
:Main
Echo HP Proliant Support Pack
Echo Source : %~dp0
Echo
===============================================================================
Echo Installing the HP Proliant Support Pack
Echo Command: "%~dp0hpsum.exe" /use_latest /allow_non_bundle_components
/express_install
"%~dp0hpsum.exe" /use_latest /allow_non_bundle_components /express_install
:CheckForErrors
Echo HP Proliant Support Pack Status:
If "%errorlevel%"=="0" (
Echo
*******************************************************************************
Echo INSTALLATION FAILED!
Echo
*******************************************************************************
exit 1
)
If "%errorlevel%"=="1" (
Echo Installation Successful!
exit 0
)
If "%errorlevel%"=="2" (
Echo Installation Successful, but a reboot is required.
exit 0
)
If "%errorlevel%"=="3" (
Echo Installation was canceled, or no components were updated
exit 0
)
If "%errorlevel%"=="9009" (
Echo Installation did not complete. Check the path and make sure that the
Echo Installation exists at the specified location:
Echo Path: %~dp0
Exit 1
)
:End
Echo An unknown status code was returned from the PSP.
Echo This status code is [%errorlevel%]. This will be treated as a success,
Echo but please check the installation to make sure it completedly properly!
Exit 0
From: [email protected] [mailto:[email protected]] On
Behalf Of Dzikowski, Michael
Sent: dinsdag 10 september 2013 7:57
To: [email protected]
Subject: [mssms] HP SUM or SPP
Anyone deploying HPSUM or HP SPP in a task sequence?
I have this command, that doesn't seem to work during a TS.
Copying a package and files and running this command line:
cmd /c hpsum.exe /use_latest /allow_non_bundle_components /express_install
/silent
anyone have this working during OSD?