Hy I've created my CPACK in a way that during the installation the PostgreSQL and the MSVC Redistributable are installed automatically.<br>however this doesn't work when i put them both, but when there is only one it work perfectly for this one<br>
<br>Exemple<br><br>set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait '\\\"$INSTDIR\\\\${VCREDIST_NAME}\\\" /q'") <br>this works<br><br>--------------------<br>or<br>set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIR\\\\${PSQLINSTALL_NAME}\\\" '") <br>also works<br><br>-----------------------<br><br>but,<br><br>list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIR\\\\${VCREDIST_NAME}\\\" /q'")<br>list(APPEND CPACK_NSIS_EXTRA_INSTALL_COMMANDS "ExecWait
'\\\"$INSTDIR\\\\${PSQLINSTALL_NAME}\\\" '") <br><br>doesn't work.<br><br>----------------------<br><br>I was wondering if someone has a way to solve this problem.<br><br><br>Another simple question is:<br>
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?<br><br><br><br><br><br clear="all"><br>--<br>Benoit RAT<br><a href="http://www.neub.co.nr">www.neub.co.nr</a><br>