[CMake] CPack doesn't recognize custom templates

norulez at me.com norulez at me.com
Tue May 8 09:19:47 EDT 2012


It is only a copy from the original. It doesn't work in windows xp in general.

Best Regards

Am 08.05.2012 um 13:51 schrieb Eric Noulard <eric.noulard at gmail.com>:

> 2012/5/8  <norulez at me.com>:
>> There is no difference with your command. It still uses the NSIS.template.in file from the CMake installation.
> 
> Are there any difference between the 2 CPackConfig.cmake files ?
> WinXP failing case vs Win7 working case?
> 
> Does the ${CMAKE_SOURCE_DIR}/cmake/NSIS.template.in file has any weird
> attribute?
> Is it readable by "normal user"? (you said it works if you are admin right?)
> 
>> Yes I tried the configurations in new build directories such as build1 ... buildn.
> 
> I got that but I suspected something in the source tree (where your
> NSIS.template.in is)
> so starting from another source tree (taken from your VCS) may exhibit
> different behavior.
> 
> If all that fail I'm afraid I cannot help more unless you can build a
> minimalistic example
> which shows the wrong behavior.
> 
> (I have no WinXP at hand but then I may look into the source more thoroughly).
> 
> -- 
> Erk
> Le gouvernement représentatif n'est pas la démocratie --
> http://www.le-message.org


More information about the CMake mailing list