[CMake] cpack install problem

Dean Inglis dean.inglis at camris.ca
Mon Sep 7 09:24:55 EDT 2009


that was the problem.  I didn't realize that 
security updates to MSVSE would change the versioning.  I was
rebuilding vtk etc. but overlooked tcl/tk.  Once
I rebuilt *everything* apps install and run fine.
Thanks for all your help.
Dean 



-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman at kitware.com] 
Sent: September-03-09 4:36 PM
To: John Drescher
Cc: dean.inglis at camris.ca; cmake at cmake.org
Subject: Re: [CMake] cpack install problem

John Drescher wrote:

> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
>   <dependency>
>     <dependentAssembly>
>       <assemblyIdentity type="win32" name="Microsoft.VC80.CRT"
> version="8.0.50727.762" processorArchitecture="x86"
> publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
>     </dependentAssembly>
>   </dependency>
>   <dependency>
>     <dependentAssembly>
>       <assemblyIdentity type="win32" name="Microsoft.VC80.CRT"
> version="8.0.50727.4053" processorArchitecture="x86"
> publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
>     </dependentAssembly>
>   </dependency>
>   <dependency>
>     <dependentAssembly>
>       <assemblyIdentity type="win32" name="Microsoft.VC80.CRT"
> version="8.0.50608.0" processorArchitecture="x86"
> publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
>     </dependentAssembly>
>   </dependency>
> 

The fix is to rebuild everything with the same version (SP) of visual 
studio.  A single exe should not have more than one of these things in 
it.  If it does then you have to do the redist thing.  If it only has 
one, which is possible, then you can ship the libraries and not have to 
install into the system with redist.  If there is one .obj or one .dll 
that was built with a slight different version of VS, then you get this 
problem, and the side by side manifest will not work.  The redist.exe 
works by installing all of them into the system.  It requires 
administrator rights to do this, and installs them for the whole computer.

-Bill



More information about the CMake mailing list