Jump to content

Recommended Posts

Posted

hello

I tried the switches /S on winamp

now i got a silent installation but the register windows show up at the end :/

can you tell me how to hide it ?

thx for help

++


Posted

or do it with autoit:

If $CmdLine[0]<> 1 Then

msgbox(0,"Error","Usage: winampsilent.exe winamp503_full.exe")

Else       

        Run ($CmdLine[1])

WinWait ( "Winamp Setup ", "License Agreement")

ControlClick ( "Winamp Setup ", "License Agreement", "Button2")

        WinWait ( "Winamp Setup ", "Choose Components")

        WinMove("Winamp Setup ", "Choose Components", 0, 0)

        MouseClick ( "left" , 210, 191, 1, 0)

        MouseClick ( "left" , 210, 272, 1, 0)

        ControlClick ( "Winamp Setup ", "Choose Components", "Button2")

        WinWait ( "Winamp Setup ", "Choose Install Location")

ControlClick ( "Winamp Setup ", "Choose Install Location", "Button2")

        WinWait ( "Winamp Setup ", "Choose Install Options")

        WinMove("Winamp Setup ", "Choose Install Options", 0, 0)

        MouseClick ( "left" , 191, 192, 1, 0)

        MouseClick ( "left" , 191, 271, 1, 0)

ControlClick ( "Winamp Setup ", "Choose Install Options", "Button2")

        WinWait ( "Winamp Setup", "Internet Connection")       

        WinMove("Winamp Setup", "Internet Connection", 0, 0)

        ControlClick ( "Winamp Setup", "Internet Connection", "ComboBox1")       

        sleep(500)

        MouseClick ( "left" , 128, 174, 1, 0)

        ControlClick ( "Winamp Setup", "Internet Connection", "Button2")

        WinWait ( "Winamp Setup", "Interface")

ControlClick ( "Winamp Setup", "Interface", "Button2")

        WinWait ( "Add Media to Library", "Add Media")

ControlClick ( "Add Media to Library", "Add Media", "Button3")

        ControlClick ( "Add Media to Library", "Add Media", "Button2")

        ProcessClose("Winamp.exe")

        RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft\Winamp", "regname", "REG_SZ", "name")

        RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Nullsoft\Winamp", "regkey", "REG_SZ", "serial")

EndIf

Posted

Yup!

The switches have been same all the way from 2.81 to 5.03.

But, the existence of 5.03c is news to me. Is it real?

I know of 5.03, but not a "c" sub-release version.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...