Jump to content

Recommended Posts

Posted

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.


Posted

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?

Posted (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 by kahlil88
Posted

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.

Posted
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.
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...