summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-08-19 17:11:20 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2016-08-19 17:11:20 +0000
commita92a8cc817649df80fd84b6a466da345772660fb (patch)
tree7632a2fd4587c77485e12f886000ea9e04da7abb /win
parent723488bba162109f241bc764b6e33c6f3d8b39d6 (diff)
downloadmariadb-git-a92a8cc817649df80fd84b6a466da345772660fb.tar.gz
Windows packaging : use /d switch to sign MSI, to prevent installer showing randomly generated name in UAC prompt
Diffstat (limited to 'win')
-rw-r--r--win/packaging/create_msi.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/packaging/create_msi.cmake.in b/win/packaging/create_msi.cmake.in
index a8ca35906e8..fceea041676 100644
--- a/win/packaging/create_msi.cmake.in
+++ b/win/packaging/create_msi.cmake.in
@@ -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()