Jump to content

Recommended Posts

  • Moderators
Posted

RohitMore or PRM as you now call yourself,

Dinner intervened so you have had more time than I originally gave you - I see no name here.

You keep PMing me about this - until one of those PMs satisfies me this thread is locked.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • Moderators
Posted

PRM,

software name :Winrar

trying to automate its installation process.

when I call run it runs .exe but on installation window of

winrar the "window info tool" gives class name and instance as blank what to do in this case?

Now why on earth could you not say that when I first asked? :)

As you can see, the thread is now unlocked. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • Moderators
Posted

Instead of automating the button clicks, why not just run the executable with the /s switch to make it a silent install? I have the latest version, and use this:

RunWait("C:wrar410.exe /s", "")

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

Thanks JLogan3013. I will try this.

I have observed one thing window info tool

at my home machine with windows7 shows information

like(control id,class,instance etc)but on other machine with

latest AUTOIT build and windows xp,the window info tool

doesn't show (control id,class,inheritance)

{All above observation is in case of

automating the installation process of winrar4.10}

  • Moderators
Posted (edited)

Hi, PRM. Glad we could get you where you needed to go. For future reference, as Melba pointed out, the more info you give us in the beginning, the more we can help :)

Edit: I feel the need for a UDF, you select a setup file and then it provides you with a list of the install switches available for that file. ;)

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

Edit: I feel the need for a UDF, you select a setup file and then it provides you with a list of the install switches available for that file. :)

Ok, that would require someone being able to read the software's mind. Not every piece of software responds to /? or /help to give a list of command line switches. Some ignore invalid switches and run normally.

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

  • Moderators
Posted (edited)

Agreed, Blue_Drache. But I'm thinking running a /? against the setup, and if it does not respond, then informing the end user it doesn't support switches. Just a passing thought, something I might play around with :)

Edit: Not to mention, you can tell which switches it will support based on the packaging style. An Installshield Setup.exe is a lot more standardized than one done with NSIS, for example. Most setups list the tool used somewhere in the properties.

Again, not a quick script, but will be fun to experiment with.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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