Hy I've created my CPACK in a way that during the installation the
PostgreSQL and the MSVC Redistributable are installed automatically.
however this doesn't work when i put them both, but when there is only one
it work perfectly for this one

Exemple

set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIR\\\\${VCREDIST_NAME}\\\" /q'")
this works

--------------------
or
set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIR\\\\${PSQLINSTALL_NAME}\\\" '")
also works

-----------------------

but,

list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIR\\\\${VCREDIST_NAME}\\\" /q'")
list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIR\\\\${PSQLINSTALL_NAME}\\\" '")

doesn't work.

----------------------

I was wondering if someone has a way to solve this problem.


Another simple question is:
 if it is possible to check that the software is already installed, and
select repair or uninstall (like other installer) if want to use a more
recent version?






--
Benoit RAT
www.neub.co.nr
_______________________________________________
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