Skip to content

Commit

Permalink
[AD-930] Adding AWS Logo to the installer (#116)
Browse files Browse the repository at this point in the history
* added aws logo to the installer

* fix identation

* fixed merge conflict
  • Loading branch information
affonsov authored Sep 16, 2022
1 parent 21709ec commit b7a67ce
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/odbc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,13 @@ if (WIN32 AND ${WITH_ODBC_MSI})
@ONLY
)

add_custom_command(TARGET ${TARGET} PRE_BUILD
file(DOWNLOAD ${WIX_VC_DOWNLOAD_URL} "${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/${WIX_VCRUNTIME_NAME}")

add_custom_command(
TARGET ${TARGET} PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_SOURCE_DIR}/odbc/install/images $<TARGET_FILE_DIR:${TARGET}>/images)

file(DOWNLOAD ${WIX_VC_DOWNLOAD_URL} "${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/${WIX_VCRUNTIME_NAME}")

add_custom_command(
TARGET ${TARGET} POST_BUILD
COMMAND ${WIX_CANDLE} ${WIX_INSTALLER_PREFIX}.wxs -out ${WIX_INSTALLER_PREFIX}.wxobj
Expand Down
3 changes: 3 additions & 0 deletions src/odbc/install/documentdb-odbc.wxs.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
InstallerVersion='301' Languages='1033' Compressed='yes' SummaryCodepage='1252'
InstallScope="perMachine" InstallPrivileges="elevated"/>

<WixVariable Id="WixUIBannerBmp" Value=".\images\awstop.png" />
<WixVariable Id="WixUIDialogBmp" Value=".\images\awsdialog.png" />

<Media Id='1' Cabinet='package.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' />
<Property Id='DiskPrompt' Value="@WIX_PRODUCT_NAME@ Installation [1]" />

Expand Down
Binary file added src/odbc/install/images/awsdialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/odbc/install/images/awstop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b7a67ce

Please sign in to comment.