Misuse RemoteWelcomeInstaller for installing a DB as WelcomePage?

Hello!

I found the Code from Rod Whiteley which is for remote installing a Welcome Page with Script.

Has anybody changed it to deploy a Database as Welcome Page, like the Button “Set …as Welcome Page”???