Jump to content

Recommended Posts


Posted

nLite dosen't support slipstreaming reg-files, so you need to manually add them to your install source and use nLite's 'Runonce' section to get the reg-entries imported at 1st logon.

Also, i would suggest reading the MSFN Unattended guide.

For feature reference, then please use the nLite subforum for nLite related posts...

Posted (edited)

If you can convert the .reg to .inf (using Reg2Inf) you can make a registry settings addon

Just create a simple Entries_whatever.ini and add your converted reg2inf to a section named [registry_addreg] and it will get added to nLite.inf to be added along with the other nLite registry settings

[general]
builddate=2008/01/25
description=Registry Settings AddOn.
language=English
title=nLite AddReg
version=1.0
website=

[registry_addreg]
; CCleaner Custom Cleaning
HKCU,"Software\VB and VBA Program Settings\CCleaner\Options","Include1",0x0,"PATH|%24%MyVideos\|*.*"
HKCU,"Software\VB and VBA Program Settings\CCleaner\Options","CustomFiles",0x0
HKCU,"Software\VB and VBA Program Settings\CCleaner\Options","CustomFolders",0x0

Now zip, cab, rar or 7zip the Entries_whatever.ini and integrate it as a hotfix

Edited by ricktendo64
  • 1 year later...
Posted

I know this is old, but this is the only post that came close to what i'm trying to do.

Instead of creating a separate addon, can I just add "[registry_addreg]" to an existing entries.ini file?

For example:

[general]
builddate=03/02/2009
description=7-Zip
language=English
version=4.65
website=http://www.7-zip.org/

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
7z465.exe /S

[registry_addreg]
HKCR,".7z",,0x0,"7-Zip.7z"
HKCR,"7-Zip.7z",,0x0,"7z Archive"
HKCR,"7-Zip.7z\DefaultIcon",,0x0,"C:\Program Files\7-Zip\Formats\7z.dll"
HKCR,"7-Zip.7z\shell",,0x0
HKCR,"7-Zip.7z\shell\open",,0x0
HKCR,"7-Zip.7z\shell\open\command",,0x0,"""C:\Program Files\7-Zip\7zFMn.exe"" ""%%1"""

Will this work?

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