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 off
for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\WPI
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Post Install Process" /f
REG ADD %KEY%01 /VE /D "DriverPacks Finishing Procedure" /f
REG ADD %KEY%01 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f
REG ADD %KEY%05 /VE /D "Running Windows Post Install" /f
REG ADD %KEY%05 /V 1 /D "%wpipath%\WPI.hta" /f
REG ADD %KEY%10 /VE /D "Finishing Install" /f
REG ADD %KEY%10 /V 1 /D "%wpipath%\Install\FINISH.CMD" /f
EXIT
7 - Launched NLITE again just to create the ISO file.
8 - Test it using VmWare
Everything 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.
This post has been edited by marcus_cps: 07 April 2007 - 01:23 PM



Help
Back to top










