Mekrel Posted December 26, 2004 Share Posted December 26, 2004 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 offcmdow @ /HIDFOR %%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=%%dSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing applications" /fREG ADD %KEY%\001 /VE /D "Mozilla Firefox 1.0 + Extensions" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\$OEM$\$1\install\Applications\FIREFOX\FIREFOX.EXE /s" /fREG ADD %KEY%\001 /V 2 /D "%systemdrive%\install\Applications\FIREFOX\SETUP.EXE -MS -IRA" /fREG ADD %KEY%\001 /V 3 /D "%systemdrive%\install\Applications\FIREFOX\profile.exe /s" /fREG ADD %KEY%\001 /V 4 /D "%systemdrive%\install\Applications\FIREFOX\firefox.CMD" /fREG ADD %KEY%\001 /V 5 /D "%systemdrive%\install\Applications\FIREFOX\CLEAN.CMD" /fREG ADD %KEY%\002 /VE /D "Logitech Setpoint for MX1000 Mouse" /fREG ADD %KEY%\002 /V 1 /D "%CDROM%\$OEM$\$1\install\Applications\setpoint\setpoint.exe /s" /fREG ADD %KEY%\002 /V 2 /D "%systemdrive%\install\Applications\setpoint\setup.exe -s -f2\"%systemdrive%\setpoint.log\"" /fREG ADD %KEY%\003 /VE /D "Java 5.1 Runtime" /fREG ADD %KEY%\003 /V 1 /D "%CDROM%\$OEM$\$1\install\Applications\java\java.exe /s" /fREG ADD %KEY%\003 /V 2 /D "%systemdrive%\install\Applications\java\jre5.msi /QB ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1 REBOOT=Suppress" /fREG ADD %KEY%\004 /VE /D "WinAmp 5.07" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\Applications\winamp\winamp.msi /qb INI="%systemdrive%\install\Applications\winamp\winamp.ini"" /fREG ADD %KEY%\005 /VE /D "WinRar 3.14" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar341.exe /s" /fREG ADD %KEY%\005 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\WinRAR\cascade.reg" /fREG ADD %KEY%\006 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\Applications\MSN\MsnMsgs.msi /QN" /fREG ADD %KEY%\007 /VE /D "Adobe Reader 7.0" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\Applications\adbrdr\AdbeRdr70_enu_full.exe -q /s /v/qn" /fREG ADD %KEY%\008 /VE /D "Kerio Personal Firewall 4.1.2" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\Applications\kpf\kerio-pf-4.1.2-en-win.exe /s /v"/qn REBOOT=Suppress" /fREG ADD %KEY%\009 /VE /D "Media Codecs" /fREG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\Applications\batches\codecs.exe /s" /fREG ADD %KEY%\009 /V 2 /D "%systemdrive%\install\Applications\batches\codecs.cmd" /fand I have kerio-pf-4.1.2-en-win.exe in this folder:D:\XPCD\$OEM$\$1\install\Applications\kpfLike I said.... it was working before =( Link to comment Share on other sites More sharing options...
MCT Posted December 26, 2004 Share Posted December 26, 2004 dammit man, use the search function, i bet ive posted this switch 30 times lolkerio-pf-4.1.2-en-win.exe /s /v"/qn REBOOT=Suppressuse that dont modify it ... it works Link to comment Share on other sites More sharing options...
bonedaddy Posted December 26, 2004 Share Posted December 26, 2004 looks like your using the correct code, something else must have changed, check all...........EDITif 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 acap? 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 demandingas RunOnceEx on it's code....that's why I don't need \" . Link to comment Share on other sites More sharing options...
vcBlackBox Posted December 26, 2004 Share Posted December 26, 2004 @bonedaddyI don't see him leaving a space between kpf. I don't think that is his issue.@MCTI'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. @MekrelJust 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" /fREG 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 More sharing options...
MCT Posted December 26, 2004 Share Posted December 26, 2004 @vcBlackBoxthat code is 100% correct, his isnt , it installs fine on my pc with above codeps: i meant the "dammit" as a joke.. Link to comment Share on other sites More sharing options...
Mekrel Posted December 26, 2004 Author Share Posted December 26, 2004 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 But I will rename it (obvious thing to do ;/ ) and try. Thanks ladsEDIT: Is a no go , @ vcBlackbox:Your code:REG ADD %KEY%\008 /VE /D "Kerio Personal Firewall 4.1.2" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\Applications\kpf\kpf412.exe /S /V[b]\[/b]"/qn REBOOT=Suppress\[b]"[/b]" /fWhat 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 , thanks.Weird, weird - the fact is was working and then stoped Link to comment Share on other sites More sharing options...
vcBlackBox Posted December 27, 2004 Share Posted December 27, 2004 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. Link to comment Share on other sites More sharing options...
Mekrel Posted December 27, 2004 Author Share Posted December 27, 2004 aha haa I see, like the \'s within the IE 5.0 CSS box model hack. Link to comment Share on other sites More sharing options...
muiz Posted March 4, 2005 Share Posted March 4, 2005 But how do i install kerio in advanced learning mode ? 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