Would be nice to be able to define a default option for uninstall
message box for silent install..


something like CPACK_NSIS_SILENT_UNINSTALL_DEFAULT

which could be set with
SET( CPACK_NSIS_SILENT_UNINSTALL_DEFAULT /SD IDYES )  # or IDNO or something



Modify Modules/NSIS.template.in  .. add silent uninstall default
before option list....


  MessageBox MB_YESNOCANCEL|MB_ICONEXCLAMATION \
  "@CPACK_NSIS_PACKAGE_NAME@ is already installed. $\n$\nDo you want
to uninstall the old version before installing the new one?" \
   @CPACK_NSIS_SILENT_UNINSTALL_DEFAULT@ IDYES uninst IDNO inst
  Abort
-- 

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