Hi,<div><br></div><div>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.</div>
<div><br></div><div>Cheers,</div><div>-Nico<span></span><br><br><br><br>On Monday, August 12, 2013, Nitentore Tentyris wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi folks,<br><div><br></div><div>(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)<br><br></div><div>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.<br>
<br></div><div>From the CPack documentation, I see that it could really help me on this task.<br></div><div><br>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.<br>
<br></div><div>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 :).<br>
Some sub-part / sub-tree of the project are already using cmake.<br><br></div><div>My question:<br></div><div>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.<br>
</div><div>Maybe I missed an article or a paragraph in the docs. Any pointers ?<br><br></div><div>Otherwise my fallback position will be to script everything with some higher level batch file (argh!).<br></div><div></div>
<div><br></div><div>Thanks in advance for your advices.<br><br></div><div>Cheers;<br></div><div>Nit.<br><br></div></div>
</blockquote></div><br><br>-- <br>Nicolas Desprès<br><br>