[CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Boudewijn Rempt
Hi, We're using Qt4, Visual Studio 9 and cmake 2.6 to create binaries and cpack with the nsis installer generator to create an installer. cpack/nsis add thes following to our installer package: msvcm90.dll msvcr90.dll msvcp90.dll and a manifest file describing these files, all four files to the

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Mathieu Malaterre
Boudewihn, I cannot see the following line in your code: INCLUDE(${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake) What option did you set ? On Thu, Sep 4, 2008 at 1:54 PM, Boudewijn Rempt [EMAIL PROTECTED] wrote: Hi, We're using Qt4, Visual Studio 9 and cmake 2.6 to create

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Boudewijn Rempt
On Thu, 4 Sep 2008, Mathieu Malaterre wrote: Boudewihn, I cannot see the following line in your code: INCLUDE(${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake) What option did you set ? Er. I think that was a cut pasto: I have got it: INCLUDE(CPack)

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Bill Hoffman
Boudewijn Rempt wrote: On Thu, 4 Sep 2008, Mathieu Malaterre wrote: Boudewihn, I cannot see the following line in your code: INCLUDE(${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake) What option did you set ? Er. I think that was a cut pasto: I have got it: INCLUDE(CPack)

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Boudewijn Rempt
On Thu, 4 Sep 2008, Bill Hoffman wrote: Did you install service pack 1 for Visual studio 9? Yes -- it's Visual Studio Express 9.0.30729.1 SP We have been having some trouble with that. It seems that when you compile with VS 9 it puts one manifest in your .exe, and the redist msvcm90.dll

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Bill Hoffman
Boudewijn Rempt wrote: On Thu, 4 Sep 2008, Bill Hoffman wrote: Did you install service pack 1 for Visual studio 9? Yes -- it's Visual Studio Express 9.0.30729.1 SP We have been having some trouble with that. It seems that when you compile with VS 9 it puts one manifest in your .exe, and

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Boudewijn Rempt
On Thu, 4 Sep 2008, Bill Hoffman wrote: It creates executables that embed the old version of the manifest, but ships with redist manifests that are the old (pre service pack) manifests. I wonder if you did a simple text edit on the redist manifests if it would work Maybe the .dll's are

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Bill Hoffman
Boudewijn Rempt wrote: On Thu, 4 Sep 2008, Bill Hoffman wrote: It creates executables that embed the old version of the manifest, but ships with redist manifests that are the old (pre service pack) manifests. I wonder if you did a simple text edit on the redist manifests if it would work

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Boudewijn Rempt
On Thu, 4 Sep 2008, Bill Hoffman wrote: Boudewijn Rempt wrote: On Thu, 4 Sep 2008, Bill Hoffman wrote: It creates executables that embed the old version of the manifest, but ships with redist manifests that are the old (pre service pack) manifests. I wonder if you did a