All,
how can the following be done:
I have an application - vendor msi that I created a transform on. It was deployed. Now the want to update a few files that are part of the package. How should I go about doing this so that I don't have to uninstall the prior version.

I can't create a patch since it is a MST; How do I do an upgrade without uninstalling and reinstalling? I did the following; I added the updated files to the original MST (by both 1) browsing to the file and adding it to the existing component and also by 2) deleting the files first and then adding the files). I tried both ways and when I install the prior version of the app and do 1) listed above, the files don't get updated; when I do 2) it comes up with remove / repair and when I choose repair it does not update the file.

The files that need to be update were included in the original msi but the others were added in the mst.

Thanking you in advance for your help.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You could try performing a reinstall (without the need to uninstall first) using REINSTALLMODE flags that force the files to be updated regardless of whether they currently exist. Usually this is not recommended as there is the potential to downgrade existing files, but this method can be appropriate as long as you know what you are doing.

I envisage a command line along the lines of :

msiexec /i <Name of Your Base MSI> TRANSFORM=<Name of your revised MST> REINSTALL=ALL REINSTALLMODE=vamus

Note that if you have added additional files to your installation there are further considerations. First, you must create new components to hold the additional files and also a new feature to associate these components with. Secondly, on the command line above, you would then need to include ADDLOCAL=<Name of your new Feature> Finally, in this situation, you cannot use REINSTALL=ALL, but would need to specify a REINSTALL=<comma separated list of all the original features>

Hope this is of use

Regards,
Spartacus
Answered 04/18/2007 by: spartacus
Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity