KrisAster
19th January 2006 14:17 UTC
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
kichik
19th January 2006 19:09 UTC
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.
KrisAster
19th January 2006 19:44 UTC
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?
kichik
19th January 2006 20:43 UTC
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.