Windows packaging : use /d switch to sign MSI, to prevent installer showing randomly generated name in UAC prompt

This commit is contained in:
Vladislav Vaintroub 2016-08-19 17:11:20 +00:00
parent 723488bba1
commit a92a8cc817

View file

@ -430,6 +430,7 @@ EXECUTE_PROCESS(
IF(SIGNCODE)
EXECUTE_PROCESS(
COMMAND ${SIGNTOOL_EXECUTABLE} sign ${SIGNTOOL_PARAMETERS}
/d ${CPACK_PACKAGE_FILE_NAME}.msi
${CPACK_PACKAGE_FILE_NAME}.msi
)
ENDIF()