ATTENTION: If you want to link or quote content from AskVG.com, please do read our copyright policy.

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_

11 Replies:


  1. Hey Vish Guru…
    thnks………
    Now,
    After including the customized files..How can i include the following……. in the windows xp installation cd………..

    1. Vista Cursors.
    2. Vista Icons
    3. Vista Drvie Status
    4. Vista Sounds
    5. Removing ShutDown button TEXT
    6. Vista Themes
    7. Boot Screen
    8. Logon Screen
    9. Modified Notepad….
    10. Vista explorer
    11. Adding Some regisrty tweaks given by u…
    12. Deleting Few Files/Folders.

    Thnks …
    Ronak Agrawal

  2. Hey vish baiya…..
    I forgot to say i know……I can do the task by nlite…………but i dont want to use nlite..coz there might be some bugs……..

    And how to add few files in system32 folder in the installation Cd

  3. I can just say, edit files which you want and use the above mentioned method to include them in Setup.

    Reg. to adding your own new files / programs in Setup which are not present in CD, I don’t have much idea and it’ll be really very complicated. So better to use nLite. :)

  4. thnks vish bro…….
    I will use the software ………..
    thnks agian…..
    :roll: :roll: :roll:

  5. GREAT BHAI

  6. hi vishal
    pls tell me that how to add these files in the xp cd because i dont know that wow to add files in the image of setup disk pls discribe in brife

  7. hi vishal
    pls tell me that how to add these files in the xp cd because i dont know that wow to add files in the image of setup disk pls discribe in brife

  8. ^^ You can copy the CD in your system and then follow this tutorial to add your edited files. Then use nLite to create Bootable Setup CD.

    You can also use ISO software like UltraISo, etc to add files to an ISO image.

  9. Hi vishal :smile:
    pls tell me that how to edit setup.exe (autorun)in xp cd ?

  10. ^^ You can’t but there are some paid software to create a new exe for XP setup. I can’t recall the name but will let you know if I come across it.

  11. :neutral: apni samjh say bahir hai biru ager video hoti to asani say samjh me ajata sab ko :lol: just joking thanx vishal


Wanna Reply?



Your Ad Here