/build/static/layout/Breadcrumb_cap_w.png

File Install Options

In the old Wise 9 program, files being installed had install options. You could select a file and click Details. Among other things, you would have the option to replace an existing file "If newer date", "If newer version", "Always", "Never", etc. I don't see that option in Wise Package Studio 7 Standard. Is it hidden somewhere? If not, how do you specify whether to replace existing files?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: aogilmor 15 years ago
9th Degree Black Belt
0
Wise Script has that capability. Wise for Windows Installer will use windows installer file versioning rules, which can be overridden by custom actions (or, so I hear, by "version lying" but never tried this)
Posted by: Ron Duca 15 years ago
Senior Yellow Belt
0
What I've got is this:

I created a TRANSFORM file to install a vendor .MSI. In addition to installing the vendor .MSI, I want to install three additional files that may or may not be present on the target machine. If the files are already present, I want my package to overwrite them. It appears that I need to use the REINSTALL property, but I cannot find clear instructions on the usage of that property. Can anyone provide assistance with this?
Posted by: anonymous_9363 15 years ago
Red Belt
0
The simplest way to deal with files if they already exist is to populate the RemoveFile table.

As for REINSTALL, you'll need REINSTALLMODE as well, both of which are extensively documented on MSDN.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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