How to Integrate Modified System Files in Windows Setup ISO?

Many times we edit system files like Shell32.dll, Explorer.exe, msgina.dll, ntoskrnl.exe, logonui.exe, etc in Resource Hacker to change the look-n-feel of Windows. For example, following screenshot shows modified Desktop context menu in Windows XP:

Exploring_Modified_Windows_XP_De-1.jpg

But sometimes we want to include our edited files in Windows Setup ISO, so that whenever we make a fresh installation of Windows, we don’t lose our changed files and we don’t need to make those changes again.

Advertisement

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

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:

Advertisement

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. That’s 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_

Published in: Windows XP

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead.

  1. hi, i am new here. I get so many things from your tutorial, nd get out from many confusions from ur replies to goldi or such people. Tnanks. I want to make my own xp ISO nd trying for this.

  2. Hello,

    I would like to change some visual files in “msgina.dll” and “shell32.exe”. Specifically i want to reskin the “Shutdown” and “Logout” screens incl. all buttons. I have already news designs which i am ready to upload through PE Explorer.

    I would like to know if there is something i have to care about when i am going replace original “msgina.dll” and “shell32.exe” files in Windows XP. Is there any verified precedure or tips for making this?

    Let me know. Thank you for your help.
    S.

  3. Hello, I have already modified “msgina.dll” and “shell32.exe”. Can i just replace it manually in “C:\WINDOWS\System32” and then restart computer? Is it all? Or do i need to replace those files also in “C:\WINDOWS\ServicePackFiles\i386”?
    Let me know, please.
    best
    mm

Leave a Comment

Your email address will not be published. Required fields are marked *

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.