Jump to content

Kerio Personal Firewall woes


Mekrel

Recommended Posts

Hey all.

Ive had kerio working for ages, and then it seemed to stop installing when I integrated the codec pack.

During the RunOnceEx, it just highlights Kerio but takes like a milli second to go onto the next programe, as if its being skipped.

@echo off
cmdow @ /HID
FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\CD.TXT SET CDROM=%%d

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing applications" /f
REG ADD %KEY%\001 /VE /D "Mozilla Firefox 1.0 + Extensions" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\$OEM$\$1\install\Applications\FIREFOX\FIREFOX.EXE /s" /f
REG ADD %KEY%\001 /V 2 /D "%systemdrive%\install\Applications\FIREFOX\SETUP.EXE -MS -IRA" /f
REG ADD %KEY%\001 /V 3 /D "%systemdrive%\install\Applications\FIREFOX\profile.exe /s" /f
REG ADD %KEY%\001 /V 4 /D "%systemdrive%\install\Applications\FIREFOX\firefox.CMD" /f
REG ADD %KEY%\001 /V 5 /D "%systemdrive%\install\Applications\FIREFOX\CLEAN.CMD" /f

REG ADD %KEY%\002 /VE /D "Logitech Setpoint for MX1000 Mouse" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\$OEM$\$1\install\Applications\setpoint\setpoint.exe /s" /f
REG ADD %KEY%\002 /V 2 /D "%systemdrive%\install\Applications\setpoint\setup.exe -s -f2\"%systemdrive%\setpoint.log\"" /f

REG ADD %KEY%\003 /VE /D "Java 5.1 Runtime" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\$OEM$\$1\install\Applications\java\java.exe /s" /f
REG ADD %KEY%\003 /V 2 /D "%systemdrive%\install\Applications\java\jre5.msi /QB ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1 REBOOT=Suppress" /f

REG ADD %KEY%\004 /VE /D "WinAmp 5.07" /f
REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\Applications\winamp\winamp.msi /qb INI="%systemdrive%\install\Applications\winamp\winamp.ini"" /f

REG ADD %KEY%\005 /VE /D "WinRar 3.14" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar341.exe /s" /f
REG ADD %KEY%\005 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\WinRAR\cascade.reg" /f

REG ADD %KEY%\006 /VE /D "MSN Messenger 6.2" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\Applications\MSN\MsnMsgs.msi /QN" /f

REG ADD %KEY%\007 /VE /D "Adobe Reader 7.0" /f
REG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\Applications\adbrdr\AdbeRdr70_enu_full.exe -q /s /v/qn" /f

REG ADD %KEY%\008 /VE /D "Kerio Personal Firewall 4.1.2" /f
REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\Applications\kpf\kerio-pf-4.1.2-en-win.exe /s /v"/qn REBOOT=Suppress" /f

REG ADD %KEY%\009 /VE /D "Media Codecs" /f
REG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\Applications\batches\codecs.exe /s" /f
REG ADD %KEY%\009 /V 2 /D "%systemdrive%\install\Applications\batches\codecs.cmd" /f

and I have kerio-pf-4.1.2-en-win.exe in this folder:

D:\XPCD\$OEM$\$1\install\Applications\kpf

Like I said.... it was working before =(

Link to comment
Share on other sites


looks like your using the correct code, something else must have

changed, check all...........

EDIT

if there is a space in kp f then that is your problem......................

This is what I use..............and works all the time...what is it MCT? The v is a

cap? Or is it the quote " mark?

%cdrom%\software\kerio\kpf412.exe /s /v"/qn REBOOT=Suppress"

ahh....you know I came right out of a batch file into WPI. And WPI is not as demanding

as RunOnceEx on it's code....that's why I don't need \" .

Link to comment
Share on other sites

@bonedaddy

I don't see him leaving a space between kpf. I don't think that is his issue.

@MCT

I'm sorry but I'm sure you're forgetting a closing quotation mark. If you look at his code, its very similiar to yours - mismatched quotation marks. Comon, it's the holiday season, lighten up. ;)

@Mekrel

Just a suggestion, rename kerio-pf-4.1.2-en-win.exe to something shorter like kpf412.exe and then use this code and it should run fine.

REG ADD %KEY%\008 /VE /D "Kerio Personal Firewall 4.1.2" /f
REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\Applications\kpf\kpf412.exe /S /V\"/qn REBOOT=Suppress\"" /f

Link to comment
Share on other sites

Well I didnt search because I didnt honestly think the switch was wrong.

I had it installing fine on my last 5 test installs.(so it wouldnt just stop working) Seemed not to install when I added the media codecs.

This was 4.11, so I downloaded 4.12 and tried the same syntax and was also a no go.

I know what the code is, I pasted it from you from another thread MCT about 2 weeks ago :P

But I will rename it (obvious thing to do ;/ ) and try. Thanks lads

EDIT: Is a no go :( ,

@ vcBlackbox:

Your code:

REG ADD %KEY%\008 /VE /D "Kerio Personal Firewall 4.1.2" /f
REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\Applications\kpf\kpf412.exe /S /V[b]\[/b]"/qn REBOOT=Suppress\[b]"[/b]" /f

What does this extra backslash do and whats the extra " for?

I havent tried your switch yet, but im also going to change my RunonceEX commands to sets of 5's - instead of going up in ones.

Edit#2: vcBlackBox - your capplication switch works :D , thanks.

Weird, weird - the fact is was working and then stoped :}

Link to comment
Share on other sites

What does this extra backslash do and whats the extra " for?

the \ is needed whenever you use quotes within a quote (nested quotes).

for example:

"outer \"inner\" outer"

gets translated to:

"outer "inner" outer"

I'm glad it worked out for you. I told you it would. :D

Link to comment
Share on other sites

  • 2 months later...

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