Page 1 of 1
Rustdesk Shortcuts Package
Published: July 15, 2026 - 1:52 PM
by Clafon
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.
Re: Rustdesk Shortcuts Package
Published: July 16, 2026 - 1:47 PM
by dcardon
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
Re: Rustdesk Shortcuts Package
Published: July 16, 2026 - 4:31 PM
by kcherel
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.
Re: Rustdesk Shortcuts Package
Published: July 17, 2026 - 08:10
by Clafon
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