How to simply replace a file in a MSI package with Pacesuite MSI editor ?
Hello,
I have a MSI package which installs several files including a config file which is uncorrect.
We fix the bad value in the config file on a computer where the package was installed, then I would now to get this correct config file and replace the file which is in the MSI (in a Cab file in the MSI) by the corrected one with PaceSuite MSI Editor.
We fix the bad value in the config file on a computer where the package was installed, then I would now to get this correct config file and replace the file which is in the MSI (in a Cab file in the MSI) by the corrected one with PaceSuite MSI Editor.
Does somebody know how to do it, please ?
Many thanks in advance
2 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
Maidens
7 years ago
If its a vendor supplied MSI? do not make changes directly to the MSI, instead create a transform file and include changes/modifications within the transform.
http://pacesuite.com/release/4.2.0/PACE-Suite-4.2.0-Getting-started.pdf
The link above should help you with either editing a re-packaged MSI or section 3.2 provides the necessary information on generating transforms.
Good luck
Posted by:
fcaignard
7 years ago
The MSI package come from one of our customer : They provide us an MSI of a program which let us preparing files for them, but the developper of this program did a mistake in one of the config file.
The config file includes a setting of the path where users data for the paalication should be stored, and instead of setting this path to %userprofile%, the developper let his how user profile path.
Because I would have a single MSI file instead of MSI + MST or, as you (pace support) recommended me, to add the config file in the MSI then obtain a MSI + a CAB file, I finally ran the original MSI on a VM and I captured it with MSI Generator, then I replaced the config file.
Thanks. - fcaignard 7 years ago