John Bigboote Posted March 10, 2006 Share Posted March 10, 2006 (edited) I have been refining my unattended Windows XP SP2 + Hotfix rollups thanks to TommyP's excellent HFSLIP tool and the efforts of all of the tireless MSFN Unattended Windows junkies here.I've run into an odd problem trying to get AVG-Free to install from a fired RunOnceEx command.The error log:Parameters:/HIDE/DONT_START_APPS/NO_WELCOME/NO_AVGW_STARTUP/LOG "C:\WINDOWS\AVGInstall.log"Features:+ fea_AVG_Remove [ ]+ fea_AVG_Remote_Install [ ]+ fea_AVG_UserData [X]+ fea_AVG_VirusVaultData [X]+ fea_AVGWin [X]| + fea_AVG_Data_Dir [X]| + fea_AVG_ResidentShield [X]| + fea_AVG_Firewall [ ]| + fea_AVG_CC_Startup [X]| + fea_AVG_Cl [ ]| + fea_AVG_Bootup [X]| + fea_AVG_EmailPlugins [X]| | + fea_AVG_Bat_plugin [ ]| | + fea_AVG_Exchange_plugin [ ]| | + fea_AVG_Eudora_plugin [ ]| | + fea_AVG_EMC [X]| + fea_AVG_Office_2000_plugin [X]+ fea_AVGDOS [ ]SNIPResult:Local machine: installation failed Initialization: Error: Conflict with pending file rename operations detected for file "C:\WINDOWS\system32\shlwapi.dll". Restart the computer to finish the operations. - created : SetupMachine.cpp (8384) - thrown : SetupMachine.cpp (8384) - caught : SetupMachine.cpp (8388) - returned: SetupMachine.cpp (8388) - thrown : SetupMachine.cpp (8325) - caught : SetupMachine.cpp (8352) - returned: SetupMachine.cpp (8352) - thrown : SetupMachine.cpp (9458) - caught : SetupMachine.cpp (9464)Now, my RunOnceEx.cmd setup script:cmdow @ /HID@Echo OffFOR %%i IN (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 %%i:\win51ip.SP2 SET CDROM=%%i:SET PP=%cdrom%\Apps\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Broken M$ KB912945 Update" /fREG ADD %KEY%\000 /V 1 /D "%PP%KB912945.exe /q /n /z" /fREG ADD %KEY%\001 /VE /D "Nero Burning ROM 6.6.0.18" /fREG ADD %KEY%\001 /V 1 /D "%PP%Nero.exe /SILENT /NOREBOOT /SN=DEAD-BEEF-FEED-ABBA-FACE-CAFE /WRITE_SN" /fREG ADD %KEY%\002 /VE /D "AVG Anti-Virus Free Edition" /fREG ADD %KEY%\002 /V 1 /D "%PP%avgfree.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /LOG %systemRoot%\AVGInstall.log" /fREG ADD %KEY%\003 /VE /D "Toshiba MPEG-2 Decoder" /fREG ADD %KEY%\003 /V 1 /D "msiexec /i %PP%TMP2VDec.msi /passive /norestart" /fREG ADD %KEY%\004 /VE /D "Removing M$ Messenger bul*****..." /fREG ADD %KEY%\004 /V 1 /D "rundll32 advpack.dll,LaunchINFSection %systemRoot%\INF\msmsgs.inf,BLC.Remove" /fREG ADD %KEY%\005 /VE /D "Removing M$ Messenger bul***** (once and for all!)" /fREG ADD %KEY%\005 /V 1 /D "rundll32 setupapi,InstallHinfSection BLC.Remove 128 %systemRoot%\INF\msmsgs.inf" /fEXITI've never seen this sort of error before... the log shows the RARSFX is being fully decompressed in the C:\WINDOWS\TEMP area, so running it from CD-ROM isn't the problem. I've also eliminated corruption by typing the same effective install command from the command line - it works flawlessly.I imagine the "broken" KB update which can't integrate is possibly trying to queue up a file modification on the same file... I'm about to try to re-queue another install event (RunOnceEx queueing another RunOnceEx - ick)...Or perhaps I can move this install to a T-12 time thing?Any suggestions would be welcome.Yours in Red Lectroid Domination,John Bigbooté Edited March 17, 2006 by John Bigboote Link to comment Share on other sites More sharing options...
John Bigboote Posted March 17, 2006 Author Share Posted March 17, 2006 Just as a follow-up to this post.Moving the AVG install in the RunOnceEx.cmd up to the first position (just renumbering the item) seems to have fixed the problem with the AVG install failing due to a "PENDING UPDATE" conflict. Both the buggy KB update and AVG were correctly installed after this change.Note: this does nothing for the "auto-update" definitions issue which seems to be still unresolved at this point.Yours in Red Lectroid Domination,John Bigbooté Link to comment Share on other sites More sharing options...
Guest matthewt Posted December 29, 2006 Share Posted December 29, 2006 For AVG-Free to install from a fired RunOnceEx command, see http://unattended.msfn.org/unattended.xp/view/web/31 When conflict with pending file rename operations are detected, it's best to convert to your checklist to make sure everything is in order! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now