Jump to content

Recommended Posts

Posted (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 off

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 7" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdbeRdr70_enu_full.exe /s /v/qn" /f

REG ADD %KEY%\010 /VE /D "JVM" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\jre-1_5_0_06-windows-i586-p.exe /s /v/qn" /f
REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\SunJava\RemoveSunJavaUpdateCheck.reg" /f

REG ADD %KEY%\015 /VE /D "WinRAR 3.30" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\WRAR330.exe /s" /f


REG ADD %KEY%\020 /VE /D "Symantec AV Corp 10.0.1.1000" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\v10.0.1.1000.exe /wait" /f
REG ADD %KEY%\020 /V 2 /D "%systemdrive%\v10.0.1.1000\SymantecAntivirus.msi /Quiet /norestart" /f

REG ADD %KEY%\025 /VE /D "Win Iso 5.3" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\winiso53.exe /verysilent /sp-" /f

REG ADD %KEY%\035 /VE /D "Ad-Aware" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\aawsepersonal.exe /s" /f

REG ADD %KEY%\040 /VE /D "ie-spell" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\ieSpellSetup210552.exe /S" /f

REG ADD %KEY%\045 /VE /D "Changing Resolution" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\1365VidChng.exe 1024X768X24@75 -q" /f


REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Thanks...

Edited by arielsa

Posted

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

Posted

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 /wait

And yes, the switches for the actual install seem too little - maybe SAV runs into problems with the liveupdate?

Instead of:

/Quiet /norestart

Try this:

/QB RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS

And 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?

Posted

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!

Posted

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

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