For a LANSA product install:

You can validate library name etc.
LANSAINS
Any LANSA imports
Your Application

For a LANSA product update:

You can validate library name etc.
LANSAUPD
Your Application

You will find some example code in DCXISVLIB/DCXSRC member DCXLCP0002 and DCXLCP0004.