Read the File Modified Date

Got a problem you cannot solve? Try here.
Post Reply
JohnH
Posts: 7
Joined: Thu Feb 01, 2007 12:02 pm

Read the File Modified Date

Post by JohnH »

I've already asked this, but didn't get an answer.

I am using Web Media blocks to separate runtime and help files. I need to check our help files to determine if they are older, so I can download new one or not. The problem is the help files don't contain a version number, so I want to read the date from the file to determine if it needs updating. InstallaWare allow the version of the file to be read, but how can I get the date from the file.

Is there any way to get the date the file was modified using InstallaWare?

Regards,

John
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

Hi John,

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), otherwise you will need to write a plugin I'm afraid :(
Andy Neillans
JohnH
Posts: 7
Joined: Thu Feb 01, 2007 12:02 pm

Date the file was modified

Post by JohnH »

Thanks neillans.

Who do I write a plug in?

Can I also suggest you add this as a feature? I'm sure other users would find it useful to read the date the file was modified.

Regards,

John
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

Hi John,

For more information on plugin authoring, please have a look at the section "Plug-In Authoring Overview" in the help file.

I'll add your suggestion to our wish list.
Andy Neillans
Post Reply