How to Include Your Edited System Files in Windows Setup?



Many times we edit system files like Shell32.dll, Explorer.exe, msgina.dll, ntoskrnl.exe, logonui.exe, etc to change the look-n-feel of Windows. But sometimes we want to include our edited files in Windows Setup, so that whenever we make a fresh installation of Windows, we don't loose our changed files and we don't need to make those changes again.

Here is a step-by-step tutorial on how to include your own edited files in Windows Setup:

1. Download following .Zip file and extract it:

Download File

2. You'll get "modifype.exe" file after extracting the .zip file.

3. Now copy this "modifype.exe" file to the same folder where you have your edited files which you want to include in Windows setup. Lets suppose you have copied all edited files in "D:\Setup" folder, so copy "modifype.exe" file to "D:\Setup" folder.

4. Open Command Prompt and navigate to the same folder where your files are stored, which is "D:\Setup" in our example.

5. Now provide following command:

modifype file_name.extension -c

Replace "file_name.extension" with the name of the file which you want to include in setup. e.g.

modifype shell32.dll -c

modifype explorer.exe -c

modifype msgina.dll -c

6. It'll fix the checksum of the file and Windows will accept the file without any problem at installation time.

7. Now the last step. We have to compress the file using "makecab" command. As you can see all files in Windows Setup folder "I386" are in compressed format like shell32.dl_, explorer.ex_, msgina.dl_, etc. So provide following command to compress the file:

makecab file_name.extension

Replace "file_name.extension" with the name of the file which you want to include in setup. e.g.

makecab shell32.dll

makecab explorer.exe

makecab msgina.dll

8. Thats it. You'll get a compressed file, which you can safely copy to "I386" folder of your Windows setup.

NOTE: If you want to extract any existing file from the Setup, you can use "expand" command.

expand -r file_name.extension

Replace "file_name.extension" with the name of the file which you want to extract. e.g.

expand -r shell32.dl_

expand -r explorer.ex_

expand -r msgina.dl_

Complete list of AskVG articles



This article was posted in Windows XP.


Share |


Related Articles

Popular Articles



100 Comments

  • VG

    ^^ Please check following link:

    http://unattended.msfn.org/unattended.xp/view/web/17/SESSID=1f810b6af8309f38ac3e7af10b1a4d0c/

  • Thanks for the prompt reply bro, but the content of this link really confused me up.It wasn't as simple as in your tutorials.
    Could you please make a sample file with 2 or 3 tweaks and tell exact location where to add in cd.
    And link for resource tuner. Thanks.
    Shaun

  • Hi bro.. I've made a wmv video than converted it into divx (avi) file with size 1.3 mb .But when i tried to add it to shell32 using res hacker , i got error "video don't have divx compressor". What can i do to add my own avi file,
    (i've my own websites and wish to write for you)
    puneetbatish

  • I'm interested in putting your articles on my websites with credits to you.Let me know or contact me through email.And please reply to my query.
    Puneet Batish

  • hi vg.....i had edited the following files in i386 folder
    ntoskrnl.ex_
    winlogon.ex_
    sysdm.cp_
    xpsp1res.dl_
    logonui.ex_
    using resourse hacker but after completing using nlite while installation a blue screen error is generated related to win32k.sys.
    please help!!!!!!!!!!!1
    thanx in advance

  • how can i create my own add on on xp setup cd

  • Thanks Vishal, this method helped me very much.

  • Hi Vishal, this is my first visit to your website. When i was in search for a certain query, one of my indian colleague suggested me your website. Though i didn't find out for what i was looking for, but i am pretty impressed by your website. So sir, i am a software engineer, in CA. Though i am not in development, but i know about programming n all. Right now i work here as a tech support engineer. Sir i have been very interested in editing/making Unattended OS. I have tried & successfully created one. But recently i have downloaded one unattended OS from net. it's created by M.Baran. This OS dazzled me. I want to know how to make OSs like this. So here are my questions with appropriate screenshots.

    1. Sir when i boot the OS disc, a screen pops up asking us to chose. Here's the screenshot

    http://i30.tinypic.com/iekopf.jpg

    Sir to edit or change the pic of the window which file i have to edit ? i wanna know after booting up which file gets executed ?

    2. Is it possible to place Installation Background pic (also known as Setup Billboard) in another locations ? Actually i searched WINNTBBU.DLL for setup background, but it doesn't have it. So is this possible to place it in another location & load it while installing ?

    3. Sir how to alter the version of windows in cd ? i checked PRODSPEC.INF, but its just unaltered, but after installation, it shows the windows version at the bottom of the right corner. Here's the screenshot

    http://i30.tinypic.com/hryj3c.jpg

    Sir at the bottom right corner we can see the version. How to alter it. ?

    Sir i hope you know answer for all my questions. A email reply would really appreciated. Thanks.

  • Yes VG, i too hav same doubt as above. While installing Deluxe Edition, in Drivers Unpacking screen (i.e. before 39 mins stage), a text appears at bottom right corner. How to alter or disable it ?

  • VG

    ^^ No idea what you are talking about as I have never tested any such Windows editions.

    @Emily
    1. There are some software which allow you to create autorun wizards for Windows setup. I'm sure the one you are talking about has been created using the same method.
    2. No. Thats the only file.
    3. The build number is stored in "win32k.sys" file.

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.