# How to use CPack IFW to generate desktop shortcuts?

**URL:** <https://discourse.cmake.org/t/how-to-use-cpack-ifw-to-generate-desktop-shortcuts/1663>\
**Category:** Code\
**Created:** [August 4, 2020, 2:50am UTC](https://discourse.cmake.org/t/how-to-use-cpack-ifw-to-generate-desktop-shortcuts/1663 "2020-08-04T02:50:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr-jiayunfei](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@Mr-jiayunfei](https://discourse.cmake.org/u/Mr-jiayunfei)\
**Post date:** [August 4, 2020, 2:50am UTC](https://discourse.cmake.org/t/how-to-use-cpack-ifw-to-generate-desktop-shortcuts/1663/1 "2020-08-04T02:50:14Z")

</div>

How to use CPack IFW to generate desktop shortcuts?  
How to use CPack IFW to overwrite an existing installation?

I use the Install frame work that comes with Qt to write scripts that can complete the function, but I want to use CPack to implement it directly. I checked a lot of information, but it didn’t solve my problem. I hope to get your help, thank you!
