Jump to content

Recommended Posts

Posted

Hi,

I am new to nlite and i find it very great to use. I have seen how other softwares could be installed using the silent method but i would like to know how to install a software with its reg. keys. Like is there a common file i have to create with all keys stored in it or each software will have its own key file ? in short i want to install my desired softwares with their keys and thats all...thanks


Posted

Hi

You have to have a registry file with all your info in it you want, and create a batch (if you dont already have one) and insert this into it.

@echo off
reg import registryname.reg

replacing the "registryname.reg" with the directory to your registry file.

thats what i used for mine... hope it helps

Posted

Thanks for your reply. i have another question which is how am i supposed to write those registry entries? is there any specific template for that or example ? thanking in advance.....

Posted

well to save a registry, you can type it in notepad and and save as "example.reg" (the .reg extension makes it a registry file, just make sure to change the Save As Type to All or you will have a example.reg.txt lol) , but as far as what to type in the registry can vary.

What programs are you trying to insert the key for?

Posted

I've got a lot of apps like :

Blaze pro

Power dvd

Divx player

Quick time player

Internet donwload manager

mirc

Nero 7

software like that. Let me make it clear,actually i run a pc shop,i got a lot of clients thats why i would like to crete 1 universal xp cd and put all the programs in it and by the way can i add a collection of drivers of different parts in the same cd and let xp choose the driver and install ?? thanks ...

Posted (edited)
Thanks for your reply. i have another question which is how am i supposed to write those registry entries? is there any specific template for that or example ? thanking in advance.....

1) First method

Import registry keys from batch file:

@echo off
REG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "Company" /t REG_SZ /d "Yahooooo!" /f>nul
REG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "LaunchedUpdateWizard" /t REG_DWORD /d "0" /f>nul
REG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "RegCode" /t REG_SZ /d "XXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" /f>nul
REG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "RemindAgainAfter" /t REG_BINARY /d "000000009c851841" /f>nul
REG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "UserName" /t REG_SZ /d "User" /f>nul

2) The second method

Use a reg file which is called by a batch file:

reg file (named in this example settings.reg)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0]
"Company"="Yahooooo!"
"LaunchedUpdateWizard"=dword:00000000
"RegCode"="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
"RemindAgainAfter"=hex:00,00,00,00,9c,85,18,41
"UserName"="User"

and the batch file:

@echo off
regedit.exe /s settings.reg

Both method make exactly the same job.

Edited by radix

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