dottbin Posted October 16, 2008 Share 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}") Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 16, 2008 Share Posted October 16, 2008 simply use /S (Note the CAPITOL "S") Link to comment Share on other sites More sharing options...
dottbin Posted October 16, 2008 Author Share Posted October 16, 2008 simply use /S (Note the CAPITOL "S")can you explain it better? where must I insert command /S?BR,dottbin Link to comment Share on other sites More sharing options...
X-FoRcE Posted October 16, 2008 Share Posted October 16, 2008 Add this line what program to use; "Winrar.exe /S" Link to comment Share on other sites More sharing options...
dottbin Posted October 16, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
urie Posted October 16, 2008 Share Posted October 16, 2008 If winrar key is in same folder you are installing from it will automatically grab the key Link to comment Share on other sites More sharing options...
dottbin Posted October 17, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
spacesurfer Posted October 17, 2008 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now