Ah, the “old can’t use Wscript within a Custom Action trick, gets you every time !!”
The workaround you pointed to above is not satisfactory of my situation. There I created my own very simple ‘Sleep’ procedure (below) to use instead of ‘wscript.Sleep’. In addition, I had to change my ‘wscript.quit’ to ‘Sub End’
Sleep(5)
Sub Sleep(ByVal iSleepPeriod)
' Note: Timer returns the number of seconds that have elapsed since midnight.
Dim iStartTime, iEndTime, iCurrentTime
On Error Resume Next
iStartTime = Timer
iEndTime = iStartTime + iSleepPeriod
Do While Timer <= iEndTime
Loop
End Sub