shamshasan Posted October 23, 2004 Share Posted October 23, 2004 I'm trying to place WinRAR into my RunOnceEx.cmd batch file. (I'm new to this...). A thorough search didn't resolve anything with winrar.reg.Using the (very thorough) batch file provided by SiMoNsAyS i get the following lines of code:REG ADD %KEY%\045 /VE /D "WinRAR 3.40" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\software\WinRAR\wrar340.exe /s" /fREG ADD %KEY%\045 /V 2 /D "REGEDIT /S %CDROM% \software\WinRAR\winrar.reg" /fMost RunOnceEx's do no more than the first two lines. I was wondering if and how important is the third line in SiMoNsAyS's code. The thread i'm reading through is '[XPCD Example]: BioHaZaRD Unattended PRoJeCT'.Thanks.Shams Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted October 23, 2004 Share Posted October 23, 2004 (edited) ok if i understand well you want to know what is the purpose of winrar.reg.the answer is that i use a reg file to add my preferences for winrar, for example my default compression profile and also it's used to associate rar files with that app.if you open winrar you can go to options>import/export>export config and you'll obtain a similar file. hope it helps edit: the lines should look like REG ADD %KEY%\045 /VE /D "WinRAR 3.40" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\software\WinRAR\wrar340.exe /s" /fREG ADD %KEY%\045 /V 2 /D "REGEDIT /S %CDROM%\software\WinRAR\winrar.reg"note that there isn't any space between %CDROM% and \software in the 3rd line.ps: if you want a copy of my winrar.reg file you can pm me Edited October 23, 2004 by SiMoNsAyS Link to comment Share on other sites More sharing options...
shamshasan Posted October 23, 2004 Author Share Posted October 23, 2004 GotiT!... you da man... Amazing thread by the way! A lot of stuff! I've just been reading it for 2 weeks and am finally getting down to an attempt. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted October 23, 2004 Share Posted October 23, 2004 glad to help i've forgotten a little the thread, i promise to renew it with new tips and tricks Link to comment Share on other sites More sharing options...
Radimus Posted October 23, 2004 Share Posted October 23, 2004 I've started to use the guide as well... converting to a 3 cd install (XP+patches, MSO+patches, Apps+reg). Using your guide it only took a day of testing (about 5 or 6 CD builds)All is going well, I'm going back and rebuilding the iexpress packages that use /qn to use /qb-! I like the progress bars and since the batch windows are suppressed with cmdow... Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted October 23, 2004 Share Posted October 23, 2004 i've finally built a xp installation that calls 1 cd and 1 dvd if they exist.now i install xp with my programs, office2003+photoshop, and the game medal of honor spearhead. i'll give instructions soon Link to comment Share on other sites More sharing options...
Cee-Kay Posted October 23, 2004 Share Posted October 23, 2004 if you open winrar you can go to options>import/export>export config and you'll obtain a similar file. hope it helps Thanks SiMoNsAyS for that tip. Can you believe I've never noticed that option. 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