Jump to content
Sign in to follow this  
coucou

HELP! Silent install Skype with options unchecked

Recommended Posts

coucou

Hi,

I'm looking to install Skype 2.5 silently.

In fact it's possible to run it with switches like:

SkypeSetup.exe /VERYSILENT /SP-

But i'm looking to disable the install options: Launch Skype after Installation and Start Skype when the computer starts (see image bellow).

To get that i've to

1) Yes, I accept the Eula...: AutoIt command send("!a")

2) Click on [Options]

Here the given details with AutoIt Info for [Options]:

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<
Title:  Skype - Install
Class:  TWizardForm.UnicodeClass
Size:   X: 259  Y: 151  W: 506  H: 435

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 24   Y: 363  W: 75   H: 23
Control ID: 658002
ClassNameNN:    TTntButton.UnicodeClass1
Text:       Options

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
Options
Yes, I &accept the EULA and I have read the Privacy Statement
English
Select your language:
Please read the Skype End User License Agreement ("EULA") below, and the 
Skype End User License Agreement

3) Here the given details for the uncheck of "Launch Skype after Installation" neither "Start Skype when the computer starts":

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 75   Y: 144  W: 407  H: 150
Control ID: 1116716
ClassNameNN:    TTntCheckListBox.UnicodeClass1
Text:       

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

or/and

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 86   Y: 146  W: 388  H: 144
Control ID: 1509874
ClassNameNN:    TNewCheckListBox.UnicodeClass1
Text:       

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

Anyone can help on how yo Uncheck the options???

Regards

coucou

Share this post


Link to post
Share on other sites
exodius

Try

ControlCommand ( "Skype - Install", "", "1116716", "UnCheck", "" )

Otherwise I think you're gonna hafta send Tabs and press the Space Bar.

Share this post


Link to post
Share on other sites
coucou

TNX,

I'll test the ControlCommand and let you know frurther.

BTW, can i use the command bellow to get in [Options] section?

ControlClick("Skype - Install", "", "658002")

Regards

coucou

Share this post


Link to post
Share on other sites
SmOke_N

Have you tried the /nostartup switch for the command line parameters?


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
coucou

Hi,

There is NO need of /nostartup switch. By using

SkypeSetup.exe /VERYSILENT /SP-
, Skype is NOT launched after the Installation.

What i'm looking in partuculary is to disable "Start Skype when the computer starts". BTW, i couldn't found the disabling registry too.

Regards

coucou

Share this post


Link to post
Share on other sites
coucou

Hi,

checked the ControlCommand as advised by exodius... doesn'works

Here bellow the script i wrote. Tested working.

Run("SkypeSetup.exe")

WinWaitActive("Skype")
Send("!a")
controlclick("Skype", "", "TTntButton.UnicodeClass1")
Send("{TAB 3}{DOWN 2}{SPACE}{DOWN}{SPACE}")
Send("!i")

I'm opened for any suggestion replacing

Send("{TAB 3}{DOWN 2}{SPACE}{DOWN}{SPACE}")

Regards

coucou

Share this post


Link to post
Share on other sites
SmOke_N

I still don't understand why you don't just do the silent install with the command line parameters, then change the registry settings so it doesn't start on startup. Would be 2 lines that way.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
coucou

then change the registry settings so it doesn't start on startup.

Do you know what registry???

can't find it

coucou

Share this post


Link to post
Share on other sites
MHz

It could be in the Run keys, service keys or in the startup folder. I would doubt that it is in the driver startup. AutoRuns from Systernals may help you find the entry perhaps. A snapshot progam could help also.

Share this post


Link to post
Share on other sites
coucou

TNX MHz for the advise.

I used already snapshot progam without success.

Regarding Autoruns from Systernals, i never used it before. May you give me a small example how to use it to find the registers???

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  

×