[CMake] CPack using Inno Setup compilation scripts ?

Nicolas Desprès nicolas.despres at gmail.com
Mon Aug 12 05:59:35 EDT 2013


Hi,

I am afraid you will have to write a new generator for cpack. It is not as
hard as it sound but you will have to write C++ code. That would be great
if cpack could support inno setup since it is much easier to hack inno
setup script than NSIS script.

Cheers,
-Nico



On Monday, August 12, 2013, Nitentore Tentyris wrote:

> Hi folks,
>
> (hope this post does not double up with an existing one ; I tried to check
> past posts in the archives but did not find any)
>
> I have this existing project on Windows (only) that require some automatic
> packaging - the current procedure is a painful doc to read and follow with
> multiple steps --> prone to error.
>
> From the CPack documentation, I see that it could really help me on this
> task.
>
> Among various things, one of the final step of the current procedure is to
> execute an InnoSetup compilation script (the step that generates a package
> - not the step consisting of executing an install). This inno setup script
> is not trivial and contains quite a lot of work, so I really do not want to
> 'redo' this part, I just want to use it.
>
> I've got some little experience with cmake, ctest and cdash. I have got
> lib and exe svn-updated, built, tested and reported to cdash every night
> and then, but I did not do anything with cpack (yet)... thought it was a
> good way to start :).
> Some sub-part / sub-tree of the project are already using cmake.
>
> My question:
> I have read that cpack "works" with NSIS... but how does it stand with
> InnoSetup ??? Could not find in the docs and in my google searches any
> positive insight on how to make my InnoSetup compilation script to work
> with CPack.
> Maybe I missed an article or a paragraph in the docs. Any pointers ?
>
> Otherwise my fallback position will be to script everything with some
> higher level batch file (argh!).
>
> Thanks in advance for your advices.
>
> Cheers;
> Nit.
>
>

-- 
Nicolas Desprès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130812/5f662813/attachment.htm>


More information about the CMake mailing list