July 30, 200818 yr Well im making an autoit for daemon tools, well here it is.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}")exitI want to make it a silent install but when I put the ,"",@SW_HIDE behind "DAEMONTools.exe", It just hangs. ANy suggestions?
August 13, 200818 yr 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.
August 14, 200818 yr Please look at these topics:How do i hide the install window in autoitCan 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.
August 14, 200818 yr Thanks for that, MHz, I certainly stand corrected (never say never ). In hindsight I do recall folks using the WinMove() function--but forgot about it--but never noticed WinSetTrans() in the help file's function reference. Very nice, I'm going to have to start playing with that!
December 19, 200817 yr Hi allAfter 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: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")exitThis 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 Edited December 19, 200817 yr by atolica
December 19, 200817 yr Here is for DT-Lite 4.30.2Run("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 ThenProcessClose($PID)EndIf$PID = ProcessExists("IEXPLORE.EXE")If $PID ThenProcessClose($PID)EndIf$PID = ProcessExists("opera.exe")If $PID ThenProcessClose($PID)EndIfRun("C:\Program Files\DAEMON Tools Lite\daemon.exe")exit
Create an account or sign in to comment