Jump to content

Recommended Posts

Posted

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}")


Posted
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

Posted
If winrar key is in same folder you are installing from it will automatically grab the key

no, it is not in same folder.

Anyway I solved using filecopy command :)

thanks for your support!!!

dottbin

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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