Geej Posted April 25, 2011 Share Posted April 25, 2011 You can accept the licence agreement byopt("TrayIconDebug",1)Run ("setup_avrokeyboard_5.1.0.exe")$sTM="Setup - Avro Keyboard"$sST="Welcome to the Avro Keyboard Setup Wizard"Winwait ($sTM,$sST)controlclick ($sTM,$sST,"&Next >")$sST="License Agreement"Winwait ($sTM,$sST)controlclick ($sTM,$sST,"I &accept the agreement") ;<----------this is the required codecontrolclick ($sTM,$sST,"&Next >")How to unchecked/deselect from the option by using the send function such as $sTM="Setup - Avro Keyboard"$sST="Select Additional Tasks"Winwait ($sTM,$sST)WinActivate ($sTM,$sST)send ("{tab 3}{space}") ;<--something like this ; press tab 3 times, then press spacebar 1 timesleep (3000) ;<-- short delay to see thing actually take place. Remove this line after test.ControlClick($sTM,$sST,"&Next >")Hope that helps Link to comment Share on other sites More sharing options...
kali Posted April 26, 2011 Author Share Posted April 26, 2011 You can accept the licence agreement byopt("TrayIconDebug",1)Run ("setup_avrokeyboard_5.1.0.exe")$sTM="Setup - Avro Keyboard"$sST="Welcome to the Avro Keyboard Setup Wizard"Winwait ($sTM,$sST)controlclick ($sTM,$sST,"&Next >")$sST="License Agreement"Winwait ($sTM,$sST)controlclick ($sTM,$sST,"I &accept the agreement") ;<----------this is the required codecontrolclick ($sTM,$sST,"&Next >")How to unchecked/deselect from the option by using the send function such as $sTM="Setup - Avro Keyboard"$sST="Select Additional Tasks"Winwait ($sTM,$sST)WinActivate ($sTM,$sST)send ("{tab 3}{space}") ;<--something like this ; press tab 3 times, then press spacebar 1 timesleep (3000) ;<-- short delay to see thing actually take place. Remove this line after test.ControlClick($sTM,$sST,"&Next >")Hope that helpsVery nice instructions. This instructions really I wanted. Thanks a lot. My problem is solved now. For company name, serial number what can I do? This question is for future problem, not now. Would you like to give me tutorial link to know details? Thanks again. Link to comment Share on other sites More sharing options...
Geej Posted April 27, 2011 Share Posted April 27, 2011 Very nice instructions. This instructions really I wanted. Thanks a lot. My problem is solved now. For company name, serial number what can I do? This question is for future problem, not now. Would you like to give me tutorial link to know details? Thanks again.Glad to help. You own it to yourself that you understand what I'm trying to say via autoit script.Majority of Softwares store their registration detail in registry. As such, use some registry monitoring tool such as Registry Unicode, registry shot to compare before and after changes. Hence import like any registry tweak.Helpful tools:Registry jumper can helps you navigate quickly to the key to perform export/backup. CMenu can help you convert .reg to .au3 syntax (addon here)Get to know more of Autoit functions under it's help file such as "Registry Management", "Window Management, Controls","File, Directory and Disk Management" & "Keyboard Management".Autoit Macro are also important such as @ComputerName, @WindowsDir, @UserProfileDir etcThen you can launch the program and write your script to enter registration detail.I would suggest once you know how to do that, add some checking code such that entering detail of registration is made only if it is valid.Validity check such as checking against Computername or User's creditial before proceeding.or even read HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion, 'RegisteredOrganization" keyThis is to prevent abuse if compiled script lies in wrong hand. Link to comment Share on other sites More sharing options...
kali Posted April 27, 2011 Author Share Posted April 27, 2011 Majority of Softwares store their registration detail in registry. As such, use some registry monitoring tool such as Registry Unicode, registry shot to compare before and after changes. Hence import like any registry tweak.Helpful tools:Registry jumper can helps you navigate quickly to the key to perform export/backup. CMenu can help you convert .reg to .au3 syntax (addon here) Very nice tools. I didn't use before.Get to know more of Autoit functions under it's help file such as "Registry Management", "Window Management, Controls","File, Directory and Disk Management" & "Keyboard Management". How nice! All tutorials are here. But I find this in google. What a fool I am!I thank you again specially for the instructions below. It was really a great solution for my problem that I found nowhere.$sTM="Setup - Avro Keyboard"$sST="Select Additional Tasks"Winwait ($sTM,$sST)WinActivate ($sTM,$sST)send ("{tab 3}{space}") ;<--something like this ; press tab 3 times, then press spacebar 1 timesleep (3000) ;<-- short delay to see thing actually take place. Remove this line after test.ControlClick($sTM,$sST,"&Next >") Link to comment Share on other sites More sharing options...
Geej Posted April 28, 2011 Share Posted April 28, 2011 I thank you again specially for the instructions below. It was really a great solution for my problem that I found nowhere.No problem. Those codes are really not complex. Glad u found MSFN forum and post your problem : Where People Go To Know. Link to comment Share on other sites More sharing options...
mehulbadhacker Posted May 5, 2011 Share Posted May 5, 2011 hii every one .. if any one need help for iss file or inno setup - e-mail - mehulbadhacker@live.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now