How to modify settings file content in MSI and repack


I would like to edit the contents of a settings file which resides in an MSI package and repack the MSI with the changes made.
Who is Participating?
CSI-WindowsConnect With a Mentor Commented:
The best way is to:

*) Extract the file
*) Make the changes
*) Use a transform (.MST) to include the updated file.

Not only does this allow you to update the file without hacking on the vendor's MSI, this will also allow you to update the file in the future.

Here is the challenge - transforms cannot contain internal files, so you need an external CAB file to hold the file.

Tools like Orca do not do the external cab + modify the media tables of the MST to map the file for you.  Tools like Wise and InstallShield will automatically create an external cab.

I'm not sure if the less expensive Advanced Installer will automatically create an external cab when adding files via a transform - but they have a free trial, so you could try it out.
Depends on the MSI editing tool you have. If you have InstallShield, you can extract the file in question, modify it, and then importing back in.
iNc0gAuthor Commented:
I want to know what tool should I download in order to accomplish this, the MSI package is not mine.
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

iNc0gAuthor Commented:
I think I should move this question to "Misc Installations" / "System Utilities" zones.
A good way to start is to download MSI Packager (Wise Package Studiio) tool from Wise/Symantec. You can use the full functionality of the product with the trial version. Here is the link :
iNc0gAuthor Commented:
Got a msg saying Altiris is not supported on 64 bit systems.
I'm using WIN7 x64
You might have downloaded something diff.
See features posted on their site:
Key FeaturesGet a jumpstart on Windows 7
64-bit support
Create, edit, and manage packages for virtual applications
Support for additional package formats
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.