Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

nlite.inf

- - - - -

  • Please log in to reply
9 replies to this topic

#1
vgsangiuliano

vgsangiuliano

    Newbie

  • Member
  • 29 posts
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.


How to remove advertisement from MSFN

#2
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,795 posts
  • OS:Windows 7 x64
  • Country: Country Flag
It's not in the I386 folder it's in the $oem$ folder and called by cmdlines.txt.

#3
5eraph

5eraph

    Update Packrat

  • MSFN Sponsor
  • 1,150 posts
  • OS:XP Pro x64
  • Country: Country Flag

Donator

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

#4
vgsangiuliano

vgsangiuliano

    Newbie

  • Member
  • 29 posts
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

#5
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,266 posts
  • OS:none specified
  • Country: Country Flag
Read this:
http://vlaurie.com/c...es/inf-file.htm

LAST is value (0) or if you prefer 0x00000000.
0x00010001 is flags, REG_DWORD in this case.

jaclaz

#6
vgsangiuliano

vgsangiuliano

    Newbie

  • Member
  • 29 posts
Thank you very much jaclaz. Are you italian too?
In that case Buon Natale e grazie del tuo aiuto.

#7
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,266 posts
  • OS:none specified
  • Country: Country Flag

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]

Posted Image

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...?showtopic=1966
http://www.wd-3.com/...ve/InfFiles.htm

jaclaz

#8
vgsangiuliano

vgsangiuliano

    Newbie

  • Member
  • 29 posts

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

#9
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,266 posts
  • OS:none specified
  • Country: Country Flag

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/...howtopic=124220

Also, some reduction can be made using HFSLIP:
http://www.msfn.org/...p?showforum=129
http://hfslip.org/advanced.html

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

jaclaz

#10
vgsangiuliano

vgsangiuliano

    Newbie

  • Member
  • 29 posts
Ok now it is clear.
I think that if nuhi chose to don't give sources of nlite, he has his good reasons.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN