Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.
Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.
We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.
Read Forum Rules
![]() ![]() |
Jul 30 2008, 12:33 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 233 Joined: 12-February 08 From: Canada Member No.: 176702 OS: Vista Ultimate x86
|
Well im making an autoit for daemon tools, well here it is.
CODE Run("DAEMONTools.exe") WinWait("DAEMON Tools Pro Advanced Edition 4.10.0218","Welcome to the DAEMON") Send("{ENTER}") WinWait("DAEMON Tools Pro Advanced Edition 4.10.0218","Please review the license") Send("{ENTER}") WinWait("DAEMON Tools Pro Advanced Edition 4.10.0218","Choose which feature") Send("{TAB}{DOWN}{DOWN}{SPACE}{DOWN}{DOWN}{SPACE}{ENTER}") WinWait("DAEMON Tools Pro Advanced Edition 4.10.0218","Choose Install Locat") Send("{ENTER}") WinWait("DAEMON Tools Pro Advanced Edition 4.10.0218","In order to install") Send("{ENTER}") WinWait("Select personal key file to use") Send("c:\dtemp\key.4100218{ENTER}") WinWait("DAEMON Tools Pro Advanced Edition 4.10.0218","Completing the DAEMON") Send("{space}{ENTER}") exit I want to make it a silent install but when I put the ,"",@SW_HIDE behind "DAEMONTools.exe", It just hangs. ANy suggestions? |
|
|
|
Aug 13 2008, 01:26 AM
Post
#2
|
|
|
Somewhat Knowledgeable Group: Supreme Sponsors Posts: 586 Joined: 30-September 03 From: Fox Valley, WI Member No.: 7533 OS: Vista Business x86
|
Yes, don't hide it. The Windows must be visible, that's the nature of AutoIt. You will never get a "silent" install, but you will find your unattended issues just vanished.
|
|
|
|
Aug 13 2008, 08:44 PM
Post
#3
|
|
|
SendToA3X v1.7 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1584 Joined: 2-August 04 Member No.: 26076 OS: XP Pro x86
|
Please look at these topics:
How do i hide the install window in autoit Can i use autoit ... In the initial code above, Send() requires an active and visible window to send to so I would at least expect WinWaitActive() to be used. WinWait() only waits for the window to appear. Look at WinWait(), WinActivate() and WinWaitActive() when using Send() or Mouse*() functions. You can hide an automated installation with AutoIt depending on various conditions that the certain installer allows. You may need to look at using WinWait() with the Control*() functions to achieve this. WinMove() and WinSetTrans() may be worth a look at using. Just about anything is possible with using AutoIt as you just need to understand how to do it. |
|
|
|
Aug 14 2008, 04:57 PM
Post
#4
|
|
|
Somewhat Knowledgeable Group: Supreme Sponsors Posts: 586 Joined: 30-September 03 From: Fox Valley, WI Member No.: 7533 OS: Vista Business x86
|
Thanks for that, MHz, I certainly stand corrected (never say never
|
|
|
|
Aug 18 2008, 09:05 PM
Post
#5
|
|
|
Member ![]() ![]() Group: Members Posts: 233 Joined: 12-February 08 From: Canada Member No.: 176702 OS: Vista Ultimate x86
|
Ah thanks MHz, I will try in a bit.
|
|
|
|
Dec 19 2008, 01:05 PM
Post
#6
|
|
|
Junior ![]() Group: Members Posts: 86 Joined: 15-December 05 From: Romania Member No.: 82557 OS: XP Pro x86
|
Hi all
After reading autoit documentation I thought of creating my own Daemon Tools Pro Advanced Edition autoit script, starting from x-shadow's script. This is for the latest Daemon Tools Pro 4.30.0303. I thought of running DT Pro Agent at last. By the way I bought the app. Here it is: QUOTE Run("DTPro4300303.exe") WinWait("DAEMON Tools Pro 4.30.0303","Please select a language.") Send("{ENTER}") WinWait("DAEMON Tools Pro 4.30.0303","Welcome to the DAEMON Tools Pro 4.30.0303 Setup Wizard") Send("{ENTER}") WinWait("DAEMON Tools Pro 4.30.0303","Please review the license") Send("{ENTER}") WinWait("DAEMON Tools Pro 4.30.0303","Choose Components") Send("{TAB}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{TAB}{TAB}{ENTER}") WinWait("DAEMON Tools Pro 4.30.0303","Choose Install Location") Send("{ENTER}") WinWait("DAEMON Tools Pro activation") Send("{ENTER}") WinWait("Select key-file") Send("dtproAdv.key{ENTER}{TAB}{TAB}name@somemail.com{TAB}{TAB}{SPACE}") WinWait("DAEMON Tools Pro 4.30.0303","Completing the DAEMON") Send("{SPACE}{ENTER}") Run("C:\Program Files\DAEMON Tools Pro\DTProAgent.exe") exit This just installs DT Pro without anything else. Just the first option/component is checked. If you want extra options modify this line starting from Send: WinWait("DAEMON Tools Pro 4.30.0303","Choose Components") Send("{TAB}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{TAB}{TAB}{ENTER}") Replace dtproAdv.key with your own key name and name@somemail.com with your registered email address. Greets, Atolica This post has been edited by atolica: Dec 19 2008, 01:14 PM |
|
|
|
Dec 19 2008, 01:47 PM
Post
#7
|
|
|
Junior ![]() Group: Members Posts: 86 Joined: 15-December 05 From: Romania Member No.: 82557 OS: XP Pro x86
|
Here is for DT-Lite 4.30.2
CODE Run("daemon4302-lite.exe")
WinWait("DAEMON Tools Lite 4.30.2","Please select a language.") Send("{ENTER}") WinWait("DAEMON Tools Lite 4.30.2","Welcome to the DAEMON Tools Lite 4.30.2 Setup Wizard") Send("{ENTER}") WinWait("DAEMON Tools Lite 4.30.2","Please review the license") Send("{ENTER}") WinWait("DAEMON Tools Lite 4.30.2","Choose Components") Send("{TAB}{TAB}{TAB}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{DOWN}{SPACE}{ENTER}") WinWait("DAEMON Tools Lite 4.30.2", "Support the DAEMON Tools Team") Send("{SPACE}{ENTER}") WinWait("DAEMON Tools Lite 4.30.2","Choose Install Location") Send("{ENTER}") WinWait("DAEMON Tools Lite 4.30.2","Completing the DAEMON") Send("{SPACE}{ENTER}") sleep(2000) ; Close browsers processes $PID = ProcessExists("firefox.exe") If $PID Then ProcessClose($PID) EndIf $PID = ProcessExists("IEXPLORE.EXE") If $PID Then ProcessClose($PID) EndIf $PID = ProcessExists("opera.exe") If $PID Then ProcessClose($PID) EndIf Run("C:\Program Files\DAEMON Tools Lite\daemon.exe") exit |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 9th January 2009 - 06:35 PM |