Override only the existing file is older.. - Advanced Installer Community
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Override only the existing file is older..

Hi team,

Can you explain how the File will be override only the existing is older ?

Based on what condition its going to be verified, the file under target machine if older.

On Created Date or File version or something else I.e;.

With Regards,
Pradeep.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Override only the existing file is older..

Hi Pradeep,

The installer uses rules when trying to install a file to a location that already contains a file with the same name. In this case, making the determination requires a set of rules involving the following properties:
  • Version
  • Date
  • Language
Please take a look on the File Versioning Rules article with related information.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Re: Override only the existing file is older..

Hi Support,

We are creating a patch installer and updating the files. Is there any option to overwrite the files forcibly without referring to the file versioning rules from the patch installer.

Please let usknow your suggestions at the earliest.

Regards
Pradeep
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Override only the existing file is older..

Hi Pradeep,

During the patch installation wizard, the REINSTALLMODE property is set with the ecmus switches. This can be seen on the Next > control from the PatchWelcomeDlg from the
dialogs page, where there is a published event which set the ecmus switch for the reinstall mode.

The REINSTALLMODE property is a string that contains letters specifying the type of reinstall to perform. Please take a look on the REINSTALLMODE property article with related information for hints and guidance.

Please let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”