I'm finally trying the WIX/CPack MSI generator. Pretty nice!

One thing I need to do is instruct the build process to codesign via
signtool.exe. I've managed to figure out how to codesign my .exe via a
POST_BUILD add_custom_command step.

But now I would like to make sure the .msi that gets generated also
gets code signed. But I can't figure out how to do it.


I seem to need at least two things:

1) A post-build hook into the PACKAGE target (add_custom_command
doesn't seem to do anything when I try to refer to this target).

2) The name and location of the .msi that CPack/WIX generated so I can
refer to it with the signtool command.


Any advice?

Thanks,
Eric
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to