ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

SUM installing more than specified components

 
SOLVED
Go to solution
ehodges
Occasional Advisor

SUM installing more than specified components

I'm using the SUM command line to install certain components from a PSP and some firmware I added to the folder. I don't want it to install everything applicable though; only the components I specify. Here is my command, which I thought would install only the 8 components listed:

 

T:\HP\PSP\hpsum.exe /silent /logdir "C:\" cp013868.exe cp013514.exe cp013745.exe cp013917.exe cp014152.exe cp015456.exe cp015483.exe cp015961.exe

 

However, looking at the installation log, it installed 18 components, presumably all the ones it detected were applicable.

 

Any Idea why it may be doing this? Did I construct my command improperly? Attached is the complete installation log.l

 

Thanks,

Eric

2 REPLIES
ehodges
Occasional Advisor
Solution

Re: SUM installing more than specified components

It seems that I figured this out. An error is thrown I didn't previously notice. It tries to create a logfile at the location "C:\ cp013868.exe cp01...", which it cannot do. However, it continues on anyway, ignoring the package specifications (because it sees them as part of the logfile path), and uses the defaults, which I presume are to install whatever packages it deems are needed.

 

So for now, I've simply removed the /logdir switch entirely and it works as expected.

Michael Garner_1
Honored Contributor

Re: SUM installing more than specified components

To solve your problem, leave the trailing "\" off the logdir parameter.

 

 

/silent /logdir "C:\" cp013868.exe cp013514.exe cp013745.exe cp013917.exe cp014152.exe cp015456.exe cp015483.exe cp015961.exe                                     –Incorrect CLI parameter

/silent /logdir "C:" cp013868.exe cp013514.exe cp013745.exe cp013917.exe cp014152.exe cp015456.exe cp015483.exe cp015961.exe                                     –correct CLI parameter

 

A trailing backslash causes the rest of the parameters to be parsed as a single element in a script file as it makes the closing quote a character instead of the end of the string indicating the path. 

 

Thanks,

Michael Garner

HPSUM Lead Architect