Jump to content

Recommended Posts

Posted

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" /f
REG ADD %KEY%\045 /V 1 /D "%CDROM%\software\WinRAR\wrar340.exe /s" /f
REG ADD %KEY%\045 /V 2 /D "REGEDIT /S %CDROM% \software\WinRAR\winrar.reg" /f

Most 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


Posted (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 :P

edit: the lines should look like

REG ADD %KEY%\045 /VE /D "WinRAR 3.40" /f
REG ADD %KEY%\045 /V 1 /D "%CDROM%\software\WinRAR\wrar340.exe /s" /f
REG 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 :D

Edited by SiMoNsAyS
Posted

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.

Posted

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...

Posted

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 :)

Posted
if you open winrar you can go to options>import/export>export config and you'll obtain a similar file. hope it helps  :P

Thanks SiMoNsAyS for that tip. Can you believe I've never noticed that option. :lol:

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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