PDA

View Full Version : Dependancy Scripting - helper


Eagle
04-04-2007, 02:34 PM
regarding how to assist in verifying that a dependancy install has 'completed':
say the 'Detection' function is named: IsThisDependancyInstalled()

In the 'Installation' script, once the dependancy install routine has returned a code,
say after a File.Run(....). At an appropriate point in the 'install' code,

Recall the 'detection function' , if returns true (as 'good' as the detection is)

eg:

local bSuccess = IsThisDependancyInstalled();
if bSuccess then
--at least passed the detection
end

might be handy...