File Date Check

Got a problem you cannot solve? Try here.
Nichesoft
Posts: 2
Joined: Wed Feb 12, 2014 7:57 am

File Date Check

Postby Nichesoft » Thu Feb 13, 2014 1:02 pm

Hello

We need to check the Date Modified date of an EXE before we run our update or even allow the update to run.
Is there a date compare in IA where I an say IF (FileDate > mm-dd-yyyy) Then blah

AND

have it know date formatting so canada doesn't mess it up with dd-mm-yyyy?

Thanks!

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: File Date Check

Postby FrancescoT » Fri Feb 14, 2014 10:18 am

Dear User,

There is nothing built in to do this I'm afraid; you may be able to call one of the Windows internal functions to get something along the lines of what you are after (using the Call DLL Function).

Alternatively, you could check the file version instead.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 100 guests