12-26-2016, 06:50 PM
I think the problem is that all the installer windows have the same name. Then next win(...) or wait(win(...)) finds old window.
Try to insert simple wait commands before win(...) and wait(win(...)). Or maybe better wait until previous window disappears.
Macro Macro2739
Try to insert simple wait commands before win(...) and wait(win(...)). Or maybe better wait until previous window disappears.
Macro Macro2739
run "$desktop$\iMindQ_8_1_1_51836.exe"
int w=wait(30 WA win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
#region Recorded 12/26/2016 4:56:24 AM
wait 0 -WV w
int w1=act(win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 35 8 id(2851 w1) 1 ;;push button 'Next >'
wait 0 -WV w1
int w2=wait(16 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 9 9 id(2689 w2) 1 ;;radio button 'I accept the terms in the l...'
lef 39 5 id(2851 w2) 1 ;;push button 'Next >'
wait 0 -WV w2
int w3=wait(19 win("iMindQ® - InstallShield Wizard" "MsiDialogNoCloseClass"))
lef 13 5 id(4172 w3) 1 ;;check box 'FreeMind (.mm) files'
lef 12 8 id(4175 w3) 1 ;;check box 'MindJet MindManager (.mmap)...'
lef 47 14 id(2851 w3) 1 ;;push button 'Next >'
wait 0 -WV w3
int w4=wait(19 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 47 12 id(2922 w4) 1 ;;push button 'Install'
wait 0 -WV w4
int w5=wait(108 win("iMindQ® - InstallShield Wizard" "MsiDialogCloseClass"))
lef 35 9 id(2890 w5) 1 ;;push button 'Finish'
#endregion