No program is associated to execute this action while installing (windows 7) #2555

Closed
opened 2026-02-21 00:25:02 -05:00 by deekerman · 12 comments
Owner

Originally created by @wadih on GitHub (Mar 16, 2024).

Bug Description

Running rustdesk works when double clicking.

Then I click on Install, and click "Accept and Install", and that's when the error appears and install is aborted:

Screenshot from 2024-03-16 10-09-20

I tried unchecking the options of "Create start menu shortcut" and "Create desktop icon", but the error still appears.

I set the executable's Compatibility mode = Windows 7 , but still getting this error .

The message is in french, and translated in english means:

ruskdesk://
No program is associated to execute the required action. Install a program, or 
if it's already the case, create an association in the Control Panel in Default 
Programs.

How to Reproduce

Double click on rustdesk-1.2.3-1-x86_64.exe
Click on "Install"
Click on "Accept and Install"

Expected Behavior

Program would get installed

Operating system(s) on local side and remote side

Windows 7 SP1

RustDesk Version(s) on local side and remote side

1.2.3-1

Screenshots

Screenshot from 2024-03-16 10-09-20

Additional Context

No response

Originally created by @wadih on GitHub (Mar 16, 2024). ### Bug Description Running rustdesk works when double clicking. Then I click on Install, and click "Accept and Install", and that's when the error appears and install is aborted: ![Screenshot from 2024-03-16 10-09-20](https://github.com/rustdesk/rustdesk/assets/1222066/9a72f76e-515c-4e5f-9f61-1b7f0ed7ea6f) I tried unchecking the options of "Create start menu shortcut" and "Create desktop icon", but the error still appears. I set the executable's Compatibility mode = Windows 7 , but still getting this error . The message is in french, and translated in english means: ``` ruskdesk:// No program is associated to execute the required action. Install a program, or if it's already the case, create an association in the Control Panel in Default Programs. ``` ### How to Reproduce Double click on rustdesk-1.2.3-1-x86_64.exe Click on "Install" Click on "Accept and Install" ### Expected Behavior Program would get installed ### Operating system(s) on local side and remote side Windows 7 SP1 ### RustDesk Version(s) on local side and remote side 1.2.3-1 ### Screenshots ![Screenshot from 2024-03-16 10-09-20](https://github.com/rustdesk/rustdesk/assets/1222066/5ba62a79-556d-4ee9-9b78-abcd7562cce7) ### Additional Context _No response_
deekerman 2026-02-21 00:25:02 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Mar 16, 2024):

#763

@rustdesk commented on GitHub (Mar 16, 2024): #763
Author
Owner

@rustdesk commented on GitHub (Mar 16, 2024):

use the sciter 32 version please.

@rustdesk commented on GitHub (Mar 16, 2024): use the sciter 32 version please.
Author
Owner

@wadih commented on GitHub (Mar 16, 2024):

I am willing to find a solution, I think everything is almost perfectly working, but the installation does a single step which seems isn't working on that machine.

It seems the installer is trying to create a rustdesk:// schema and that step doesn't work, and the installation stops there.

I could try to create the schema manually in regedit .

Edit: Ok trying the sciter 32 version now

@wadih commented on GitHub (Mar 16, 2024): I am willing to find a solution, I think everything is almost perfectly working, but the installation does a single step which seems isn't working on that machine. It seems the installer is trying to create a rustdesk:// schema and that step doesn't work, and the installation stops there. I could try to create the schema manually in regedit . Edit: Ok trying the sciter 32 version now
Author
Owner

@wadih commented on GitHub (Mar 16, 2024):

sciter32 version has the same issue with that "rustdesk://" schema step.

It seems the failure happens at Windows level so no additional details on what exactly fails.

Perhaps I can start the installer with logging on and look at the final step before failure?

@wadih commented on GitHub (Mar 16, 2024): sciter32 version has the same issue with that "rustdesk://" schema step. It seems the failure happens at Windows level so no additional details on what exactly fails. Perhaps I can start the installer with logging on and look at the final step before failure?
Author
Owner

@rustdesk commented on GitHub (Mar 16, 2024):

no log

@rustdesk commented on GitHub (Mar 16, 2024): no log
Author
Owner

@wadih commented on GitHub (Mar 16, 2024):

Ok. I will try to think about it, and check the source code.

I tried other previous versions, I think one of them worked when I uncheck the "add shortcuts" options, but it was an older version.

@wadih commented on GitHub (Mar 16, 2024): Ok. I will try to think about it, and check the source code. I tried other previous versions, I think one of them worked when I uncheck the "add shortcuts" options, but it was an older version.
Author
Owner

@rustdesk commented on GitHub (Mar 16, 2024):

Thanks

@rustdesk commented on GitHub (Mar 16, 2024): Thanks
Author
Owner

@rustdesk commented on GitHub (Mar 16, 2024):

github.com/rustdesk/rustdesk@6cbbb6498f/src/platform/windows.rs (L1091)

@rustdesk commented on GitHub (Mar 16, 2024): https://github.com/rustdesk/rustdesk/blob/6cbbb6498fbab1b75b70fa6b5bd5512231eeaea5/src/platform/windows.rs#L1091
Author
Owner

@rustdesk commented on GitHub (Mar 16, 2024):

You can also try rustdesk.exe --silent-install 1 in command line. You will see where it stops.

@rustdesk commented on GitHub (Mar 16, 2024): You can also try `rustdesk.exe --silent-install 1` in command line. You will see where it stops.
Author
Owner

@wadih commented on GitHub (Mar 16, 2024):

I found a solution.

When right-clicking on the sciter .exe and choosing Resolve compatibility issues, windows recommends setting Windows XP SP2 compatibility.

Then I do this, and installation succeeds!

It only works on sciter .exe version, the other version doesn't have Windows XP SP2 availability in compatibility mode, only Windows Vista, but it doesn't work.

@wadih commented on GitHub (Mar 16, 2024): I found a solution. When right-clicking on the sciter .exe and choosing `Resolve compatibility issues`, windows recommends setting `Windows XP SP2` compatibility. Then I do this, and installation succeeds! It only works on sciter .exe version, the other version doesn't have Windows XP SP2 availability in compatibility mode, only Windows Vista, but it doesn't work.
Author
Owner

@rustdesk commented on GitHub (Mar 16, 2024):

@21pages follow it up later, including 1.2.4 sciter does not work because of bcryptprimitives.dll missed, check which crate introduce this.

@rustdesk commented on GitHub (Mar 16, 2024): @21pages follow it up later, including 1.2.4 sciter does not work because of bcryptprimitives.dll missed, check which crate introduce this.
Author
Owner

@rustdesk commented on GitHub (May 8, 2024):

https://github.com/rustdesk/rustdesk/discussions/7503 sticked to old rust now

and msi added

@rustdesk commented on GitHub (May 8, 2024): https://github.com/rustdesk/rustdesk/discussions/7503 sticked to old rust now and msi added
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#2555
No description provided.