Click here to Skip to main content
15,884,773 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have the following code to install a windows desktop application.
the script is unable to click the 'Next' button on the installer wizard dialog.
In the following code sendkeys "{ENTER}" is used too press 'enter' key on the keyboard.
sendkeys "{ENTER}" is recognizing all the windows and dialogs expect my .net application


can someone help..vishnu

set oShell=CreateObject("Wscript.Shell")
oshell.Run"\\192.168.0.77\FTMBuild\Latest\FTMBuild\setup.exe"
wscript.sleep(10000)
oshell.AppActivate "Family Tree Maker 2012 -InstallAware Wizard"
oShell.sendkeys "{ENTER}"
wscript.sleep(20)
oshell.sendkeys "{ }"
wscript.sleep(20)
oShell.sendkeys "{ENTER}"
wscript.sleep(60)
oShell.sendkeys "{ENTER}"
wscript.sleep(20)
oShell.sendkeys "{ENTER}"
wscript.sleep(20)
oShell.sendkeys "{ENTER}"
wscript.sleep(20)
oShell.sendkeys "{ENTER}"
wscript.sleep(20)
oShell.sendkeys "{ENTER}
Posted
Updated 29-Oct-12 19:34pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900