mohd Posted January 14, 2008 Author Posted January 14, 2008 can u till him what i need and can he continue with me here in topic or not ?
GEOSoft Posted January 14, 2008 Posted January 14, 2008 can u till him what i need and can he continue with me here in topic or not ?Slow down.... I'm working on it. I have other things to do right now but I will get back to it. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 14, 2008 Author Posted January 14, 2008 i dont under stand u too ,,, so i waiting can u give me topic can help me to leare auto it ?
mohd Posted January 14, 2008 Author Posted January 14, 2008 (edited) do u mean u will get back to till him or to help me ?? Edited January 14, 2008 by mohd
GEOSoft Posted January 15, 2008 Posted January 15, 2008 (edited) Here is what you asked for. Use this at your own peril and don't ask questions about it. I commented the script for you. I DO NOT recommend that you even attempt to do it this way. Opt ("WinTitleMatchMode", 2) $Ttl = "Setup - UserBar Generator";; Title of the parent window Run("UBarGen_en.exe");; Run the setup without a start page WinWaitActive($Ttl, "Welcome") ControlClick($Ttl, "Welcome", "[ClassNN:TButton1]");; Click "Next" WinWaitActive($Ttl, "License Agreement");; Wait for the window to be active ControlClick($Ttl, "License Agreement", "[ClassNN:TRadioButton1]");; Click the "I agree" radio button to select it ControlClick($Ttl, "License Agreement", "[ClassNN:TButton2]");; Click "Next" WinWaitActive($Ttl, "User Information");; Wait for the window to be active ControlClick($Ttl, "User Information", "[ClassNN:TButton2]");; Click "Next" WinWaitActive($Ttl, "Select Destination Location");; Wait for the window to be active ControlClick($Ttl, "Select Destination Location", "[ClassNN:TButton3]");; Click "Next" WinWaitActive($Ttl, "Select Start Menu Folder");; Wait for the window to be active ControlClick($Ttl, "Select Start Menu Folder", "[ClassNN:TButton4]");; Click "Next" WinWaitActive($Ttl, "Select Additional Tasks");; Wait for the window to be active ControlClick($Ttl, "Select Additional Tasks", "[ClassNN:TButton4]");; Click "Next" WinWaitActive($Ttl, "Ready to Install");; Wait for the window to be active ControlClick($Ttl, "Ready to Install", "[ClassNN:TButton4]");; Click "Install" WinWaitActive($Ttl, "Click Finish to exit Setup.");; Wait for the window to be active Send ("{SPACE}");; UnCheckTheCheckbox NOTE: ControlClick and ControlCommand will NOT work on this control; ControlClick($Ttl, "Click Finish to exit Setup.", "[ClassNN:TButton4]");; Click "Finish" EDIT: I should add that the next version of this installation will likely be changed and none of the code I have given you so far will work without modification. Edited January 15, 2008 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 15, 2008 Author Posted January 15, 2008 don't worry i will dont ask question because i will not use this ,, i think u know the cause i want only learn any thing i can use it to make scilent install because i dont want use (send) thanks
GEOSoft Posted January 15, 2008 Posted January 15, 2008 don't worry i will dont ask question because i will not use this ,, i think u know the cause i want only learn any thing i can use it to make scilent install because i dont want use (send) thanksVery well When he releases version 2.3 you should be able to do what you want just using Run("UBarGen_en.exe /SP /Silent") but you will have to wait for thhat release. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 15, 2008 Author Posted January 15, 2008 do u mean i rigister the keyboard move and change Run("UBarGen_en.exe ") to Run("UBarGen_en.exe /SP /Silent") do u mean that ?
GEOSoft Posted January 15, 2008 Posted January 15, 2008 do u mean i rigister the keyboard move and change Run("UBarGen_en.exe ") to Run("UBarGen_en.exe /SP /Silent") do u mean that ?I mean that your script will only need Run("UBarGen_en.exe /SP /Silent") That is AFTER he releases version 2.3 George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 15, 2008 Author Posted January 15, 2008 thannk u very match i want to ask u are this code can help me if i have proplem in any program ? or not all programs ?andi think i can write thisRun ( "UBarGen_en.exe /VERYSILENT /SP")right? thanks
GEOSoft Posted January 15, 2008 Posted January 15, 2008 thannk u very match i want to ask u are this code can help me if i have proplem in any program ? or not all programs ?No, not all.andi think i can write thisRun ( "UBarGen_en.exe /VERYSILENT /SP")right? thanks Yes. That only means you will not see the progress window. I don't recommend it. The user should know something is happening. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 15, 2008 Author Posted January 15, 2008 u say not on all program !!! ok what can i do if i have proplem is there another code can help me thanks
GEOSoft Posted January 15, 2008 Posted January 15, 2008 u say not on all program !!! ok what can i do if i have proplem is there another code can help me thanksIt depends on the installer that was used and how it was written. There is no single piece of code that will work on all installers. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 16, 2008 Author Posted January 16, 2008 (edited) ok can u give me some of codes can help me ,please ? thanks Edited January 16, 2008 by mohd
GEOSoft Posted January 16, 2008 Posted January 16, 2008 ok can u give me some of codes can help me ,please ? thanksI already said that every installer is different. Even the installer that we did in this thread could have been different. There are different pages that the author could have used or the author could have chosen NOT to allow a selection for running the app on the last page or he/she may have added a language page in there. So the answer is NO, I am not going to write the code for all of the various installers and each possible variation within each of those.You will just have to test each one individually and get a list of the switches available for each of the installers. I have a list for most but not all. ExamplesRun install silently......Inno = /Silent or /VerySilentNSIS = /sMSI = /qnolder InstallShield = /snewer InstallShield = /s /v"/qn"In your case, as posted, it was Inno Setup that was used and I happen to be very familiar with that one since I write most of my installs with it.You have a working installation. All 3 methods I've given do what you want so I am going to consider this topic as closed. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 16, 2008 Author Posted January 16, 2008 oh i know now ,,,thanks i must write the switch .. ok but i want to know i must write the switch of program too ,, or no ? and i want to ask is this any code can help me to not see the icon next to the o' clock in the down ? thanks
GEOSoft Posted January 16, 2008 Posted January 16, 2008 oh i know now ,,,thanks i must write the switch .. ok but i want to know i must write the switch of program too ,, or no ? and i want to ask is this any code can help me to not see the icon next to the o' clock in the down ? thanksTo hide the icon in the system tray use #NoTrayIcon at the top of the script. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
mohd Posted January 16, 2008 Author Posted January 16, 2008 thank u v.v.match i want to ask to question please - can i use the auto it to make programs portable ? - can i use auto it do thing like this ,, rirester kasper sky by key (open kasper sky , click browes , and get the key ) ????? thanks
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