2010/6/9 Vincent LEFORT <[email protected]>:
> Hello, i want to use CPack to generate my installer instead of NSIS
> directly.
> Is it possible to have translation of my installer using CPack/CMake ?

Automatic translation I don't think there exists some tools for that.
However CPack NSIS generator is using a template NSIS config file:

<CMAKE_INSTALL>/share/cmake-x/.yModules/NSIS.template.in

If you put in your project your own NSIS.template.in file (adapted from
your current NSIS config file) and then modify you  CMake module path

this has already been done successfully:

http://www.mail-archive.com/[email protected]/msg13128.html

> For example : At the beginning, NSIS will ask the language of the installer
> and after, all the text will be in the selected language.
> I don't find anything about this subject and though it's possible with NSIS.

Diving into /Searching the ML archive may give you more information
on this subject:
http://www.cmake.org/Wiki/CMake_FAQ#Where_can_I_find_searchable_CMake_Mailing_Archives.3F

-- 
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

Reply via email to