Skip to content

Conversation

bonzibudd
Copy link
Member

This will accurately represent when these changes are able to take effect.

The behavior of Taskbar-related settings were changed to accommodate for programs like WindowBlinds, and it seems to have caused these two settings to not apply correctly. Currently, they don't make any immediate changes or are broken when applied, and this should fix that.

Fixes #602.

This will accurately represent when these changes are able to take effect. Currently, the settings don't make any immediate changes or are broken when applied, and this should fix that. Fixes #602.
@ge0rdi ge0rdi merged commit 4b26882 into Open-Shell:master Jun 8, 2021
@bonzibudd
Copy link
Member Author

@ge0rdi thank you.

I don't know if this is an issue or not, but I have been getting some installer "property" warnings on some recent nightly builds. It has happened on multiple machines, so I'm assuming it's not a problem with my specific installation. I'm not too concerned about it because the program itself seems fine, but do you know if this is to be expected with non-stable builds in general, or if it may be an actual issue?

image

@ge0rdi
Copy link
Member

ge0rdi commented Jun 10, 2021

@bonzibudd
There were no changes in installer AFAIK.

Setting that property used to be a problem on Windows 7 when symbolic name System.AppUserModel.ToastActivatorCLSID was used. That's why we are using GUID directly.
Not sure why system can have an issue with setting that.

What OS do you have?

Try to create log from installation by adding /lvx* log.txt to command line.
Maybe it will give us some clue.

@bonzibudd
Copy link
Member Author

log.txt

This machine is Windows 21H1 build 19043.1023. It doesn't happen every time, but often enough that I think it may be an issue.

@ge0rdi
Copy link
Member

ge0rdi commented Jun 10, 2021

There is this in log:

MSI (s) (30:F8) [03:03:38:702]: Executing op: ShortcutPropertyCreate(ShortcutName=5yrxep4d.upd|Open-Shell Update,PropertyKey={9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 26,PropVariantValue={E407B70A-1FBD-4D5E-8822-231C69102472}) MSI (s) (30:F8) [03:03:38:702]: Note: 1: 1946 2: {9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 26 3: Open-Shell Update.lnk 4: 32 Warning 1946. Property '{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}, 26' for shortcut 'Open-Shell Update.lnk' could not be set. HRESULT 32. 

The error should be The process cannot access the file because it is being used by another process. I guess (32 looks like standard Win32 API error code).

So maybe some other application has the file opened at that moment for whatever reason.
You can try to look for opened file using Process Explorer / Process Hacker tool.

@bonzibudd
Copy link
Member Author

Ok, here's some information I got from Process explorer:
image
I don't know what could be the problem, but I did notice that there are a lot of "System" processes.

@ge0rdi
Copy link
Member

ge0rdi commented Jun 10, 2021

You should look for Open-Shell Update.lnk.
Though it may happen that some process is holding that file just temporarily during installation.

For that you will need to use Process Monitor and check all file operations done during installation to see if somebody had that file opened (you can set filter with file name to see just relevant file ops).

Not sure what else to advise :(

@bonzibudd
Copy link
Member Author

Ok, I think I got a log file of around the time that the warning appeared: Logfile.PML

It looks like there are a few processes altering the file in different ways, but I'm not exactly sure what to look for.

@ge0rdi
Copy link
Member

ge0rdi commented Jun 10, 2021

There is C:\Program Files\PowerToys\modules\launcher\PowerLauncher.exe process opening the .lnk file for some reason.
This is definitely not something usually present on machines.

Try to end this application to see if it helps.

@bonzibudd
Copy link
Member Author

Thanks for pointing this out. I have PowerToys on a lot of my systems, so that could definitely be a culprit. I will see if that makes a difference, and I'll point it out to the PowerToys team if that seems to be the main problem.

@bonzibudd
Copy link
Member Author

Ok, I can't say for sure, but I haven't had any more errors so far after disabling PowerToys. I will report this to the PowerToys team. Thank you for your help with troubleshooting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants