An overview of opsi features and how to use them can be found here:
Create the product base directories and meta data files using opsi-newprod. Get the opsi script template.
Create a opsi script for a silent installation based on the opsi template script