Packaging those 4 commands as a script and running it through a post install command should do it. A bigger problem is that websrv is not included in version 7.0.0_BETA1. I have not yet seen their changelog, and this may only be temporarily removed, but it may never be back.