Yes – that should work. are you getting an error ?
I have added the solaris package in the depot folder and created a blpackage of that depot object, and going to deploy on target servers, do I need to add any flag to install this package silently?
I have'nt install this yet,
You don’t need to create a blpackage – you can deploy the depot object directly btw.
You might need a ‘no ask’ admin file depending on the pkg. I suggest you try the deploy and see what happens.
I also tried with the same procedure but no luck and execution failed with exit code 4001.
also tried with teh below command but it again failed.
pkgadd -d packagename
I tried installing manually and got success the same package using the above command
The 4001 is a generic error code indicating there was a problem w/ the underlying install which will be in the log I mentioned.