Raaj Posted March 15, 2008 Posted March 15, 2008 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
Redhatcc Posted March 15, 2008 Posted March 15, 2008 HiYou 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 offreg import registryname.regreplacing the "registryname.reg" with the directory to your registry file. thats what i used for mine... hope it helps
Raaj Posted March 15, 2008 Author Posted March 15, 2008 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.....
Redhatcc Posted March 15, 2008 Posted March 15, 2008 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?
Raaj Posted March 15, 2008 Author Posted March 15, 2008 I've got a lot of apps like :Blaze pro Power dvdDivx playerQuick time playerInternet donwload managermircNero 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 ...
radix Posted March 15, 2008 Posted March 15, 2008 (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 methodImport registry keys from batch file:@echo offREG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "Company" /t REG_SZ /d "Yahooooo!" /f>nulREG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "LaunchedUpdateWizard" /t REG_DWORD /d "0" /f>nulREG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "RegCode" /t REG_SZ /d "XXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" /f>nulREG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "RemindAgainAfter" /t REG_BINARY /d "000000009c851841" /f>nulREG.EXE ADD "HKEY_LOCAL_MACHINE\SOFTWARE\TuneUp\Utilities\7.0" /v "UserName" /t REG_SZ /d "User" /f>nul2) The second methodUse 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 offregedit.exe /s settings.regBoth method make exactly the same job. Edited March 15, 2008 by radix
Raaj Posted March 15, 2008 Author Posted March 15, 2008 Thanks...does the same method apply for any software with reg keys in general?
radix Posted March 15, 2008 Posted March 15, 2008 Thanks...does the same method apply for any software with reg keys in general?Yes.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now