K e n Posted July 3, 2005 Posted July 3, 2005 Hello folks..I'm here to ask for someone's help with regards to extractingfiles from cab files then repacking the files back to cab formatback to the original size the cab was prior to extracting it, plusI'm of the understanding that the cab has a checksum whichneeds to be restored..I downloaded the Cabinet Software Development Kit from MSbut was hoping to shortcut learning the hard way by askingthe advice of a professional or someone learned in the area..Thanks.Ken.P.S.I can extract the cabs OK with winrar , just need advice on the repackwith the checksum intact.
Martin Zugec Posted July 3, 2005 Posted July 3, 2005 Ehm, sorry, I didnt understand that request. You want to unpack and pack again without any change? Why?
K e n Posted July 3, 2005 Author Posted July 3, 2005 Ehm, sorry, I didnt understand that request. You want to unpack and pack again without any change? Why?<{POST_SNAPBACK}>I'm Hex-Editing various files on a couple of old Beta OS's then need to repack the files back to cabs.The files i'm hex-editing wont be any different in size as i'mover writing with the hex editor - not adding to the files..
Martin Zugec Posted July 3, 2005 Posted July 3, 2005 In that case sorry, you wont be able to change files and create same checksum...
prathapml Posted July 3, 2005 Posted July 3, 2005 Hi Ken,Its possible to restore the checksum to the file header.You need a tool called "modifyPE"Instructions are present here - LINK1.Also, here's some more info that you might be interested in - LINK2.Hoping this helps...
K e n Posted July 4, 2005 Author Posted July 4, 2005 (edited) Hi Ken,Its possible to restore the checksum to the file header.You need a tool called "modifyPE"Instructions are present here - LINK1.Also, here's some more info that you might be interested in - LINK2.Hoping this helps...<{POST_SNAPBACK}>Thankyou prathapmlThose links are about what I was looking for.I did a search when 1st joining but after 20 or solinks figured I was using the wrong search terms& thought it would be easier to ask.EDIT:The project was a success, thanks again prathapmlThe cabpack from MS was a bit vague on the instructions though.I found more info relating to the cabpack outside of MS than I didsearching within MS themselves.. Edited July 4, 2005 by K e n
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now