Screen.SetStartScreen

Screen.SetStartScreen ( 

string ScreenName )

Example 1

-- Decide which "Before Patching" screen to show.
if g_InstalledVersion then
    if g_InstalledVersion == VisualPatch.GetTargetVersion() then
        -- The target version was found
        Screen.SetStartScreen("Software is Current");
    else
        -- An out-of-date version was found
        Screen.SetStartScreen("Ready to Patch");
    end
else
    -- No version was found
    Screen.SetStartScreen("Cannot Locate Software");
end

Determines if the user already has the current version of the software on their system or whether it needs to be patched. This information is gathered in order to show the appropriate first screen to the user.

See also:  Related Actions