dottbin Posted October 16, 2008 Posted October 16, 2008 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 can you help me?BR,dottbinRun('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}")
Kelsenellenelvian Posted October 16, 2008 Posted October 16, 2008 simply use /S (Note the CAPITOL "S")
dottbin Posted October 16, 2008 Author Posted October 16, 2008 simply use /S (Note the CAPITOL "S")can you explain it better? where must I insert command /S?BR,dottbin
X-FoRcE Posted October 16, 2008 Posted October 16, 2008 Add this line what program to use; "Winrar.exe /S"
dottbin Posted October 16, 2008 Author Posted October 16, 2008 Add this line what program to use; "Winrar.exe /S"thanks X-FoRcE, I understood what Kelsenellenelvian said, but you answered me before!! thanks 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
urie Posted October 16, 2008 Posted October 16, 2008 If winrar key is in same folder you are installing from it will automatically grab the key
dottbin Posted October 17, 2008 Author Posted October 17, 2008 If winrar key is in same folder you are installing from it will automatically grab the keyno, it is not in same folder.Anyway I solved using filecopy command thanks for your support!!!dottbin
spacesurfer Posted October 17, 2008 Posted October 17, 2008 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now