marcus_cps Posted April 7, 2007 Share Posted April 7, 2007 (edited) Hi. I'm trying to run DriverPacks finisher and start WPI (Windows Post Install) using RunOnceEx.But I cant make RunOnceEx to work fine.I read almoust everything about it and still cant make it work.I did it this way:1 - Did everything needed to modify my Windows source using NLITE.2 - Integrate DriverPacks using DriverPack's BASE (Method 2, Custom, with KTD, withou QuickStream Cache).3 - Created "$ OEM $" folder (without spaces).4 - Created "$ OEM $\$$\System32" folder and put QCHAIN.EXE and CMDOW.EXE inside it.5 - Created the file "$ OEM $\cmdlines.txt":[COMMANDS]"RunOnceEx.cmd"6 - Created the file "$ OEM $\RunOnceEx.cmd":cmdow @ /HID @echo offfor /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:set wpipath=%drive%\WPISET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Post Install Process" /fREG ADD %KEY%01 /VE /D "DriverPacks Finishing Procedure" /fREG ADD %KEY%01 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /fREG ADD %KEY%05 /VE /D "Running Windows Post Install" /fREG ADD %KEY%05 /V 1 /D "%wpipath%\WPI.hta" /fREG ADD %KEY%10 /VE /D "Finishing Install" /fREG ADD %KEY%10 /V 1 /D "%wpipath%\Install\FINISH.CMD" /fEXIT7 - Launched NLITE again just to create the ISO file.8 - Test it using VmWareEverything seems to work fine, but when I logon for the first time, RunOnceEx is not running...I checked the register and the entries is there (folders 001, 005 and 010, with everything inside).Can anyone tell me if I'm doing something wrong or whats the problem?Thank you very much. Edited April 7, 2007 by marcus_cps Link to comment Share on other sites More sharing options...
Steam Trout Posted April 7, 2007 Share Posted April 7, 2007 IE7 is rumored to break RunOnceEx Link to comment Share on other sites More sharing options...
marcus_cps Posted April 7, 2007 Author Share Posted April 7, 2007 I forgot to tell:After that everything, I launched NLITE again just to create the ISO file.I'm using VmWare to test it.[]s Link to comment Share on other sites More sharing options...
marcus_cps Posted April 7, 2007 Author Share Posted April 7, 2007 Hmmmmm....So, how can I solve this problem?Do you have something in mind?thanx Link to comment Share on other sites More sharing options...
Steam Trout Posted April 8, 2007 Share Posted April 8, 2007 I just run WPI from cmdlines.txt and everything else is being run from WPI. Link to comment Share on other sites More sharing options...
marcus_cps Posted April 9, 2007 Author Share Posted April 9, 2007 I just run WPI from cmdlines.txt and everything else is being run from WPI.You are running WPI from CMDLINES.TXT?But WPI is supposed to run at first logon, this way it will run at T-12, will it work fine?--I found a way to make it work at the first logon:I've added RunOnceEx command at the RUN registry key (same way as RunOnceEx), but I do not use the IE7 iernonceex.dll, i've used the IE6 version.It works fine, but still there is a problem... it runs after it should run. I tryin to find a way to run it before system goes operational.Does anyone knows how to do it?Thanx 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