arielsa Posted December 8, 2005 Posted December 8, 2005 (edited) Hi,I'm trying to create my unattended version using RunOnceEx and for some reason the Symantec AntiVirus gets unpacked but does not get installed. I've tried to use the SFX option of winrar to make it execute after unpacking but it didn't work. also tried to use the command "/wait" which didn't help much.this is my RunOnceEx file. any of you guys have any idea about what to do? (I'm not using an extracted folder of SAV since my CD is already 700MB after reducing it's size...)cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdbeRdr70_enu_full.exe /s /v/qn" /fREG ADD %KEY%\010 /VE /D "JVM" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\jre-1_5_0_06-windows-i586-p.exe /s /v/qn" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\SunJava\RemoveSunJavaUpdateCheck.reg" /fREG ADD %KEY%\015 /VE /D "WinRAR 3.30" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\WRAR330.exe /s" /fREG ADD %KEY%\020 /VE /D "Symantec AV Corp 10.0.1.1000" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\v10.0.1.1000.exe /wait" /fREG ADD %KEY%\020 /V 2 /D "%systemdrive%\v10.0.1.1000\SymantecAntivirus.msi /Quiet /norestart" /fREG ADD %KEY%\025 /VE /D "Win Iso 5.3" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\winiso53.exe /verysilent /sp-" /fREG ADD %KEY%\035 /VE /D "Ad-Aware" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\aawsepersonal.exe /s" /fREG ADD %KEY%\040 /VE /D "ie-spell" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\ieSpellSetup210552.exe /S" /fREG ADD %KEY%\045 /VE /D "Changing Resolution" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\1365VidChng.exe 1024X768X24@75 -q" /fREG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITThanks... Edited December 8, 2005 by arielsa
cluberti Posted December 8, 2005 Posted December 8, 2005 Well, you're missing about 80% of the command needed to make it work. Try the following:REG ADD %KEY%\020 /V 2 /D "\"%systemdrive%\v10.0.1.1000\SymantecAntivirus.msi\" REBOOT=ReallySuppress RUNLIVEUPDATE=0 ADDLOCAL=SAVMain,SAVUI,SAVHelp,EMailTools,OutlookSnapin,Pop3Smtp,QClient NETWORKTYPE=2 ENABLEAUTOPROTECT=1 /qn" /f
prathapml Posted December 8, 2005 Posted December 8, 2005 I see a problem with this switch (what does it do? did you mean to have it as, "start /wait filename.exe" instead?):%systemdrive%\install\v10.0.1.1000.exe /waitAnd yes, the switches for the actual install seem too little - maybe SAV runs into problems with the liveupdate?Instead of:/Quiet /norestartTry this:/QB RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESSAnd finally, do some testing. Try installing from that file at a command-line when windows is running in normal mode. Does it complain of missing/corrupted files?
arielsa Posted December 11, 2005 Author Posted December 11, 2005 Thank you both. when I'm trying it from the command line (on VMWare - after it didn't install) it works fine with the same RunOnceEx.when it's on the first installation - it just doesn't install it. no error reported. the files are extracted but setup doesn't run and the runOnceEx continues...Cluberti, I've received an error about the "OutlookS" parameter, any idea why could it be? could you explain about those parameters a bit?And last thing, is there a way to test it without running through the whole installation? (when I've tried to run only the RunOnceEx from windows it worked fine...)Many Thanks!
arielsa Posted December 11, 2005 Author Posted December 11, 2005 Another thing i taught about, might it be something with the extraction of the files?they extract as expected but can it prevent the setup from running??
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