• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
vgsangiuliano

nlite.inf

10 posts in this topic

Hi to all. i'd like to know where is the file in the I386 folder that calls nlite.inf or if i'm wrong, when and how informations in nlite.inf are read from the windows installation program.

Thank you all.

0

Share this post


Link to post
Share on other sites

It's not in the I386 folder it's in the $oem$ folder and called by cmdlines.txt.

0

Share this post


Link to post
Share on other sites

For me in XP x64, it's called by SysOC.inf by the following line:

nLite = ocgen.dll,OcEntry,nLite.inf,HIDE,7

The line calls the [nLite] section as defined in nLite.inf under [Optional Components].

0

Share this post


Link to post
Share on other sites

Thank you 5eraph, i'd like to ask you one more thing.

I think it is possible to add reg entries in the nlite.inf file but i don't know how.

For example if you choose to don't hide file extension for known file types nlite.inf has this line in the [CT] section:

HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","HideFileExt",0x00010001,0

If i don't set this option in nlite the extension are hidden by default and that's ok.

If i choose to manually change this thing in the explorer folder option i can see my reg and find:

HideFileExt 0x00000000 (0)

My question is why does nlite use 0x00010001,0 instead of 0x00000000,0 ?

I'm asking this to be able to edit nlite.inf file to add other reg entries that you can't set in nlite program and i thought i can use the same syntax with the reg entries i need but i'm in trouble because looking at the registry give me a 0x..... different from the one i find in nlite.inf

Can you help me?

Thanks

0

Share this post


Link to post
Share on other sites

Thank you very much jaclaz. Are you italian too?

In that case Buon Natale e grazie del tuo aiuto.

0

Share this post


Link to post
Share on other sites
Thank you very much jaclaz. Are you italian too?

In that case Buon Natale e grazie del tuo aiuto.

[sarcasm]

No, I use the Italian flag because I like how green and red are matched with the white.

[/sarcasm]

:whistle:

[italian]

Prego.

Buon Natale e Felice Anno Nuovo anche a te. :)

[/italian]

Christmas-bear-hugs-graphic.gif

Just in case, you may find this article nice and interesting, even if you are NOT a Bear of Little Brain ;):

http://www.boot-land.net/forums/index.php?showtopic=1966

http://www.wd-3.com/archive/InfFiles.htm

jaclaz

0

Share this post


Link to post
Share on other sites
[sarcasm]

No, I use the Italian flag because I like how green and red are matched with the white.

[/sarcasm]

Ok you are right it was obvious ;-)

Thank you for the links.

Is there anywhere a guide or manual of nlite? Precisely not a guide on how to use nlite but a guide which explains how doesd nlite works, what it does and so on, something like a manual for "developers".

Thank you

PS I sent an e-mail tu nuhi but i don't know if that mail will be read.

0

Share this post


Link to post
Share on other sites
Precisely not a guide on how to use nlite but a guide which explains how doesd nlite works, what it does and so on, something like a manual for "developers".

Not that I know of, nuhi tends to give not extended informations on the inner workings of nlite.

There are others methods/apps that may (or may not) be of help in understanding what's going on:

http://www.msfn.org/board/index.php?showtopic=124220

Also, some reduction can be made using HFSLIP:

http://www.msfn.org/board/index.php?showforum=129

http://hfslip.org/advanced.html

as always, your mileage may vary...;)

jaclaz

0

Share this post


Link to post
Share on other sites

Ok now it is clear.

I think that if nuhi chose to don't give sources of nlite, he has his good reasons.

0

Share this post


Link to post
Share on other sites

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.