Overwrite Newer Date - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

agoto
Posts: 9
Joined: Thu Jul 06, 2006 9:23 am

Overwrite Newer Date

Hi,

I understand I can overwrite the installation file set if the file version is later than the specified version.

If the file does not have version number, how can I compare the file date to overwrite? I wish to compare some files such as .txt, .html, .xml, etc.

Thanks.

Aki
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

For non versioned files the overwrite criteria is "Creation Date", "Modified Date" and this is a automatic process.

Please follow this link for more details:
http://msdn.microsoft.com/library/defau ... ersion.asp

Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
agoto
Posts: 9
Joined: Thu Jul 06, 2006 9:23 am

Force Overwrite

Thanks Gigi,

I understand that point.

This is separate issue but some times I wish to overwrite even if the existing files are newer.

At this moment I delete the existing files and then install the files to ensure that the files in the installer overwrite the existing ones.

InstallShield has ALWAYS_OVERWRITE option and it can be applied to a file group. Can I make the setting easier like this?

I used to use InstallShield but Advanced Installer is much easier to use on most of areas! :D

Thank you.

Aki

Return to “Common Problems”