JAMIS246 Posted March 26, 2010 Posted March 26, 2010 (edited) HiI was wondering if anyone could tell me how to create a addon that can be intagrated with nLite that will apply windows registry tweaks before windows starts???Thanks so much for responding. Edited March 26, 2010 by JAMIS246 Quote
ricktendo Posted March 26, 2010 Posted March 26, 2010 With nLite its easy to make registry tweak addons, you need Reg2inf to convert your regtweaks from .reg to .inf format, then you create a Entries_whatever.ini (where it says whatever you can put any name you want there, like regtweaks) with something like this[general]builddate=2010/03/26description=Describe your regtweak addon.language=Multilanguagetitle=Addon Nameversion=0.0.0website=http://www.example.com[registry_addreg]; Here is where you add your INF converted regtweaksHKLM,"SOFTWARE\Microsoft\Windows","Test",0,"Oh"Now you compress your Entries_whatever.ini with your favorite archiver: rar, cab, zip or 7z and finally you integrate itTo verify your regtweaks were added to your XP install expand I386\nLite.in_ to view your tweaksMore info on the subject: http://www.nliteos.com/addons/index.html#registry_addreg Quote
JAMIS246 Posted March 26, 2010 Author Posted March 26, 2010 Thanks so much mate for responding.Does this look correct for the Entries_whatever.ini?[general]builddate=2010-03-26description=This Registry Tweak contains Windows XP Tweaks For Performance and Explorer Enhancements.language=Englishtitle=Windows XP Tweaksversion=1.0website=[registry_addreg]HKCU,"Control Panel\Desktop","ForegroundLockTimeout",0x10001,00,00,00,00HKCU,"Control Panel\Desktop","HungAppTimeout",0x0,"4000"HKCU,"Control Panel\Desktop","MenuShowDelay",0x0,"0"HKCU,"Control Panel\Desktop","WaitToKillAppTimeout",0x0,"5000"HKLM,"SYSTEM\CurrentControlSet\Control","WaitToKillServiceTimeout",0x0,"5000"HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To",,0x0,"{C2FBB630-2971-11D1-A18C-00C04FD75D13}"HKCR,"AllFilesystemObjects\shellex\ContextMenuHandlers\Move To",,0x0,"{C2FBB631-2971-11D1-A18C-00C04FD75D13}"HKCR,"*\shell\Open with Notepad\command",,0x0,"notepad.exe %%1"HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","Win32PrioritySeparation",0x10001,26,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ8Priority",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ0Priority",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ13Priority",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\PriorityControl","IRQ19Priority",0x10001,01,00,00,00HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer","Max Cached Icons",0x0,"9512"HKLM,"SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters","MaxCmds",0x10001,68,00,00,00HKLM,"SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters","MaxThreads",0x10001,68,00,00,00HKLM,"SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters","MaxCollectionCount",0x10001,68,00,00,00HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer","DesktopProcess",0x10001,01,00,00,00HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\BrowseNewProcess","BrowseNewProcess",0x0,"Yes"HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management","DisablePagingExecutive",0x10001,01,00,00,00HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AlwaysUnloadDLL",,0x0,"1"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout","EnableAutoLayout",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\FileSystem","NtfsDisableLastAccessUpdate",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\FileSystem","Win95TruncatedExtensions",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\FileSystem","Win31FileSystem",0x10001,00,00,00,00HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","NoNetCrawling",0x10001,01,00,00,00HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoRemoteRecursiveEvents",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0001","MasterDeviceTimingModeAllowed",0x10001,ff,ff,ff,ffHKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0001","SlaveDeviceTimingModeAllowed",0x10001,ff,ff,ff,ffHKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0002","MasterDeviceTimingModeAllowed",0x10001,ff,ff,ff,ffHKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0002","SlaveDeviceTimingModeAllowed",0x10001,ff,ff,ff,ffHKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","MemCheckBoxInRunDlg",0x10001,01,00,00,00HKLM,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","MemCheckBoxInRunDlg",0x10001,01,00,00,00HKLM,"SYSTEM\CurrentControlSet\Control\WOW","DefaultSeparateVDM",0x0,"Yes"HKLM,"SYSTEM\CurrentControlSet\Control\Update","UpdateMode",0x1,00 Quote
ricktendo Posted March 26, 2010 Posted March 26, 2010 Look perfect...place it in its own folder or compress it (do not leave the word Entries in the filename of the archive) and integrate it with nLite The reason I tell you to put it in its own folder or not to name your compressed addon with "Entries" is because nLite will copy the ENTIRE contents of the directory in which its locatedExample, if you place Entries_regtweaks.7z (compressed .ini archive) or the uncompressed Entries_regtweaks.ini in the same directory as your addon nLite will grab all your addons and copy them to the rvmtmp dir...this will not break your session or neither will it integrate the addons, it just adds time to your sessionSo rename your compressed regtweaks addon to something like JAMIS_RegTweaks.7zOH and BTW if the HKCU regtweaks may not take...they may or they might not, sometimes you need to apply them for each new user login. But you test it see if they apply Quote
JAMIS246 Posted March 26, 2010 Author Posted March 26, 2010 (edited) Well, I have tested the addon and it's applying once windows is installed perfectly.Thanks a lot mate for responding with helpful guidance, much appreciated. Edited March 27, 2010 by JAMIS246 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.