you don't want to use the 'post-install' command area for this. you want to make a depot software or blpackage w/ the hpsum installer and then you create a deploy job for it, and then put that job in a batch job. then in the system package you link to the batch job for the 'post install batch job' (along w/ any other post-install activity).
iirc @Steffen_Kries did this so he might have some tips.
I wish I could rebuild this thing from the ground up the right way. I feel like it's a mess and trying to build off of it or create new jobs, is teaching me bad habits/practices.
So maybe I should work back to what I am trying to accomplish to begin with and ask for the best way to accomplish this. I am trying to deploy 2012 R2 in BSA 8.3 (which I know doesn't have official support). I have it down to where I get an pretty solid build, but there are three issues remaining. One of those issues is that it doesn't have all of the correct/latest drivers installed. I want to solve that problem, but not sure what the best practices are when using BSA.
this is the right way to do it.
-> system package contains the OS w/ storage and network drivers.
-> post-install jobs contains 'stuff' to lay down on the target after the OS is there.
to make the depot software you will create a new depot software object that contains whatever is on the HPSUM iso/zip and an install command of something like:
hpsum.exe /use_latest /allow_non_bundle_components /allow_update_to_bundle /use_snmp /On_failed_dependency:Force /silent
if it's going to be dropping the nic we might need to setup some other options but this is the path to go.