IPB

Google Frontpage Forums Unattended CD/DVD Guide

> Unattended CD/DVD Guide Homepage · MSFN Forum Rules

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

 
Reply to this topicStart new topic
> Autoit Help (daemon tools)
x-Shadow-x
post 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
Country Flag


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?
Go to the top of the page
 
+Quote Post
blinkdt
post Aug 13 2008, 01:26 AM
Post #2


Somewhat Knowledgeable
Group Icon

Group: Supreme Sponsors
Posts: 586
Joined: 30-September 03
From: Fox Valley, WI
Member No.: 7533
OS: Vista Business x86
Country Flag


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. rolleyes.gif
Go to the top of the page
 
+Quote Post
MHz
post 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
Country Flag


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.

smile.gif
Go to the top of the page
 
+Quote Post
blinkdt
post Aug 14 2008, 04:57 PM
Post #4


Somewhat Knowledgeable
Group Icon

Group: Supreme Sponsors
Posts: 586
Joined: 30-September 03
From: Fox Valley, WI
Member No.: 7533
OS: Vista Business x86
Country Flag


Thanks for that, MHz, I certainly stand corrected (never say never rolleyes.gif ). 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!
Go to the top of the page
 
+Quote Post
x-Shadow-x
post 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
Country Flag


Ah thanks MHz, I will try in a bit.
Go to the top of the page
 
+Quote Post
atolica
post 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
Country Flag


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
Go to the top of the page
 
+Quote Post
atolica
post 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
Country Flag


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
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th January 2009 - 07:33 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy