gb2100 Posted July 14, 2008 Share Posted July 14, 2008 Hi there - im really stuck right now - I have a .reg file with a load of tweaks inside which i want to be applied sureing the setup so im trying to intergrate it using nlite or ryanvm but ive tried a few things but just cannot get it to work please someone give me some help or point me in the right directionThanx!! Link to comment Share on other sites More sharing options...
radix Posted July 15, 2008 Share Posted July 15, 2008 (edited) Read this.If you don't like this method, load your registry entries in nLite in Unattended->RunOnceExample:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"AutoReboot"=dword:00000000you need to convert to:REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "AutoReboot" /t REG_DWORD /d "0" /fThis is batch scripting. Edited July 15, 2008 by radix Link to comment Share on other sites More sharing options...
gb2100 Posted July 15, 2008 Author Share Posted July 15, 2008 (edited) this is all very confusing lol all the guides and help i can find only show adding one single reg entry but i have a single .reg file with a lot of entries to add in there so do i have to convert them all into single reg files with 1 entry per file?i was thinking i could make the reg file with all the tweaks into a silent installer like a 7zip or rar or cab or whatever then just intergrate it using the add addons bit in nlite or ryanVM is this possable??? Edited July 15, 2008 by gb2100 Link to comment Share on other sites More sharing options...
radix Posted July 15, 2008 Share Posted July 15, 2008 this is all very confusing lol all the guides and help i can find only show adding one single reg entry but i have a single .reg file with a lot of entries to add in there so do i have to convert them all into single reg files with 1 entry per file?i was thinking i could make the reg file with all the tweaks into a silent installer like a 7zip or rar or cab or whatever then just intergrate it using the add addons bit in nlite or ryanVM is this possable???Use a batch file:@echo offregedit /s settings.regexitBuild the sfx archive. Set the batch file to run after extraction. Link to comment Share on other sites More sharing options...
gb2100 Posted July 15, 2008 Author Share Posted July 15, 2008 cool thanx! that worked perfect! Link to comment Share on other sites More sharing options...
coorrel Posted July 16, 2008 Share Posted July 16, 2008 Just wondering if it's also possible to add the batch to the end of svcpack.inf to add the reg tweaks? Link to comment Share on other sites More sharing options...
gb2100 Posted July 16, 2008 Author Share Posted July 16, 2008 yeah it is - what i did was create the batch file and make a SFX archive with it set it all to silent and intergrated it using RyanVM's Intergrator and it added it to the svc pack and i tested it and it added the reg tweaks perfectly Thnax radix for your help!! Link to comment Share on other sites More sharing options...
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