homie742 Posted March 19, 2005 Share Posted March 19, 2005 Hi all,I'm trying to get WinRAR to install silently. I extracted the SFX to wrar342 and put my rarreg.key into the extracted folder, then create an SFX of that folder and add the comments from the original installer + Silent = 1. However, when I run it, WinRAR install just fine but at the end a window pops up asking me to choose what extension to associate WinRAR with. I remember there being a way to have it so that window doesn't pop up, but it was a part of the Application install page on the Unattended guide which is no longer there. Anyone has any idea?Thanks in advance! Link to comment Share on other sites More sharing options...
glent Posted March 19, 2005 Share Posted March 19, 2005 Download the Installer and use /S command like winrar.exe /S Link to comment Share on other sites More sharing options...
jrf2027 Posted March 19, 2005 Share Posted March 19, 2005 You still have to use the /s switch, even if you've selected "Hide start dialog" and "overwrite all files" in the Modes tab of the self-extracting options when you created your installer with rarreg.key built-in.Don't ask me why, but it works for me. I had the same problem. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted March 19, 2005 Share Posted March 19, 2005 take the original setup file, open it with winrar. drop there your rarreg.key and then use "/S" switch Link to comment Share on other sites More sharing options...
homie742 Posted March 19, 2005 Author Share Posted March 19, 2005 thanks everybody. the "/S" switch works perfectly! Link to comment Share on other sites More sharing options...
RideGuy Posted March 26, 2005 Share Posted March 26, 2005 take the original setup file, open it with winrar. drop there your rarreg.key and then use "/S" switch <{POST_SNAPBACK}>When I try to add my rarreg.key to the original setup file (using winrar) I get this Message:! E:\XPCD\$OEM$\$1\Install\wrar342.exe: Cannot modify locked archiveAm I doing something wrong?RideGuyEDIT - Never mind. I just learned how to repack it with all the comments from the original SFX. Thanks. Link to comment Share on other sites More sharing options...
vortex0007 Posted March 27, 2005 Share Posted March 27, 2005 RideGuy,Would you be willing to share your step by step for how you did this? I can't get this to work. Link to comment Share on other sites More sharing options...
RideGuy Posted March 27, 2005 Share Posted March 27, 2005 RideGuy,Would you be willing to share your step by step for how you did this? I can't get this to work.<{POST_SNAPBACK}>Sure,- Right click on wrar342.exe and choose "Open with winrar".- Right click on any file in the archive and select "Show Information".- Select the SFX tab at the top.- Click on "Advanced SFX options..."- Select the "Text and icons" tab at the top"- Highlight and copy all the text in the "Text to display in the SFX window".- Close all open winrar windows.- Right click on wrar342.exe and choose "Extract to wrar342\" (or use the folder of your choice).- Open that folder.- Add your rarreg.key file if you have one.- Highlight all files and directories.- Right click and choose "Add to Archive..."- Select the "Create SFX archive" and "Create solid archive" tabs under Archive options.- Select the Comment tab.- Paste all the text you copies from the original wrar342.exe archive into the "Enter a comment manually" box.- Hit OK to finish.Now you have an SFX that will silently install with /S.ECHO.ECHO Installing WinRAR 3.42 ECHO Please wait...start /wait %systemdrive%\install\wrar342.exe /SRideGuy Link to comment Share on other sites More sharing options...
Cyberblizzard Posted April 1, 2005 Share Posted April 1, 2005 So is the following code correct?REG ADD %KEY%\050 /VE /D "WinRAR" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Software\WinRAR\WinRAR.exe /S" /fWith '/silent' I had the same problem as the topicstarter describes. 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