egil Posted July 29, 2004 Share Posted July 29, 2004 Hi allHope somebody got some insights in to this, cus i've been staring at it for hours now.When I run my RunOnceEx.cmd file, and then run this from the Run menu - rundll32.exe iernonce.dll,RunOnceExProcess, it all works out perfect, but if I run RunOnceEx.cmd then reboots, things start to go wrong (I do this to have the RunOnceEx environment run as it would during an unattended install - and I do get the following problems during an unattended install as well).In particular, IE, DirectX and QuickTime seem to fail. QuickTime tells me that QTPluginInstall.exe has generated errors and must be restarted.When DirectX and IE are installed via the RunOnceEx windows bitches about 6-8 .sys files that cant do something with another file, mostly hal.dll (these files include: mskssrv.sys, STREAM.sys, MPE.sys, steamip.sys, slip.sys, ccdecode.sys, nabtsfec.sys, wstcodec.sys) .If I install via a normal .cmd file, that just calles the installers as RunOnceEx does, it also works out just fine. So is there anything special about the RunOnceEx section when its being run just after logon?EDIT: This is for a Windows 2000 Pro unattended installation, being delivered from a RIS server. Everything else works out as it should.Heres my RunOnceEx.cmd:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\CommonApplications\AcrobatReader6\AdbeRdr60_enu_full.exe -p"""-s /v\"""/qn\""" /fREG ADD %KEY%\010 /VE /D "WinZip 9" /fREG ADD %KEY%\010 /V 1 /D "msiexec /i \"%systemdrive%\install\CommonApplications\WinZip9\winzip9.msi\" /qb-!" /fREG ADD %KEY%\015 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\CommonApplications\.netFramework\netfx.msi /qb-!" /fREG ADD %KEY%\020 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\CommonApplications\SunJavaVM\j2re-1_4_2_05-windows-i586-p.exe /s /v/qn" /fREG ADD %KEY%\025 /VE /D "Windows Media Player 9 (2000)" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\CommonApplications\WMP9\MPSetup.exe /Q:A /R:N" /fREG ADD %KEY%\030 /VE /D "Real Player 10 Gold" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\CommonApplications\RealPlayer10Gold\RealPlayer10GOLD.exe -s" /fREG ADD %KEY%\035 /VE /D "QuickTime 6.5" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\CommonApplications\QuickTime\QuickTimeFullInstaller.exe" /fREG ADD %KEY%\040 /VE /D "DivX 5.2" /fREG ADD %KEY%\040 /V 1 /D "regsvr32.exe divxdec.ax /s" /fREG ADD %KEY%\045 /VE /D "XviD 1.0.1 video codec" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\CommonApplications\XviD\XviD-1.0.1.exe /sp- /silent /norestart" /fREG ADD %KEY%\050 /VE /D "Lotus Notes 6.0.3" /fREG ADD %KEY%\050 /V 1 /D "msiexec /i \"%systemdrive%\install\CommonApplications\LotusNotes\Lotus Notes 6.0.3.msi\" TRANSFORMS=\"%systemdrive%\install\CommonApplications\LotusNotes\UnattendedNotes.mst\" /qb-!" /fREG ADD %KEY%\055 /VE /D "Macromedia Shockwave Player 10" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\CommonApplications\Shockwave\Shockwave_Installer_Full.exe /S" /fREG ADD %KEY%\060 /VE /D "Macromedia Flash 7" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\CommonApplications\flash\flashplayer7_winax.exe /Q" /fREG ADD %KEY%\065 /VE /D "Microsoft DirectX 9c" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\CommonApplications\DirectX_9c\dxsetup.exe /silent" /fREG ADD %KEY%\070 /VE /D "PDF Creator 0.8.0" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\CommonApplications\PDFCreator0.8.0\PDFCreator-0_8_0_AFPLGhostscript.exe /VERYSILENT /SP- /NORESTART" /fREG ADD %KEY%\075 /VE /D "Internet Explorer 6 SP1 + updates" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\CommonApplications\IE6\ie.exe /Q:A /R:N" /fREG ADD %KEY%\080 /VE /D "Cleaning up - post installation" /fREG ADD %KEY%\080 /V 1 /D "net user aspnet /delete" /fEXIT 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