2009/12/18 James Zipperer <james.zippe...@modsystems.com>: > After a lot of trial and error and some rtfm work, I figured out a way to > do it. The UpgradeDLL macro I mentioned below appears to be out of date and > the preferred method is now InstallLib. It appears to handle DLL versioning > and usage counting. Note: I could be wrong, I’ve been at this problem for > about a day now. > > > > Here’s the hack solution I came up with: > > > > 1. Modify NSIS.template.in to include Library.nsh:
I would say that if you have a specific behavior which is not configurable with the CMake provided NSIS.template.in you'll better craft your own NSIS.template.in which may contain as much specificities as you need. I mean not only adding "include Library.nsh" but whatever other NSIS installer code you need. Then after that if the "install driver DLL" thing is of general interest may be you can report a bug and propose a generic modification of the mainstream NSIS.template.in provided with cmake. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake