Sign in to follow this  
Followers 0
coucou

Help on DivX 6.4 Create Bundle silent installation

9 posts in this topic

Hi,

I'm trying to write a script for silent install DivX 6.4 Create Bundle

Here bellow the complete script for French and English installation.

You can notice that i tested to uncheck "Voir des films en DivX" then [Fermer] as the command here bellow, It jammed at the end and wouldn't finish (see image bellow).

;

ControlCommand("Installation de DivX for Windows", "Installation terminée", "Button4", "UnCheck", "")
or
ControlClick("Installation de DivX for Windows", "DivX for Windows", "Button4")
then
ControlClick("Installation de DivX for Windows", "DivX for Windows", "Button2")
or
;Send("!f")

Any help will be appreciated

coucou

Posted Image

Share this post


Link to post
Share on other sites



since the button has focus why not just controlsend enter or something

Share this post


Link to post
Share on other sites

TNX thatsgreat2345 for yr reply,

I don't know much about controlsend, but it seems that function "Sends a string of characters to a control".

I can't use {ENTER} directly, because i have to uncheck "Voir des films en DivX" (Button4).

I think, AutoIt does not detect that last screen

WinWait("Installation de DivX for Windows", "Installation terminée")

Anyone can test?

Regards

coucou

Share this post


Link to post
Share on other sites

Add

Opt("TrayIconDebug", 1)

to the top of your script and hover your mouse over the systray icon when it stalls so you can see which line it stops at.

:whistle:

Share this post


Link to post
Share on other sites

Hi MHz,

Sorry for the delay, i was out.

I added

Opt("TrayIconDebug", 1)
, the script stop at

Line: WinWait("Installation de DivX for Windows", "Abonnez vous")

It is the screen just before the one i'm waiting for (see image here above)

here a part of the script concerned. You'll find In my first post a the link for the entire script file.

;bulletins de DivX
WinWait("Installation de DivX for Windows", "Abonnez vous")
ControlClick("Installation de DivX for Windows", "Abonnez vous", "Button2")

;FIN
WinWait("Installation de DivX for Windows", "DivX for Windows")
;ControlCommand("Installation de DivX for Windows", "Installation terminée", "Button4", "UnCheck", "Installation de DivX for Windows")
ControlClick("Installation de DivX for Windows", "Installation terminée", "Button4")
sleep(500)
ControlClick("Installation de DivX for Windows", "Installation terminée", "Button2")
;Send("!f")

Any suggestion be welcome

coucou

Share this post


Link to post
Share on other sites

Hi MHz,

Sorry for the delay, i was out.

I added

Opt("TrayIconDebug", 1)
, the script stop at

Line: WinWait("Installation de DivX for Windows", "Abonnez vous")

It is the screen just before the one i'm waiting for (see image here above)

here a part of the script concerned. You'll find In my first post a the link for the entire script file.

Any suggestion be welcome

coucou

Since the script stops at the previous window then the one that concerned you, then you may want to use Adlib on the previous window if it does exist during the installation.

This altered script may work for you.

DivXCreate640_Install.au3

:whistle:

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Many TNX MHz for yr help.

Unfortunately it doesn't help.

In fact, with yr script i got the screen "Abonnez-vous" (or "Sign up" when english language detected) BUT it's jammed with that screen, can't go further. :">

I added

Opt("TrayIconDebug", 1)
the the systray icon disappear when the software being installed. ;)

I found the answer not so neat but it works

I noticed, that the "Abonnez-vous" screen appears ONLY when the Internet is enabled.

As i'm looking to silent install this software unattended (Internet disabled).... then, i delete the commands of it... :whistle:

Anyway, if you have a better solution, working with or/and without Internet connected... i buy it.

Regards

coucou

Edited by coucou

Share this post


Link to post
Share on other sites

Many TNX MHz for yr help.

Unfortunately it doesn't help.

In fact, with yr script i got the screen "Abonnez-vous" (or "Sign up" when english language detected) BUT it's jammed with that screen, can't go further. :">

I added

Opt("TrayIconDebug", 1)
the the systray icon disappear when the software being installed. :P
Well, that is a concern if the systray icon disappears. That means that the last WinWait() was passed during the installation somehow.

I found the answer not so neat but it works

I noticed, that the "Abonnez-vous" screen appears ONLY when the Internet is enabled.

As i'm looking to silent install this software unattended (Internet disabled).... then, i delete the commands of it... :whistle:

Anyway, if you have a better solution, working with or/and without Internet connected... i buy it.

Regards

coucou

"Abonnez-vous" is within the Adlib function so should only automate the window if it does appear. Removing it will only mean the script will not function correct when you do have an internet connection while installing.

I do not know french well enough to better your attempt. I'll take another try with using a loop to automate the install. Without my testing of this, it may need corrections to make it work well if it even does work.

DivXCreate640_Install2.au3

;)

Share this post


Link to post
Share on other sites

WOOOOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWW AWESOME :whistle:

It works Well Done ;)

Regards

coucou

sent you a PM

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0