aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2021-12-15 10:41:32 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2021-12-16 09:29:24 -0600
commitb65ef9f72b4ade9fafe78ceef54d77dd31892057 (patch)
tree0311a56fc91b91e35e23310b9cd1d650062cea54
parentf59f3c24905c3773e605dbcfdf69cbe00788c6cc (diff)
downloaduhd-b65ef9f72b4ade9fafe78ceef54d77dd31892057.tar.gz
uhd-b65ef9f72b4ade9fafe78ceef54d77dd31892057.tar.bz2
uhd-b65ef9f72b4ade9fafe78ceef54d77dd31892057.zip
uhd: nsis: Remove broken shortcuts in Windows installer
The Windows UHD installer binary, generated by e.g. running the PACKAGE project in the Visual Studio solution generated by CMake, creates two shortcuts to utilities that are no longer included with the installer: the USRP2 card burner and USRP-N2xx net burner. This commit removes these defunct shortcuts.
-rw-r--r--host/cmake/Modules/NSIS.template.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/cmake/Modules/NSIS.template.in b/host/cmake/Modules/NSIS.template.in
index d466a6d06..928fd8224 100644
--- a/host/cmake/Modules/NSIS.template.in
+++ b/host/cmake/Modules/NSIS.template.in
@@ -693,8 +693,6 @@ Section "-Core installation"
@CPACK_NSIS_CREATE_ICONS@
@CPACK_NSIS_CREATE_ICONS_EXTRA@
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
- CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\USRP2 Card Burner.lnk" "$INSTDIR\lib\uhd\utils\usrp2_card_burner_gui.py" "" "" "" SW_SHOWMINIMIZED
- CreateShortcut "$SMPROGRAMS\$STARTMENU_FOLDER\USRP-N2XX Net Burner.lnk" "$INSTDIR\lib\uhd\utils\usrp_n2xx_net_burner_gui.py" "" "" "" SW_SHOWMINIMIZED
CreateShortcut "$SMPROGRAMS\$STARTMENU_FOLDER\UHD Images Downloader.lnk" "$INSTDIR\lib\uhd\utils\uhd_images_downloader.py"
CreateShortcut "$SMPROGRAMS\$STARTMENU_FOLDER\UHD Documentation.lnk" "$INSTDIR\share\doc\uhd\doxygen\html\index.html"
@@ -870,8 +868,6 @@ Section "Uninstall"
; try to fix it.
StrCpy $MUI_TEMP "$START_MENU"
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
- Delete "$SMPROGRAMS\$MUI_TEMP\USRP2 Card Burner.lnk"
- Delete "$SMPROGRAMS\$MUI_TEMP\USRP-N2XX Net Burner.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\UHD Images Downloader.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\UHD Documentation.lnk"
@CPACK_NSIS_DELETE_ICONS_EXTRA@