Jump to content


Photo

Bug with nLite [registry_addreg] ?


  • Please log in to reply
6 replies to this topic

#1 mooms

mooms

    Wincert Addict

  • Global Mods
  • 546 posts
  • Location:France
  • OS:Windows 7 x64

Posted 05 October 2011 - 12:15 AM

Hello

I use a entries_.ini file to add custom tweaks with nLite
(view http://www.nliteos.c...registry_addreg if you don't know what i'm talking about)

The problem lies in this line:
HKCU,"Software\Microsoft\Internet Explorer\SearchScopes\{1C5F694D-B965-4AEA-AF33-8906DFBC21E4}","URL",,"http://www.google.fr/search?hl=fr&q={searchTerms}+&meta="

Becomes this in hiveset.inf, HIVEDEF.INF and nlite.inf (also, why nLite add the keys to all these files? nlite.inf is enough....)

HKCU,"Software\Microsoft\Internet Explorer\SearchScopes\{1C5F694D-B965-4AEA-AF33-8906DFBC21E4}","URL",,"http://www.google.fr/search?hl=fr&q={searchTerms}

As you can see, nLite truncate the end,(+&meta=" ), resulting in an error at the text mode stage of the install:


Posted Image

If i manually edit nlite.inf to add my tweaks, everything works fine, but that's a hassle to do this at each integration.

So, is this a know bug or limitation of nLite?
Can i avoid that ?

Thanks.

Edited by mooms, 05 October 2011 - 01:02 AM.


#2 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 7,765 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 05 October 2011 - 03:48 AM

Yea it appears to have a problem with the plus (+), why dont you remove +&meta= its not needed

#3 mooms

mooms

    Wincert Addict

  • Global Mods
  • 546 posts
  • Location:France
  • OS:Windows 7 x64

Posted 05 October 2011 - 12:35 PM

Thanks for the answer ricktendo64, that's also my guess.
I have finally made an addon with an inf file which does the addreg. Works well.
And that don't "pollute" all these inf files like nLite do when using [registry_addreg]
I really don't understand why nLite duplicate the entries in all those files when nlite.inf is enough to do the trick.

But i have a little cosmetic glitch caused by my inf addon:
it sow up in this window: (don't know the name in english, must be add/remove components)

Posted Image

here is my addon:
http://www.mediafire...zjh6jso957ngqn3

Can you tell me why it shows up there ? i can't find the mistake in the addon....


Regards.

Edited by mooms, 05 October 2011 - 12:57 PM.


#4 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 7,765 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 05 October 2011 - 02:46 PM

You have to change this in the INF file to match your entries.ini so the "HIDE" will hide it

[Optional Components]
dem

[dem]


[sysoc]
tweaks=ocgen.dll,OcEntry,tweaks.inf,HIDE,7



#5 mooms

mooms

    Wincert Addict

  • Global Mods
  • 546 posts
  • Location:France
  • OS:Windows 7 x64

Posted 05 October 2011 - 03:01 PM

Allright, so [Optional Components] must match the name in sysoc, got it.

I have updated the addon to clean sysoc and delete inf and pnf, files after install.
Could you tell me if i'm doing it right ?

here is the new addon:
http://www.mediafire...7ap4z2j64ccvfse

Thanks Rick, have a good day !

Edited by mooms, 05 October 2011 - 03:09 PM.


#6 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 7,765 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 05 October 2011 - 04:28 PM

Looks ok to me, gr8 job

#7 mooms

mooms

    Wincert Addict

  • Global Mods
  • 546 posts
  • Location:France
  • OS:Windows 7 x64

Posted 06 October 2011 - 12:26 AM

Thanks rick, here is the final version with tweaks commented and strings added

http://www.mediafire...xd0nqi3dqxgr7r1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users