• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1854
  • Last Modified:

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.
1 Solution
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.
iNc0gAuthor Commented:
I think I should move this question to "Misc Installations" / "System Utilities" zones.
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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 : http://www.symantec.com/business/package-studio
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
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.
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.

Join & Write a Comment

Featured Post

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now