Putting installation into functions in deploy script.
Authored by: tlinnet 2015-11-28
Parent: [r28123]
Child: [r28125]