Re: [CMake] using cmake to install dlls into windows/system32

2009-12-18 Thread David Cole
On Fri, Dec 18, 2009 at 12:10 PM, Eric Noulard wrote: > 2009/12/18 David Cole : > > > See my note attached to this bug for a way to use your own override of > the > > NSIS.template.in file. (So you can do it on a per-project basis rather > than > > modifying the main one in the CMake installation.

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-18 Thread Eric Noulard
2009/12/18 David Cole : > See my note attached to this bug for a way to use your own override of the > NSIS.template.in file. (So you can do it on a per-project basis rather than > modifying the main one in the CMake installation...) > http://public.kitware.com/Bug/view.php?id=9148 David, If thi

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-18 Thread David Cole
On Fri, Dec 18, 2009 at 3:09 AM, Eric Noulard wrote: > 2009/12/18 James Zipperer : > > 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 app

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-18 Thread Eric Noulard
2009/12/18 James Zipperer : > 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

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-17 Thread James Zipperer
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of James Zipperer Sent: Thursday, December 17, 2009 2:44 PM To: CMake mailing list Subject: Re: [CMake] using cmake to install dlls into windows/system32 This seems to work, although I don't think it's the ideal

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-17 Thread James Zipperer
: Thursday, December 17, 2009 2:44 PM To: CMake mailing list Subject: Re: [CMake] using cmake to install dlls into windows/system32 This seems to work, although I don't think it's the ideal solution: CMakeLists.txt install (FILES drivers/driver.dll DESTINATION sysdir/

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-17 Thread James Zipperer
erer Sent: Wednesday, December 16, 2009 4:44 PM To: David Cole; CMake mailing list Subject: Re: [CMake] using cmake to install dlls into windows/system32 They're device driver dlls for use system-wide. -James From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, December 16,

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread James Zipperer
They're device driver dlls for use system-wide. -James From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, December 16, 2009 4:34 PM To: James Zipperer Cc: CMake mailing list Subject: Re: [CMake] using cmake to install dlls into windows/system32 What's the reason they

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread David Cole
> *Sent:* Wednesday, December 16, 2009 4:15 PM > *To:* James Zipperer > *Cc:* CMake mailing list > *Subject:* Re: [CMake] using cmake to install dlls into windows/system32 > > > > You should avoid this if at all possible. > > Install dlls next to your program, not in

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread James Zipperer
Yes, unfortunately they need to be there. -James From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, December 16, 2009 4:15 PM To: James Zipperer Cc: CMake mailing list Subject: Re: [CMake] using cmake to install dlls into windows/system32 You should avoid this if at all possible

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread David Cole
You should avoid this if at all possible. Install dlls next to your program, not in the system32 directory. Do you have a reason you need to install a dll there? On Wed, Dec 16, 2009 at 6:42 PM, James Zipperer < james.zippe...@modsystems.com> wrote: > Does anyone have an example of how to ins

[CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread James Zipperer
Does anyone have an example of how to install dlls into %WINDIR%/system32 using cmake/ cpack/nsis? Thanks! -James This message contains information which is confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee),