Page 1 of 1

Read the File Modified Date

Posted: Sun Mar 18, 2007 4:19 pm
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

Posted: Tue Mar 20, 2007 4:25 am
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 :(

Date the file was modified

Posted: Wed Mar 21, 2007 8:31 am
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

Posted: Wed Mar 21, 2007 8:33 am
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.