How to modify settings file content in MSI and repack

Hi,

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.
iNc0gAsked:
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.
0
 
ASP8MBMCommented:
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.
0
 
iNc0gAuthor Commented:
I want to know what tool should I download in order to accomplish this, the MSI package is not mine.
0
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.
0
 
ASP8MBMCommented:
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
0
 
iNc0gAuthor Commented:
Got a msg saying Altiris is not supported on 64 bit systems.
I'm using WIN7 x64
0
 
ASP8MBMCommented:
hmmm,
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
0
 
jmcmunnCommented:
0
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.