MAVERICKS CHOICE Posted October 13, 2004 Posted October 13, 2004 Just curious since I upgraded to sp2 noticed my metapad/notepad replacement does not seem to install unattendly was fine in sp1? EDIT:Using this to call in batch fileECHO Installing Metapad the Windows Notepad replacement...REN %systemdrive%\WINDOWS\System32\dllcache\notepad.exe notepad.oldCOPY "%systemdrive%\INSTALL\APPLICATIONS\METAPAD\notepad.exe" "%systemdrive%\WINDOWS\System32\dllcache\" >nulREN %systemdrive%\WINDOWS\System32\notepad.exe notepad.oldCOPY "%systemdrive%\INSTALL\APPLICATIONS\METAPAD\notepad.exe" "%systemdrive%\WINDOWS\System32\" >nulREN %systemdrive%\WINDOWS\notepad.exe notepad.oldCOPY "%systemdrive%\INSTALL\APPLICATIONS\METAPAD\notepad.exe" "%systemdrive%\WINDOWS\" >nulECHO.ECHO Applying Metapad 3.5 Filters...REGEDIT /S %systemdrive%\INSTALL\APPLICATIONS\METAPAD\FILTERS.regECHO.
big poppa pump Posted October 13, 2004 Posted October 13, 2004 can you give a link for the program please?Stop being lazy and do a search in google for the program.@Maverick - I also use metapad instead of notepad and I found it much easier to replace metapad during installation itself rather than do all the crap by replacing it all over the place. Rename metapad.exe to notepad.exe, then do a makecab notepad.exe, then use modifype on notepad.exe and finally replace the original notepad.ex_ with the modified metapad/notepad in the I386 folder.
MAVERICKS CHOICE Posted October 14, 2004 Author Posted October 14, 2004 Thanks Pop I'll try that & see how it goes
MCT Posted October 14, 2004 Posted October 14, 2004 yes, i use notepad2 (kinda same thing, just an alternative text editor) & just cab it it works
skybl4ck Posted October 14, 2004 Posted October 14, 2004 can you give a link for the program please?Stop being lazy and do a search in google for the program.@Maverick - I also use metapad instead of notepad and I found it much easier to replace metapad during installation itself rather than do all the crap by replacing it all over the place. Rename metapad.exe to notepad.exe, then do a makecab notepad.exe, then use modifype on notepad.exe and finally replace the original notepad.ex_ with the modified metapad/notepad in the I386 folder. wouldn't you first use modifyPE and then cab it?
skybl4ck Posted October 15, 2004 Posted October 15, 2004 did u patch your WFP?nope :\ I was planning to but decided to be on the safe side and not. i'm a n00b at this so any help would be appreciated B)
Astalavista Posted October 15, 2004 Posted October 15, 2004 u hv to patch your wfpin order for u to change to metapad.i had the same problem before. when i patched my wfp it worked.
skybl4ck Posted October 15, 2004 Posted October 15, 2004 u hv to patch your wfpin order for u to change to metapad.i had the same problem before. when i patched my wfp it worked.aw.. :\ thanks i'l do that now
Sanjay Posted October 15, 2004 Posted October 15, 2004 Rename metapad.exe to notepad.exe, then do a makecab notepad.exe, then use modifype on notepad.exe and finally replace the original notepad.ex_ with the modified metapad/notepad in the I386 folder.Shouldn't this "then use modifype on notepad.exe" come before this "then do a makecab notepad.exe"?
Sanjay Posted October 15, 2004 Posted October 15, 2004 ECHO.ECHO Applying Metapad 3.5 Filters...REGEDIT /S %systemdrive%\INSTALL\APPLICATIONS\METAPAD\FILTERS.regECHO.Since you have renamed the file metapade.exe to notepad.exe, what purpose would be served by applying Metapad filters to "[HKEY_CURRENT_USER\Software\metapad]"?Also what do these filters do anyhow?Thanks.
Sanjay Posted October 15, 2004 Posted October 15, 2004 Just curious since I upgraded to sp2 noticed my metapad/notepad replacement does not seem to install unattendly was fine in sp1? Maybe the following has something to do with it:"C:\WINDOWS\System32\dllcache (NB: in XP SP2 this has changed to C:\WINDOWS\ServicePackFiles\i386)"This is as per "http://liquidninja.com/metapad/faq.html#Q28", although I personally have not found any such folder and I have slipstreamed SP2 on my PC.
Sanjay Posted October 15, 2004 Posted October 15, 2004 Can someone please give 'step by step' directions on how to replace notepad.exe with metapad.exe on the unattended CD.Thanks.
lilweirddude Posted October 15, 2004 Posted October 15, 2004 i think this is how you do ithavent tested it yet though1. download metapad2. put metapad.exe in a temp folder3. rename metapad.exe to notepad.exe4. press windows + r and type cmd5. navigate to the directory of your .exe file and type modifype notepad.exe -c6. dont close the cmd window yet, now type makecab.exe notepad.exe7. put notepad.ex_ in your i386 foldersorry for my crappy directions and i'm not 100% sure if this is how you do it rightif not, please correct meoh yeah, you need modyfyPE for thishttp://unattended.msfn.org/xp/hacked_files.htm
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now