Moderators Melba23 Posted February 1, 2012 Moderators Posted February 1, 2012 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 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Moderators Melba23 Posted February 2, 2012 Moderators Posted February 2, 2012 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 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Moderators JLogan3o13 Posted February 2, 2012 Moderators Posted February 2, 2012 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!
PRM Posted February 2, 2012 Author Posted February 2, 2012 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}
PRM Posted February 3, 2012 Author Posted February 3, 2012 Thanks JLogan3013 it worked thank you all once again...
Moderators JLogan3o13 Posted February 3, 2012 Moderators Posted February 3, 2012 (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 February 3, 2012 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!
Blue_Drache Posted February 3, 2012 Posted February 3, 2012 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 JLogan3o13 Posted February 3, 2012 Moderators Posted February 3, 2012 (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 February 3, 2012 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!
AdmiralAlkex Posted February 5, 2012 Posted February 5, 2012 Again, not a quick script, but will be fun to experiment with.Simpsons wakillon (almost) did it.You could play with that perhaps. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
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