Jump to content

Recommended Posts

Posted

Hi all,

I am just beginning to experiment with NLite so I apologize for my lack of knowledge here.

I'm trying to set the background during the install, turn on advanced find and turn off the search assisatnt. I tried using instructions I found in the .inf collection on here which suggests the commands below :

In the $OEM$ Folder add (line3) to :

CMDLINES.TXT

[Commands]

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

"rundll32 advpack.dll,LaunchINFSectionEx nLite.inf,U,,4,N"

"REGEDIT /S XP_CD.REG"

Create :

XP_CDREG.TXT

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]

"WallPaper"="C:\\Windows\\Web\\Wallpaper\\Crystal.jpg"

[HKEY_CURRENT_USER\Software\Microsoft\Search Assistant]

"Actor"=""

"SocialUI"=dword:00000000

"UsageCount"=dword:00000000

"UseAdvancedSearchAlways"=dword:00000001

This doesn't seem to execute though.

However, if I run it manually it does set things up correctly.

Something else I found in my reading was to use the command below :

In WINNT.SIF :

[GuiRunOnce]

"%SystemRoot%\System32\nLite.cmd"

However, after I added this, windows complains that it cannot find nLite.cmd.

So two questions, how can I execute the registry punch (or set background, etc, during install) and how does Windows know which files to copy during the install (or if I just place a file called nLite.cmd in the I386 folder, does windows just naturally copy *.* from that folder?)


Posted (edited)
I tried using instructions I found in the .inf collection on here which suggests the commands below :

In the $OEM$ Folder add (line3) to :

CMDLINES.TXT

[Commands]

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

"rundll32 advpack.dll,LaunchINFSectionEx nLite.inf,U,,4,N"

"REGEDIT /S XP_CD.REG"

Create :

XP_CDREG.TXT

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]

"WallPaper"="C:\\Windows\\Web\\Wallpaper\\Crystal.jpg"

[HKEY_CURRENT_USER\Software\Microsoft\Search Assistant]

"Actor"=""

"SocialUI"=dword:00000000

"UsageCount"=dword:00000000

"UseAdvancedSearchAlways"=dword:00000001

This doesn't seem to execute though.

However, if I run it manually it does set things up correctly.

The filename should be XP_CD.REG... remove the ".txt"

Something else I found in my reading was to use the command below :

In WINNT.SIF :

[GuiRunOnce]

"%SystemRoot%\System32\nLite.cmd"

However, after I added this, windows complains that it cannot find nLite.cmd.

So two questions, how can I execute the registry punch (or set background, etc, during install) and how does Windows know which files to copy during the install (or if I just place a file called nLite.cmd in the I386 folder, does windows just naturally copy *.* from that folder?)

you can actually run any cmd file you want from that section of winnt.sif, but you have to create the cmd file and tell it what to do. No, windows will not just copy the files, however anything in the $oem$ folders will get copied. With $oem$\$$ being the windows folder.

Edited by DizzyDen
Posted

I corrected the typo on the file name, the files are in the $OEM$ folder on the CD, but the are not getting copied to the HD during the install process nor are they being run?

How does the windows installer know which files to copy?

Where should I put my cmd files so that they are copied over?

Or even, how can I tell nlite/windows to run them from the CD?

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