Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
iamtheky

Editing a file inside an .msi

Recommended Posts

iamtheky    0

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.

Share this post


Link to post
Share on other sites

iamtheky    0

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?

Share this post


Link to post
Share on other sites
kahlil88    0

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

Share this post


Link to post
Share on other sites
iamtheky    0

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.

Share this post


Link to post
Share on other sites
kahlil88    0
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.

Share this post


Link to post
Share on other sites

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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×