Jump to content

winrar silent install help


dottbin

Recommended Posts

hi all,

I would like to install winrar without seeing installatio screen. I used following code but it does not work, in fact when I launched the script, installation does not start :blushing:

can you help me?

BR,

dottbin

Run('F:\software\WinRAR.v3.71.Regged.Italiano-YAG\WinRAR.v3.71.Regged.Italiano-YAG\wrar371it.exe','',@SW_HIDE)
WinWait("WinRAR 3.71","Copyright © 1993-200")
If Not WinActive("WinRAR 3.71","Copyright © 1993-200") Then WinActivate("WinRAR 3.71","Copyright © 1993-200")
WinWaitActive("WinRAR 3.71","Copyright © 1993-200")
Send("{ENTER}")
WinWait("Configurazione WinRAR","Associa a WinRAR arc")
If Not WinActive("Configurazione WinRAR","Associa a WinRAR arc") Then WinActivate("Configurazione WinRAR","Associa a WinRAR arc")
WinWaitActive("Configurazione WinRAR","Associa a WinRAR arc")
Send("{DOWN}{SPACE}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}")
WinWait("Configurazione WinRAR","WinRAR è stato insta")
If Not WinActive("Configurazione WinRAR","WinRAR è stato insta") Then WinActivate("Configurazione WinRAR","WinRAR è stato insta")
WinWaitActive("Configurazione WinRAR","WinRAR è stato insta")
Send("{ENTER}")
WinWait("D:\Documents and Settings\All Users\Start Menu\Programs\WinRAR","FolderView")
If Not WinActive("D:\Documents and Settings\All Users\Start Menu\Programs\WinRAR","FolderView") Then WinActivate("D:\Documents and Settings\All Users\Start Menu\Programs\WinRAR","FolderView")
WinWaitActive("D:\Documents and Settings\All Users\Start Menu\Programs\WinRAR","FolderView")
Send("{ALTDOWN}{F4}{ALTUP}")

Link to comment
Share on other sites


Add this line what program to use;

"Winrar.exe /S"

thanks X-FoRcE, I understood what Kelsenellenelvian said, but you answered me before!! thanks :thumbup

just a question, where can I find tutorial/commands to copy a file in some directory?

Now I would like to insert file rarreg.key

Link to comment
Share on other sites

Winrar is a no-hassel install. If you've installed it or elsewhere, just copy the winrar folder in program files. It will run from anywhere as a portable app. thus, you can make an "Install" if you will, of this app simply by copying the files anywhere.

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

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