Jump to content

Recommended Posts

  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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!"

Posted (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 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!"

Posted

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

Posted

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

Very 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!"

Posted

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 ?

Posted

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!"

Posted

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 ?

and

i think i can write this

Run ( "UBarGen_en.exe /VERYSILENT /SP")

right?

thanks

Posted

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.

and

i think i can write this

Run ( "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!"

Posted

u say not on all program !!!

ok what can i do if i have proplem

is there another code can help me

thanks

It 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!"

Posted

ok can u give me some of codes can help me ,please ?

thanks

I 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. Examples

Run install silently......

Inno = /Silent or /VerySilent

NSIS = /s

MSI = /qn

older InstallShield = /s

newer 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!"

Posted

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

Posted

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

To 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!"

Posted

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...