eidolen Posted January 24, 2008 Posted January 24, 2008 Hi all,Been searching for a while now and found mixed information on what I'm trying to do. I'm trying to install Kerio PF 2.15 via RunOnceEx.cmd. Under the switch archive it gives a batch file example instead of RunOnceEx. In the batch file example it links to instructions on how to extract the setup.iss file and uses Kerio as the example except it is using a CD install. The command it says to use isstart /wait %systemdrive%\install\Application\Application_name\Setup.exe -sThe command for a RunOnceEx.cmd from CD is%KEY%\045 /VE /D "Kerio Personal Firewall 2.1.5" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\apps\KPF\Setup.exe -s -f2\"%systemdrive%\kerio.log\"" /fMy questions are this:Is the first example only for use with batch files?The example for the CD RunOnceEx doesn't use a wait command so do I just use the second example for a folder install?It says it must have a log file specified for CD install but does that hold true for a folder install?Would the following work for what I want?Extract the KPF2.15.exe to a root folder in my source folder named "Software"Run setup.msi -RInstall KPF but don't rebootCopy setup.iss from my windows folder to my "Software" folder.Delete original KPF2.15.exeCreate the following RunOnceEx.cmd---------------------------------------------------------------------------------------------------cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /f%KEY%\005 /VE /D "Kerio Personal Firewall 2.1.5" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Software\KPF\Setup.exe -s -f2" /f------------------------------------------------------------------------------------------------------Sorry if I've overlooked something obvious but I'm not a programmer and realize that one misplaced variable can mess up everything. I got a little stumped with the start and wait commands used in the first example but not used for the CD install.Any insight would be most appreciated.Best Regards,Eidolen
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