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:
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. 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_
This article was posted by VG in following section: Windows XP.
If you enjoyed this article, you can subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our most popular articles and archive to read other interesting articles. If you have some news or tip to share, please send us.
Osho
Plz... tell me how i integrate Vista cursors, vista sounds and vist sidebar.
Anmol
how can i change statup wallpaper of modified windows
and ask the location of this startup wallpaper
Kizo2703
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??
Shaun
Hi vg :) how to add registry tweaks in new cd
Shaun
Hi vg :) how to add registry tweaks in new cd
Shaun
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
Puneet Batish
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
Puneet Batish
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
Rupesh
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
syner
how can i create my own add on on xp setup cd