Summary
Sometimes it is necessary to ensure that a file is not overwritten if it exists on the target machine regardless of the file version.Synopsis
Sometimes it is necessary to ensure that a file is not overwritten if it exists on the target machine regardless of the file version.Discussion
Installation Designer
->Organization
->Components
->Select a component (Create a new component if none exists by right click New Component in the middle pane)
-> Never Overwrite property (in the right pane)
Setting this property to 'Yes' will ensure that the component is not installed or reinstalled if the key files exists on the target machine, regardless of the file version.
Setting this property to 'No' will do the following:
-
If the file version on the target system is newer than the version being installed, the file on the target system is not overwritten.
-
If the version being installed is newer than the file on the target system, the file on the target system is overwritten.
Note that Windows Installer only uses the components key path to determine if it should install the component. If the key path does not already exist on the target machine, or is unversioned, Windows Installer will install the component as if this property was set to 'No'.
Additional Information
For more information on file versioning rules, see the Windows Installer Help Library topic File Versioning Rules.
Related Articles
Always Overwrite Files Regardless of Version, Date, and Time Stamp 18Number of Views Replacing Files That Were Marked As Never Overwrite Causes It to be Overwritten 3Number of Views Delete All Files Regardless of File Attributes 3Number of Views Set File Version to Always Overwrite using an InstallShield Automation Interface script 26Number of Views CopyFile function does not return when attempting to overwrite a locked target file 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago