Jump to content

Last few integration issues


Recommended Posts

Posted

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?


Posted

This is my cmdlines.txt

[Commands]

"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"

"./RunOnceEx.cmd"

and this is my RunOnceEx.cmd

SetLocal enableextensions

FOR %%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\RunOnceEx

REG ADD %REGKEY% /V TITLE /D "Windows Setup" /f

REG ADD %REGKEY%\001 /VE /D "Updating" /f

REG ADD %REGKEY%\001 /V 1 /D "%CDROM%\UPDATES\kb892130wgav.exe /Q" /f

REG ADD %REGKEY%\001 /V 2 /D "%CDROM%\UPDATES\kb905474wgan.exe /passive /norestart" /f

REG ADD %REGKEY%\001 /V 3 /D "%CDROM%\UPDATES\kb940157search.exe /passive /norestart" /f

REG ADD %REGKEY%\001 /V 4 /D "%CDROM%\UPDATES\KB957938silverlight.exe /passive /norestart" /f

REG ADD %REGKEY%\001 /V 5 /D "%CDROM%\UPDATES\kb890830maltool.exe /passive /norestart" /f

REG ADD %REGKEY%\001 /V 6 /D "%CDROM%\UPDATES\kb956391killbitsactivex.exe /passive /norestart" /f

EndLocal

EXIT

I am beginning to wonder if it is my directory structure as well... is this the proper layout?

CD Root---->$OEM$---->$$, cmdlines.txt, RunOnceEx.cmd

Also one quick question from reading, what is the difference between GUIRunOnce and RunOnceEx?

Posted

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.

Posted

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 $$.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...