MSFN Forum: Integrate reg file with nilte - MSFN Forum

Jump to content



If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Integrate reg file with nilte How to integrate reg file Rate Topic: -----

#1 User is offline   silverferro 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 21-April 06

  Posted 10 January 2007 - 09:41 AM

Hi everyone, I'm kinda new to this nlite thingy and I really love it. Thanks alot to nuhi for this. My system runs much faster and smoother.

But I have two problems which I hope someone can help me solve.

1. I want nlite to run a reg file automatically at the last stage of windows unattended installation. After reading around I belive it can be done with runonce function. But I don't know how to set it. How do I tell "runonce" where is the reg file located and to run it once windows has been installed without any yes/no to continue popups?

2. I have a unknown device sitting in device manager. I removed all drivers in windows and integrated all drivers my motherboard needs and other cards I have in my computer. Is there a way to find out what is the unknown device? (I have removed some of the hardware support which i don't need/exist in my computer like floppydrive, via ide, intel ide, battery and so on) Is there something I should not delete as windows will use it as a generic support for other things? :huh:

Thanks alot in advance. And once more thanks alot to nuhi for having made such an excellent software and giving it away FREE!!! :thumbup


#2 User is offline   Speeddymon 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 323
  • Joined: 04-September 06

Posted 10 January 2007 - 02:29 PM

View Postsilverferro, on Jan 10 2007, 09:41 AM, said:

Hi everyone, I'm kinda new to this nlite thingy and I really love it. Thanks alot to nuhi for this. My system runs much faster and smoother.

But I have two problems which I hope someone can help me solve.

1. I want nlite to run a reg file automatically at the last stage of windows unattended installation. After reading around I belive it can be done with runonce function. But I don't know how to set it. How do I tell "runonce" where is the reg file located and to run it once windows has been installed without any yes/no to continue popups?

2. I have a unknown device sitting in device manager. I removed all drivers in windows and integrated all drivers my motherboard needs and other cards I have in my computer. Is there a way to find out what is the unknown device? (I have removed some of the hardware support which i don't need/exist in my computer like floppydrive, via ide, intel ide, battery and so on) Is there something I should not delete as windows will use it as a generic support for other things? :huh:

Thanks alot in advance. And once more thanks alot to nuhi for having made such an excellent software and giving it away FREE!!! :thumbup

You can go to the Unattended Section of nlite and under the runonce tab, type regedit /s file.reg
File.reg should be the full path to the registry file on your CD.

To answer your other question, we need system specs (motherboard manufacturer and model, and manufacturer and model of any addon cards). We also need you to attach your 'Last Session.ini' file (should be in the root of the CD, please do not paste it).

Thanks.

#3 User is offline   silverferro 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 21-April 06

Posted 11 January 2007 - 08:25 AM

So lets say I put the "registrypatch.reg" file inside a folder called "patch" at the same level as I386,DOCS ect...
the line I should add to runonce is "regedit /s patch\registrypatch.reg or regedit /s d:\patch\registrypatch.reg?


My system spec:

MSI K7N2 DELTA2-LSR Mainboard
AMD Sempron 2800+
Kingston 2X256MB and Hyundai 1X256MB DDR Rams = 768MB Total
Inno3D GForce4 MX 440 SE
Asus Hybrid TV Card (I belive this is not the problem as I have taken it out and the unknown device still appears)

I have also attached my LAST SESSION.INI

Thanks alot for the reply speeddymon

Attached File(s)



#4 User is offline   Speeddymon 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 323
  • Joined: 04-September 06

Posted 11 January 2007 - 10:50 AM

View Postsilverferro, on Jan 11 2007, 08:25 AM, said:

So lets say I put the "registrypatch.reg" file inside a folder called "patch" at the same level as I386,DOCS ect...
the line I should add to runonce is "regedit /s patch\registrypatch.reg or regedit /s d:\patch\registrypatch.reg?


My system spec:

MSI K7N2 DELTA2-LSR Mainboard
AMD Sempron 2800+
Kingston 2X256MB and Hyundai 1X256MB DDR Rams = 768MB Total
Inno3D GForce4 MX 440 SE
Asus Hybrid TV Card (I belive this is not the problem as I have taken it out and the unknown device still appears)

I have also attached my LAST SESSION.INI

Thanks alot for the reply speeddymon

I wouldnt advise trying to do it from the CD, as the CD's drive letter can change, depending on how you partition, and what you do in nlite. I would put it in $OEM$\$1 and then make the line "regedit /s C:\registrypatch.reg"

#5 User is offline   silverferro 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 21-April 06

Posted 13 January 2007 - 10:19 PM

I solved the 1st problem. The missing device is the floppy controller. Since I don't have a floppy drive i deleted it but my mainboard needs the driver for the controller to be shown correctly in device manager. :thumbup


Is there a way to run a "patch.exe" file (under unattended install) which is basicaly a consolidated registry patch, by using nlite's runonce function? The above stated method does not work for exe files.

I can't seem to find much totorials on nlite's runonce function. Is there a good site which has examples you guys can recomend? Thanks in advance.

#6 User is offline   Speeddymon 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 323
  • Joined: 04-September 06

Posted 14 January 2007 - 12:37 AM

View Postsilverferro, on Jan 13 2007, 10:19 PM, said:

I solved the 1st problem. The missing device is the floppy controller. Since I don't have a floppy drive i deleted it but my mainboard needs the driver for the controller to be shown correctly in device manager. :thumbup


Is there a way to run a "patch.exe" file (under unattended install) which is basicaly a consolidated registry patch, by using nlite's runonce function? The above stated method does not work for exe files.

I can't seem to find much totorials on nlite's runonce function. Is there a good site which has examples you guys can recomend? Thanks in advance.

nlite's runonce function puts everything into guirunonce in your winnt.sif so use the unattended guide at unattended.msfn.org and find the part on guirunonce.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy