Navigation Menu

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

PowerLauncher.exe causing issues with some program installers #11690

Closed
1 task done
bonzibudd opened this issue Jun 10, 2021 · 19 comments
Closed
1 task done

PowerLauncher.exe causing issues with some program installers #11690

bonzibudd opened this issue Jun 10, 2021 · 19 comments
Assignees
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Results (Programs) Issue with program search in PowerToys Run Status-No recent activity no activity in the past 5 days when follow up's are needed

Comments

@bonzibudd
Copy link

Microsoft PowerToys version

0.37.2

Running as admin

  • Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

  1. Run an MSI installer with PowerToys running (In this case, I am having trouble with the installer for Open-Shell Menu)
  2. Occasionally, PowerLauncher.exe will trigger an error in the installer because it is using a file that is part of the installation process.

✔️ Expected Behavior

The installer should proceed normally.

❌ Actual Behavior

The installer may trigger various warnings during installation. In my case, PowerToys was using "Open-Shell Update.lnk" which caused a warning about properties not being able to be set.

Additionally, I have a ProcMon log file that I was using for troubleshooting with the Open-Shell installer earlier. Here it is: Logfile.PML

I was able to verify that the error didn't occur if PowerLauncher.exe wasn't running.

Other Software

Open-Shell Menu (May also affect other program installers)

@bonzibudd bonzibudd added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jun 10, 2021
@bonzibudd
Copy link
Author

I suspect this has something to do with the indexing process, so maybe it should release the files sooner so it doesn't cause errors like this.

@crutkas crutkas added this to To do in 0.43 Release via automation Jun 10, 2021
@crutkas crutkas added Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Results (Programs) Issue with program search in PowerToys Run Priority-1 Bug that is high priority and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jun 10, 2021
@crutkas
Copy link
Member

crutkas commented Jun 10, 2021

This is the file watcher being too aggressive. thought we had backed being as aggressive for this exact reason.

@mykhailopylyp
Copy link
Contributor

@bonzibudd
Right-click on the PowerToys icon in the tray menu and select Report Bug
image
Drag and drop report into a GitHub comment.

@bonzibudd
Copy link
Author

PowerToysReport_2021-06-23-07-38-35.zip

@mykhailopylyp
Copy link
Contributor

Indexing doesn't take a lot of time. So maybe we have leaked resources.

@mykhailopylyp
Copy link
Contributor

@bonzibudd
Can you disalbe the program plugin and verify if you still can reproduce the issue?

image

@bonzibudd
Copy link
Author

@mykhailopylyp I still got the same error when I disabled that. I also tried "Windows Search" with the same results.

@mykhailopylyp
Copy link
Contributor

@bonzibudd
Try to disable it and restart the PowerToys. And then try to reproduce the issue. Sorry, I haven't mentioned it before.

@bonzibudd
Copy link
Author

@mykhailopylyp
I still seem to be having the same issue after rebooting. I am still able to confirm that the problem goes away when PowerLauncher.exe isn't running, so it must be related to the process. The file that is affected is a shortcut (.lnk) in the Start menu programs folder, if that helps at all.

@mykhailopylyp
Copy link
Contributor

@bonzibudd
Thank you for following up! It looks like the Program plugin doesn't release resources. We'll have a new build in a few days so I'll ask you to test it again then.

@mykhailopylyp mykhailopylyp self-assigned this Jul 2, 2021
@mykhailopylyp
Copy link
Contributor

@bonzibudd

  • Update to 0.41.4
  • Disable the program plugin
  • Restart PowerToys from the tray menu
  • Verify if the issue still persists

@mykhailopylyp mykhailopylyp added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jul 2, 2021
@bonzibudd
Copy link
Author

@mykhailopylyp
The issue still persists after updating and after several restarts. It's possible that it's not happening as frequently but I am still getting the same error.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jul 2, 2021
@mykhailopylyp
Copy link
Contributor

@bonzibudd
I think I can reproduce it. Do you get the following warning?

image

@mykhailopylyp mykhailopylyp removed Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 5, 2021
@bonzibudd
Copy link
Author

@mykhailopylyp

Yep, that is the exact error I am getting.

@mykhailopylyp
Copy link
Contributor

@bonzibudd
Thank you for following up! It's a warning and more importantly, it doesn't fail installation.

@mykhailopylyp mykhailopylyp removed the Priority-1 Bug that is high priority label Jul 5, 2021
@mykhailopylyp mykhailopylyp added the Priority-2 Bug that is medium priority label Jul 5, 2021
@dedavis6797
Copy link
Contributor

What's the impact of that warning message? As it's not causing installations to fail, I'm not sure if this's something we need to prioritize. I may still be missing context though.

@dedavis6797 dedavis6797 removed this from To do in 0.43 Release Aug 6, 2021
@dedavis6797 dedavis6797 added this to To do in 0.49 Release via automation Aug 6, 2021
@mykhailopylyp
Copy link
Contributor

What's the impact of that warning message?

It doesn't set the System.AppUserModel.ID attribute for the Open Shell shortcut. It doesn't seem to have any impact on the installation or further use of the Open Shell.

Maybe, we should move it to the post stabilization milestone.

@dedavis6797 dedavis6797 removed this from To do in 0.49 Release Aug 25, 2021
@dedavis6797 dedavis6797 removed the Priority-2 Bug that is medium priority label Aug 25, 2021
@dedavis6797 dedavis6797 added this to the Post stabilization milestone Aug 25, 2021
@TheJoeFin
Copy link
Collaborator

is this still an issue in v0.79? /needinfo

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Mar 5, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Status-No recent activity no activity in the past 5 days when follow up's are needed label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Results (Programs) Issue with program search in PowerToys Run Status-No recent activity no activity in the past 5 days when follow up's are needed
Projects
None yet
Development

No branches or pull requests

5 participants