mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 06:03:26 +02:00
Fixing uninstall record
This commit is contained in:
parent
736977a4c2
commit
c1bac2f9bd
2 changed files with 4 additions and 1 deletions
|
@ -199,6 +199,9 @@ else (APPLE)
|
||||||
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
||||||
"${PROJECT_SOURCE_DIR}/resources"
|
"${PROJECT_SOURCE_DIR}/resources"
|
||||||
$<TARGET_FILE_DIR:${TARGET_NAME}>/resources
|
$<TARGET_FILE_DIR:${TARGET_NAME}>/resources
|
||||||
|
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
||||||
|
"${CMAKE_SOURCE_DIR}/examples"
|
||||||
|
$<TARGET_FILE_DIR:${TARGET_NAME}>/scripts
|
||||||
)
|
)
|
||||||
|
|
||||||
# link target to external libraries
|
# link target to external libraries
|
||||||
|
|
|
@ -88,7 +88,7 @@ Section "Registry Entries and Procotol Handler" SEC02
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
|
|
||||||
WriteRegStr HKLM "${regkey}" "Install_Dir" "$INSTDIR"
|
WriteRegStr HKLM "${regkey}" "Install_Dir" "$INSTDIR"
|
||||||
WriteRegStr HKLM "${uninstkey}" "DisplayName" "${company} (remove only)"
|
WriteRegStr HKLM "${uninstkey}" "DisplayName" "${install_directory} (remove only)"
|
||||||
WriteRegStr HKLM "${uninstkey}" "UninstallString" '"$INSTDIR\${uninstaller}"'
|
WriteRegStr HKLM "${uninstkey}" "UninstallString" '"$INSTDIR\${uninstaller}"'
|
||||||
WriteRegStr HKCR "${company}\Shell\open\command\" "" '"$INSTDIR\${interface_exec} "%1"'
|
WriteRegStr HKCR "${company}\Shell\open\command\" "" '"$INSTDIR\${interface_exec} "%1"'
|
||||||
WriteRegStr HKCR "${company}\DefaultIcon" "" "$INSTDIR\${interface_icon}"
|
WriteRegStr HKCR "${company}\DefaultIcon" "" "$INSTDIR\${interface_icon}"
|
||||||
|
|
Loading…
Reference in a new issue