Archive: Installing a DLL based on date instead of version


Installing a DLL based on date instead of version
I've been using InstallLib quite successfully to copy over DLLs. I'm using a common directory where multiple installers will update a set of common DLLs.

It has become necessary (or at the very least desireable) to have the DLLs upgraded by DATE instead of relying purely on VERSION as I have in the past.

I've done a search of the forums for a way to go about handling this, but I have not found a commonly used way. Perhaps it's unusual to do this or I'm missing something glaringly obvious.

Could someone please point me in the right direction?

Thanks,
Kris


You can use SetOverwrite ifnewer. If you want to have it check both the version and the date, you'd have to make some changes to the Library macros.


Thanks kichik! Unfortunately, that's exactly what I wanted to do. I was hoping that it would be just another option with InstallLib like it is in InstallShield.

I guess I'll have to roll up my sleeves and dive into the Library macros afterall.

Are there any plans for adding this in the future or is it still to niche?


Are there any plans for adding this in the future or is it still to niche?
No, but if you submit a patch, I'll consider including it.