Walter Tavernarakis from PDS has published a nice article regarding the usage of PowerShell as a Custom Action in RayPack.

Take a look here: http://www.pds-site.com/nl/84-pds-nieuws/blog/343-diy-applying-a-powershell-custom-action-during-installation-of-an-msi