Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wadih opened this issue Mar 16, 2024 · 11 comments
Open
Labels
bug Something isn't working

Comments

@wadih
Copy link

wadih commented 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

@wadih wadih added the bug Something isn't working label Mar 16, 2024
@rustdesk
Copy link
Owner

#763

@rustdesk
Copy link
Owner

rustdesk commented Mar 16, 2024

use the sciter 32 version please.

@wadih
Copy link
Author

wadih commented 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
Copy link
Author

wadih commented 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?

@rustdesk
Copy link
Owner

no log

@wadih
Copy link
Author

wadih commented 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.

@rustdesk
Copy link
Owner

Thanks

@rustdesk
Copy link
Owner

pub fn install_me(options: &str, path: String, silent: bool, debug: bool) -> ResultType<()> {

@rustdesk
Copy link
Owner

rustdesk commented Mar 16, 2024

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

@wadih
Copy link
Author

wadih commented 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.

@rustdesk rustdesk changed the title No program is associated to execute this action No program is associated to execute this action while installing (windows 7) Mar 16, 2024
@rustdesk rustdesk reopened this Mar 16, 2024
@rustdesk
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants