How to modify settings file content in MSI and repack

Posted on 2011-09-15
Medium Priority
Last Modified: 2013-11-14

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.
Question by:iNc0g
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 36541237
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.

Author Comment

ID: 36541251
I want to know what tool should I download in order to accomplish this, the MSI package is not mine.

Author Comment

ID: 36541332
I think I should move this question to "Misc Installations" / "System Utilities" zones.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 36541624
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

Author Comment

ID: 36541804
Got a msg saying Altiris is not supported on 64 bit systems.
I'm using WIN7 x64

Expert Comment

ID: 36541997
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
LVL 12

Expert Comment

ID: 36542761

Accepted Solution

CSI-Windows earned 2000 total points
ID: 36542965
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.

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question