/build/static/layout/Breadcrumb_cap_w.png

How can I "always replace" a file during installation?

I have an msi from which I created a Transform file using Wise Package Studio 8.  I then installed the application on my packaging machine, edited a text file, and compiled the .mst.  This updated the .mst file and created a .cab file.  If I install the new package on a machine that contains a previous version of the application, the text file I modified does not get replaced.  In older versions of Wise there was a property that could be set on each file to "always replace".  How can I apply an "always replace" property on the modified text file (or any file)?


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jagadeish 11 years ago
Red Belt
1

Companion Files
This is a way of associating unversioned files with a versioned one.


Posted by: piyushnasa 11 years ago
Red Belt
1

Companion file is really good and it works well. totally go with this option.

you can also create an entry in removefile table to delete the existing file before adding other one.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ