On Monday, February 07, 2011 01:10:28 pm Crni Gorac wrote:
> Is it possible, on Windows and with NSIS back-end for CPack, to have
> small check-box on the last page of the installer that would, if
> checked, cause the installed application to be launched after the
> installation completed?  

I'm not sure if you can use the default NSIS template, but you should be able 
to with your own.

> If not, is it then possible somehow with
> CPack/NSIS to unconditionally launch the application after the
> installation completed?
> 

install(PROGRAMS ${myprog} DESTINATION bin)
SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait 
'\\\"$INSTDIR\\\\bin\\\\${myprog}\\\"'")

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
_______________________________________________
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