install.mst 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. '$INCLUDE 'RECORDER.INC'
  2. GLOBAL gszLogFile AS STRING
  3. SetDefaultWaitTimeout(Timeout)
  4. Scenario "install"
  5. Timeout = 30
  6. gszLogFile = "VTError.txt"
  7. CurrentWindow = WFndWndC("Welcome", "#32770", FINDWINDOWFLAGS_IF, 25 + Timeout)
  8. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  9. WButtonClick("&Next >")
  10. CurrentWindow = WFndWndC("Software License Agreement", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  11. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  12. WButtonClick("&Yes")
  13. CurrentWindow = WFndWndC("Choose Destination Location", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  14. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  15. WButtonClick("&Next >")
  16. CurrentWindow = WFndWndC("Setup Type", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  17. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  18. WButtonClick("&Next >")
  19. CurrentWindow = WFndWndC("Select Program Folder", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  20. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  21. WButtonClick("&Next >")
  22. CurrentWindow = WFndWndC("DirectX", "#32770", FINDWINDOWFLAGS_IF, 900 + Timeout)
  23. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  24. WButtonClick("&Next >")
  25. CurrentWindow = WFndWndC("Information", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  26. WSetWndPosSiz(CurrentWindow, 410, 332, 210, 119)
  27. WButtonClick("OK")
  28. CurrentWindow = WFndWndC("DirectX 6", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  29. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  30. WButtonClick("&Next >")
  31. CurrentWindow = WFndWndC("Install", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  32. WSetWndPosSiz(CurrentWindow, 326, 341, 380, 100)
  33. WButtonClick("&Yes")
  34. CurrentWindow = WFndWndC("Enter Information", "#32770", FINDWINDOWFLAGS_IF, 30 + Timeout)
  35. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  36. Play "{BS}fedtest"
  37. WButtonClick("&Next >")
  38. CurrentWindow = WFndWndC("Setup Complete", "#32770", FINDWINDOWFLAGS_IF, Timeout)
  39. WSetWndPosSiz(CurrentWindow, 272, 205, 479, 357)
  40. WButtonClick("Finish")
  41. gszLogFile = "VTSignal.txt"
  42. Scenario Cleanup
  43. OPEN gszLogFile FOR OUTPUT AS 1
  44. PRINT #1, "Success"
  45. CLOSE 1
  46. End Scenario