01-02-2017, 08:05 AM
Feedback, I put the code has been changed:
Int w * = wait (16 win ("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
Change to:
Int w * = wait (0 WA win ("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
In all the computers can be run perfectly!
So I recommend that QM developers use the code preferentially when recording a form: int w * = wait (0 WA win This will make the final success, in addition, at the end of each form, use the code: wait 0 - WV w *
The final code is as follows:
Macro install
Int w * = wait (16 win ("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
Change to:
Int w * = wait (0 WA win ("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
In all the computers can be run perfectly!
So I recommend that QM developers use the code preferentially when recording a form: int w * = wait (0 WA win This will make the final success, in addition, at the end of each form, use the code: wait 0 - WV w *
The final code is as follows:
Macro install
#region Recorded 2016-12-28 20:14:44
run "$qm$\iMindQ_8_1_1_51836.exe"
int w2=wait(0 WA win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 43 11 id(2851 w2) 1 ;;push button 'Next >'
wait 0 -WV w2
int w3=wait(0 WA win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 21 10 id(2689 w3) 1 ;;radio button 'I accept the terms in the l...'
lef 45 10 id(2851 w3) 1 ;;push button 'Next >'
wait 0 -WV w3
int w4=wait(0 WA win("iMindQ® - InstallShield Wizard" "MsiDialogNoCloseClass"))
lef 39 11 id(4172 w4) 1 ;;check box 'FreeMind (.mm) files'
lef 38 9 id(4175 w4) 1 ;;check box 'MindJet MindManager (.mmap)...'
lef 41 14 id(2851 w4) 1 ;;push button 'Next >'
wait 0 -WV w4
int w5=wait(0 WA win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 41 14 id(2922 w5) 1 ;;push button 'Install'
wait 0 -WV w5
int w6=wait(0 WA win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
wait 0 -WV w6
int w7=wait(0 WA win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 41 14 id(2890 w7) 1 ;;push button 'Finish'
#endregion