I am using CPACK - NSIS to generate my installer. 
When am trying to re-install my app on an existing installation it installs.
But, when the app is running am not able to install it (the windows OS gives
me some error). To avoid this I want to add a message box which says "The
APP is already running, please close it before you install". 
To do that I need to check if the process is running, something like
FindProcDLL.
So is there a way to run the NSIS command in the cpack before the actual
installation.

When I use CPACK_NSIS_EXTRA_INSTALL_COMMANDS the windows OS errors come up,
but the message box comes up only after the installation.

Please advice
Thanks! 
-- 
View this message in context: 
http://cmake.3232098.n2.nabble.com/CPACK-NSIS-Check-if-application-is-running-tp6024292p6024292.html
Sent from the CMake mailing list archive at Nabble.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