Jump to content

Recommended Posts

Posted

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

Posted

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

  • Moderators
Posted

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.

Posted

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

Posted

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

  • Moderators
Posted

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.

Posted

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.

Posted

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???

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
×
×
  • Create New...