Rustdesk Shortcuts Package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
clafon
Messages: 115
Registration: Nov 06, 2024 - 10:56

July 15, 2026 - 1:52 PM

Version: 2.6.1.17813
Server OS: Debian 13
Administration Machine OS: Windows Server 19
Target OS: Windows 11 & 10

Hello,

we use the Rustdesk solution for remote access to the workstations in our infrastructure.
With each update of this package, a Rustdesk shortcut appears on the desktop, which is disruptive for our users. We created a package to remove this shortcut, but we still have to launch it manually every time an update is deployed.

Is there, by any chance, a solution to automate this process? A way to tell the package to relaunch itself every x interval, for example?

Thank you.
User avatar
dcardon
WAPT Expert
Messages: 1978
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 16, 2026 - 1:47 PM

Hi Cédric,

it's possible to make the removal process auditable so it runs regularly.

However, the best solution is to modify the package to add the removal at the end of the installation. If you modify your package, you can then update it locally with `update_package` instead of downloading it from our store, ensuring your modification is permanent.

Regarding desktop icons, we've already discussed this internally, especially for schools with many installed applications. If we leave icons for each application, there's no more space on the desktop.

We were thinking of adding a configuration parameter to `wapt-get.ini` to specify whether to keep the desktop icon or not. To be continued.

Best regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
kcherel
Messages: 10
Registration: January 12, 2026 - 10:01

July 16, 2026 - 4:31 PM

Hello Cédric,

In your case, you can integrate this part into the tis-rustdesk package, specifically the setup.py file:

Code: Select all

            remove_desktop_shortcut("RustDesk.lnk")
            break
Example in setup.py:

Code: Select all

def install():
    # Declaring local variables
    bin_name = glob.glob("rustdesk-*.exe")[0]
    # Installing the software

    nb=0
    while True:
        nb=nb+1

        try:
            install_exe_if_needed(
                bin_name,
                silentflags="--silent-install",
                key="RustDesk",
                min_version=control.get_software_version(),
                timeout=60
            )
            remove_desktop_shortcut("RustDesk.lnk")
            break
This will allow you to delete the shortcut generated during the installation or update of the application, but it will therefore not be possible to have a shortcut on the desktop, which may be a problem for some customers.

Good day,
Sincerely,
Kevin.
clafon
Messages: 115
Registration: Nov 06, 2024 - 10:56

July 17, 2026 - 08:10

dcardon wrote: Jul 16, 2026 - 1:47 PM Hello Cédric,

it's possible to make the removal process auditable so it runs regularly.

But the best solution is to modify the package to add the removal at the end of the installation. If you modify your package, you can then update it locally with `update_package` rather than downloading it from our store, so your modification will be permanent.

Regarding desktop icons, this is a topic we've already discussed internally, especially for schools that have many apps installed. If we leave each app's icon, there's no more space on the desktop...

We were thinking of adding a configuration parameter to `wapt-get.ini` to specify whether or not to keep the desktop icon. To be continued.

Best regards,

Denis
Regarding the shortcut, that is indeed the problem for schools and other users.
Regarding update_package, would it be possible to have more information as it has never been used for a package that I created or modified?
Thank you
Answer