Jump to content

Integrarte Registry Entries?


Recommended Posts

I am up for making a unattended xpsp2 cd and m almost done. But i am unable to find and do the integration of registry enteries in the cd. Actually i want to make a cab file [if possible] which includes all the registry keys which i want to have. I don't want it to run from runonce or something else like WPI etc..

The reason m asking u is coz i have seen same in nlite, it integrates registry keys directly in to a cab file. So please help me out with this.

Thanks in antcipation.

Link to comment
Share on other sites


Hmm, not sure how a .cab file will help you.

You can integrate in cmdlines.txt with this command

"regedit /s tweaks.reg"

Or if you don't want people to see your file. Use something like reg2exe and make it an executable. Then just install it with your hotfixes or cmdlines.txt

Link to comment
Share on other sites

  • 4 weeks later...

Find the attached REG2INF.40.CAB, download/extract it, right click the Reg2Inf.inf and click "Install" sans quotes to have REG2INF.40 in your right click Send To menu. This app was developed by n7Epsilon and I use an addon developed by ricktendo64 on RyanVM's forums to slipstream the app into XPSP2 install.

Create a file named "Entries_Settings.ini" sans quotes; convert your .reg file to inf format using Reg2Inf.40, copy the resulting lines in the inf file to Entries_Settings.ini.

Below is an example:

[general]
builddate=2007/06/27
description=Tweaks for nLite.
language=English
title=Tweaks
version=1.0
website=http://www.nliteos.com/
[registry_addreg]
HKCR,"*\shell",,0x10
HKCR,"*\shell\notepad.exe",,0,"Notepad"
HKCR,"*\shell\notepad.exe\command",,0x20000,"""%11%\notepad.exe"" ""%%1"""
HKCR,"*\shell\PaintDotNet.exe",,0,"Paint"
HKCR,"*\shell\PaintDotNet.exe\command",,0x20000,"""D:\WindowsMediaTools\Paint.NET\PaintDotNet.exe"" ""%%1"""
HKCR,".cmd\ShellNew","NullFile",0
HKCR,".reg\ShellNew","NullFile",0
HKLM,"SOFTWARE\JGsoft\Dictionaries","InstallPath",0,"%11%"
HKLM,"SOFTWARE\JGsoft\Dictionaries","Name0",0,"English (American)"
HKLM,"SOFTWARE\JGsoft\Dictionaries","IgnorePrefixes0",0,";'"
HKLM,"SOFTWARE\JGsoft\Dictionaries","IgnoreSuffixes0",0,";'"
HKLM,"SOFTWARE\JGsoft\Dictionaries","Files0",0,"English.dct|American.dct"
HKLM,"SOFTWARE\JGsoft\Dictionaries","DataFormat0",0,"win1252"
HKLM,"SOFTWARE\JGsoft\Dictionaries","Count",0x10001,02,00,00,00
HKLM,"SOFTWARE\JGsoft\Dictionaries","Name1",0,"English (Canadian)"
HKLM,"SOFTWARE\JGsoft\Dictionaries","IgnorePrefixes1",0,";'"
HKLM,"SOFTWARE\JGsoft\Dictionaries","IgnoreSuffixes1",0,";'"
HKLM,"SOFTWARE\JGsoft\Dictionaries","Files1",0,"English.dct|Canadian.dct"
HKLM,"SOFTWARE\JGsoft\Dictionaries","DataFormat1",0,"win1252"

Open nlite, navigate to your Entries_Settings.ini and install it under "Hotfixes, Addons and Update Packs"; nlite will, then, automatically enter the lines into nlite.inf to be applied during install. Special thanks goes to ricktendo64 for bringing this to my understanding; visit RyanVM's, n7Epsilon's and MSFN forums to view more info about the app and download the addon.

Edited by RickSteele
Link to comment
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.
×
×
  • Create New...