InstallScript

Purpose

This function is used by a script or plug-in wishing to call the HomeSeer install script procedure in another script.  This is used by the updater to facilitate script installations.  The procedure in the script that is called is always "hs_install".

Parameters

Parameter: scr
Type: string
Description: This is the file name of the script to run.  Do not include the path in the script name.

Parameter: param
Type: variant
Description: This is a  parameter to send to the function.  This can be a string or numeric value.

Returns

Return value: result
Type: string
Description: This returns any value that the called script returns.