iamtheky Posted December 6, 2008 Share Posted December 6, 2008 There is a config file inside an msi in which I need to change a single path. Is there a simple way to edit the file.I've got the extract and edit part, which made me want to ask if a solution exists that allows to simply edit a file and save with no repacking. Link to comment Share on other sites More sharing options...
cluberti Posted December 6, 2008 Share Posted December 6, 2008 What tool are you using? ORCA, or something else? Link to comment Share on other sites More sharing options...
iamtheky Posted December 6, 2008 Author Share Posted December 6, 2008 I used uniextract to unpack it and found the config file and single line that i need to edit (just repathing a home folder from c to d). Problem is I lack skills in the whole repacking department. I have all of last nights experience with Orca, that actually peaked my interest. Which led to the question, that if I dont want to change the installer at all, just one character in one existing file and leave everything else intact, whats the easiest method? Link to comment Share on other sites More sharing options...
kahlil88 Posted December 6, 2008 Share Posted December 6, 2008 (edited) I've recently discovered that 7-Zip can open some .EXE and .MSI files, as well as write new data to the contents (you have to select the "Open as archive" option in the Explorer context menu). Edited December 6, 2008 by kahlil88 Link to comment Share on other sites More sharing options...
iamtheky Posted December 6, 2008 Author Share Posted December 6, 2008 Thats a nice gui for extracting, thanks. (I think uniextract succeded with 7zip but just extracted). Still does not allow me to replace or edit. I get a lot of 'operation not supported' and 'can not update file' errors. Link to comment Share on other sites More sharing options...
kahlil88 Posted December 6, 2008 Share Posted December 6, 2008 Thats a nice gui for extracting, thanks. (I think uniextract succeded with 7zip but just extracted). Still does not allow me to replace or edit. I get a lot of 'operation not supported' and 'can not update file' errors.You might have to extract the files you want to edit and then drag them back into the archive and replace the originals. Link to comment Share on other sites More sharing options...
iamtheky Posted December 6, 2008 Author Share Posted December 6, 2008 thats when i get 'operation not supported', whether i attempt to perform the procedure on the entire extracted cab or just the extracted .cfg from inside the cab. Link to comment Share on other sites More sharing options...
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