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_



This article was posted in Windows XP.

Subscribe to RSS Feed | Email Newsletter | More Articles

Related Articles

Popular Articles



100 Comments

  • @ ADIL all things u need to include in setup disk are present in my pc but i am waiting for Vishals permission to upload them so it can be helpful to u so ask VISHAL for granting permission to me to upload files

  • hi vishal,
    plz tell me in detail how can u tweak windows
    specially the funtioning of command prompt.i can try also
    thank you
    :smile: :wink: :grin: :razz: :lol: :cool: :eek: :roll: :evil: :neutral: :shock: :sad: :???: :cry: :mad: :idea: :?:

  • i have made myself a batch file that does this job for me ill post it for your reading pleasure..

    first create a folder name what what you wish, then inside that folder create 3 folders.
    name the first new folder: output
    name the second folder: bin
    name the third folder: Required_files

    after all that is all done goto %systemroot%\system32 and copy the makecab.exe file to the Required_files folder you just created.

    then download the file above mentioned called modifype.exe and put it in the Required_files folder also.

    next place all the files that you want converted in the bin folder (you may have to add a few lines to the code depending on what you are converting) *see bottom

    next its time to create the batch file name it what you want as long as the file extension is bat or cmd it makes no defrence and put the following code in there:

    @echo off
    Required_files\modifype bin\shell32.dll -c
    Required_files\makecab bin\shell32.dll
    rename shell32.dl_ SHELL32.DL_
    echo converted shell32.dll to SHELL32.DL_ successfully!
    Required_files\modifype bin\msgina.dll -c
    Required_files\makecab bin\msgina.dll
    rename msgina.dl_ MSGINA.DL_
    echo converted msgina.dll to MSGINA.DL_ successfully!
    Required_files\modifype bin\explorer.exe -c
    Required_files\makecab bin\explorer.exe
    rename explorer.ex_ EXPLORER.EX_
    echo converted explorer.exe to EXPLORER.EX_ successfully!
    Required_files\modifype bin\logonui.exe -c
    Required_files\makecab bin\logonui.exe
    rename logonui.ex_ LOGONUI.EX_
    echo converted logonui.exe to LOGONUI.EX_ successfully!
    Required_files\modifype bin\ntoskrnl.exe -c
    Required_files\makecab bin\ntoskrnl.exe
    rename ntoskrnl.ex_ NTOSKRNL.EX_
    echo converted ntoskrnl.exe NTOSKRNL.EX_ successfully!
    Required_files\modifype bin\uxtheme.dll -c
    Required_files\makecab bin\uxtheme.dll
    rename uxtheme.dl_ UXTHEME.DL_
    echo converted uxtheme.dll to UXTHEME.DL_ successfully!
    move *.dl_ output
    move *.ex_ output
    echo.
    echo.
    echo All tasks completed, press any key to exit...
    pause >nul

    then save the .bat file.

    run it and it should put all the checksum'd cab'd files in the output folder.

    *if you need to add more files just add another line of code example:

    Required_files\modifype bin\myfile.extension -c
    Required_files\makecab bin\myfile.extension
    rename myfile.ex_ MYFILE.EX_
    echo converted myfile.extension to MYFILE.EX_ successfully!

    yes its long and complicated but it makes things easier in the long run! :)

  • Dear Vishal Bhaiaa
    I Want to integrate Vista Icons , Visat cursors, Vista Sounds & Vista sidebar In Windows Xp Sp 3 Setup disc

    Thanks
    Osho Gupta

  • Dear Vishal Bhaiaa
    I Want to integrate Vista Icons , Visat cursors, Vista Sounds & Vista sidebar In Windows Xp Sp 3 Setup disc

    Thanks
    Osho Gupta

  • Plz... tell me how i integrate Vista cursors, vista sounds and vist sidebar.

  • how can i change statup wallpaper of modified windows
    and ask the location of this startup wallpaper

  • It won't work be me! I get **fatal error. Setup failed to install catalogs. Error code 800b0100**
    Memory is OK , primary windows OS works fine ,all hardware ,software & drivers are up to date!
    What am I missing??

  • Hi vg :) how to add registry tweaks in new cd

  • Hi vg :) how to add registry tweaks in new cd

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.