Another alternative is to use a Script Task.
Store off the value of your COUNT from your Execute SQL Task into a variable.
Create a Script Task.
On the Script tab, type in your variable's name into the ReadOnlyVariables line.
Click Design Script.
Type in something like this....
Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim pStart As New System.Diagnostics.Process
Public Sub Main()
If Dts.Variables.Contains("TestEmpCount") = True Then
If CType(Dts.Variables("TestEmpCount").Value, Integer) > 0 Then
Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim pStart As New System.Diagnostics.Process
startInfo = New System.Diagnostics.ProcessStartInfo("C:\text.txt")
pStart.StartInfo = startInfo
pStart.Start()
pStart.WaitForExit() 'Your code will halt until the exe file has executed.
End If
End If
Dts.TaskResult = Dts.Results.Success
End Sub
That should induce the desired action