iamtheky Posted December 24, 2008 Share Posted December 24, 2008 please post your runonce.cmd again in its current state, the nlite line should be of no consequence. what happens when you double the .cmd? do the items end up in the registry as they should? Link to comment Share on other sites More sharing options...
cmmcnamara Posted December 24, 2008 Author Share Posted December 24, 2008 This is my cmdlines.txt[Commands]"rundll32 advpack.dll,LaunchINFSection nLite.inf,U""./RunOnceEx.cmd"and this is my RunOnceEx.cmdSetLocal enableextensionsFOR %%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:\CD.TXT SET CDROM=%%i:SET REGKEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %REGKEY% /V TITLE /D "Windows Setup" /fREG ADD %REGKEY%\001 /VE /D "Updating" /fREG ADD %REGKEY%\001 /V 1 /D "%CDROM%\UPDATES\kb892130wgav.exe /Q" /fREG ADD %REGKEY%\001 /V 2 /D "%CDROM%\UPDATES\kb905474wgan.exe /passive /norestart" /fREG ADD %REGKEY%\001 /V 3 /D "%CDROM%\UPDATES\kb940157search.exe /passive /norestart" /fREG ADD %REGKEY%\001 /V 4 /D "%CDROM%\UPDATES\KB957938silverlight.exe /passive /norestart" /fREG ADD %REGKEY%\001 /V 5 /D "%CDROM%\UPDATES\kb890830maltool.exe /passive /norestart" /fREG ADD %REGKEY%\001 /V 6 /D "%CDROM%\UPDATES\kb956391killbitsactivex.exe /passive /norestart" /fEndLocalEXITI am beginning to wonder if it is my directory structure as well... is this the proper layout?CD Root---->$OEM$---->$$, cmdlines.txt, RunOnceEx.cmdAlso one quick question from reading, what is the difference between GUIRunOnce and RunOnceEx? Link to comment Share on other sites More sharing options...
johnhc Posted December 25, 2008 Share Posted December 25, 2008 cmmcnamara, the cmdlines.txt goes in the $OEM$ folder. The things in the $$ folder are placed in the C:\Windows folder. See here for a description of the $OEM$ folder. Enjoy, John. Link to comment Share on other sites More sharing options...
cmmcnamara Posted December 25, 2008 Author Share Posted December 25, 2008 Sorry I wasn't very good at showing that tree. The folder $$ is in the $OEM$ folder and the cmdlines.txt and RunOnceEx.cmd is in the $OEM$ folder as well but not inside $$. Link to comment Share on other sites More sharing options...
cmmcnamara Posted December 28, 2008 Author Share Posted December 28, 2008 Anyone have any other ideas? I cannot see a way past this... Link to comment Share on other sites More sharing options...
iamtheky Posted December 28, 2008 Share Posted December 28, 2008 Is that a "./runonceex"? how about some backslash action Link to comment Share on other sites More sharing options...
cmmcnamara Posted December 28, 2008 Author Share Posted December 28, 2008 Ok thanks for all the help guys, I just cleared it up. I just changed all the REGKEY to KEY and it works. Also the CD method suggested didn't work, I went back to my original method and it ran smoothly. 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