Jump to content

How to add a folder to system 32


Recommended Posts

Posted

I am needing a disc that has a custom folder in the system32 directory after install using nlite. This folder has a custom program in it. Is there an easy way to do this? And i guess while i am here how about adding a custom registry key?

Thanks

JustusIV


Posted

Read here about $OEM$ folders.

To add regkeys you can use reg.exe (not for win2k) or regedit.exe. There's info in this unattended guide about this. Also use the google bar above. There's plenty of info about it.

Posted

1. Parallel to the i386 folder create a folder structure like this: $OEM$\$$\System32\YOURFOLDERNAME.

2. In the Unattended, General tab set OEM Preinstall to Enabled.

For the reg key just pop add it to your folder then run regedit /s %windir%\system32\YOURFOLDERNAME\YOURREGKEY.REG from the unattended section, run once. command to add.

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