Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

editing files stored in cab files

Status
Not open for further replies.

fenris

Programmer
Joined
May 20, 1999
Messages
824
Location
CA
How would i go about editing, say a text file that is contained within a cab file? What I am trying to do is edit a *.reg file, which is essentially a text file, to reflect information that is unique to different computers. I would really not to have to repackage the program as the number of times that it would have to be repackaged would be in the hundreds of times! What I want to do is write a small vb app that would do this for me.


Any ideas...

Troy Williams B.Eng.
fenris@hotmail.com

 
Not really my field, but then my opinion is that it is really nobody's field. Basically because it probably shouldn't be done! ".CAB" files are compressed files. This basically translates to 'Encrypted', which means you would need to "decrypt' the file, make the changes, and (re) encrypt them. This is a large part of what the packaging program does.

I think the normal approach for this is to include the regisrty information in a generic form, and then have te ssetup routine prompt the user for the correct information for the specific information.



MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top