PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Installation does not complete

Open benhur2407 opened this issue 10 months ago • 28 comments

Microsoft PowerToys version

0.80.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

General

Steps to reproduce

PowerToysReport_2024-04-08-18-56-52.zip

✔️ Expected Behavior

Installation completed

❌ Actual Behavior

Installation starts but installation screen disappears and then nothing happens.

Other Software

No response

benhur2407 avatar Apr 08 '24 23:04 benhur2407

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Apr 08 '24 23:04 github-actions[bot]

Problem lies with the fact the My Documents folder is on a network drive. On previous versions, this did not cause any problem.

benhur2407 avatar Apr 09 '24 00:04 benhur2407

From the logs: "Invalid Drive: V:" "PersonalFolder = V:\Mes Documents"

On 0.80 we are installing files there for DSC. Perhaps we can make those non vital and check if that works? 🤔

jaimecbernardo avatar Apr 09 '24 10:04 jaimecbernardo

@benhur2407 , Can you please try out https://github.com/jaimecbernardo/PowerToys/releases/tag/v0.0.1-test-issue-32341 ? That's a locally built (non signed) installed that marks the dsc files we're saving in "My Documents" as not vital. Can you please uninstall your current PowerToys installation and install this one to verify if it solves your issue? Would be good if we could try this out in time for the hotfix that we'll be releasing soon. Thanks, in advance. /needinfo

jaimecbernardo avatar Apr 09 '24 10:04 jaimecbernardo

I tried the proposed installer and it works like a charm. Looking forward for this change in 0.81 Release. Thanks.

benhur2407 avatar Apr 09 '24 16:04 benhur2407

Thanks for verifying!

jaimecbernardo avatar Apr 09 '24 18:04 jaimecbernardo

Is this fix committed then?

htcfreek avatar Apr 09 '24 19:04 htcfreek

Yes, We'll be releasing it in a 0.80.1 hotfix in the next few days.

jaimecbernardo avatar Apr 09 '24 21:04 jaimecbernardo

Tank you very much for taking care of this so promptly.

benhur2407 avatar Apr 09 '24 22:04 benhur2407

0.80.1 did not fix this issue.

JessePeden avatar Apr 11 '24 15:04 JessePeden

I concur. Issue is still present in 0.80.1

benhur2407 avatar Apr 11 '24 18:04 benhur2407

I might run into the same or similar issue. This occurs since 0.80.0 but also persists in 0.80.1. If requested, I'll open a separate issue.

grafik

Some relevant lines from powertoys-bootstrapper-msi-0.80.1_20240412063729_001_PowerToysSetup_0.80.1_x64.msi.log:

MSI (s) (C0:68) [06:37:40:543]: Note: 1: 1324 2: Eigene Dateien 3: 1 
MSI (s) (C0:68) [06:37:52:987]: Product: PowerToys (Preview) -- Error 1324. The folder path 'Eigene Dateien' contains an invalid character.
Property(S): PersonalFolder = \\$MASCHINE\Benutzer\$USER\Eigene Dateien\

dkeitzel avatar Apr 12 '24 05:04 dkeitzel

What's "Eigene Dateien"? This one is looking weird. Can we please get the installer logs from 0.80.1 that you're getting?

jaimecbernardo avatar Apr 12 '24 13:04 jaimecbernardo

I still get « Invalid Drive V:/ ». See attached log.

powertoys-bootstrapper-msi-0.80.1_20240412114915_001_PowerToysSetup_0.80.1_x64.msi.log

benhur2407 avatar Apr 12 '24 15:04 benhur2407

I still get « Invalid Drive V:/ ». See attached log.

powertoys-bootstrapper-msi-0.80.1_20240412114915_001_PowerToysSetup_0.80.1_x64.msi.log

@benhur2407 , This installer had the same fix I had sent you before 🤔 Wonder why it failed for 0.80.1 and worked on the debug installer I've sent. https://github.com/microsoft/PowerToys/pull/32356/files

jaimecbernardo avatar Apr 12 '24 15:04 jaimecbernardo

Ah, before you were trying to use the user installer and now it's the machine installer? 🤔 Wonder if that's the issue.

jaimecbernardo avatar Apr 12 '24 16:04 jaimecbernardo

What's "Eigene Dateien"? This one is looking weird. Can we please get the installer logs from 0.80.1 that you're getting?

It is the German word for the "My Documents" folder (C:\Users\%Username%\My Documemts) on Win XP. That's indeed weird.

htcfreek avatar Apr 12 '24 16:04 htcfreek

Just tried the user installer and I get the same error. See attached log.

powertoys-bootstrapper-msi-0.80.1_20240412131423_001_PowerToysUserSetup_0.80.1_x64.msi.log

benhur2407 avatar Apr 12 '24 17:04 benhur2407

What's "Eigene Dateien"? This one is looking weird. Can we please get the installer logs from 0.80.1 that you're getting?

As @htcfreek said, it's the german 'My Documents' equivalent. That folder resides on a network share. Here are the two log files with some redacted personal information:

powertoys-bootstrapper-msi-0.80.1_20240412063729.log powertoys-bootstrapper-msi-0.80.1_20240412063729_001_PowerToysSetup_0.80.1_x64.msi.log

dkeitzel avatar Apr 15 '24 04:04 dkeitzel

What's "Eigene Dateien"? This one is looking weird. Can we please get the installer logs from 0.80.1 that you're getting?

As @htcfreek said, it's the german 'My Documents' equivalent. That folder resides on a network share. Here are the two log files with some redacted personal information:

powertoys-bootstrapper-msi-0.80.1_20240412063729.log powertoys-bootstrapper-msi-0.80.1_20240412063729_001_PowerToysSetup_0.80.1_x64.msi.log

I did not check the logs. But that sounds like a problem with folder redirection.

htcfreek avatar Apr 15 '24 07:04 htcfreek

I did not check the logs. But that sounds like a problem with folder redirection.

Thinking the same. I have active folder redirections for various user shell folders that point to network shares. For example:

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal =      \\$REMOTE\Benutzer\$USER\Eigene Dateien
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal = \\$REMOTE\Benutzer\$USER\Eigene Dateien

dkeitzel avatar Apr 15 '24 08:04 dkeitzel

I too am getting issues since v0.79.0, same issue, My Documents is mapped to a network drive/mount. v0.80.1 did not resolve the problem for me.

2CmPw6 avatar Apr 15 '24 08:04 2CmPw6

Hey @dkeitzel, I'm trying to reproduce the issue locally on my Windows 11 VM machine and I wonder how you did your setup.

What I did:

  • created an admin user "Aaron" and changed the same registry entries as you've posted to \\tsclient\P\aaron_home
  • launched PowerToys user installer

However, I'm getting the following error: image

Not sure why the dot is being appended 🤔

yuyoyuppe avatar Apr 23 '24 14:04 yuyoyuppe

Hi @yuyoyuppe. Not sure either. What I can say is that I'm not an admin on my maschine. Furthermore I'm running Windows 10 Enterprise, not Windows 11. I also did not use the user installer, but the normal "system" one.

I assume the user has access to that share?

dkeitzel avatar Apr 23 '24 14:04 dkeitzel

Hi @yuyoyuppe, not sure if this helps...

I'm using Window 10, in Explorer, mount a Network share as a Drive (J: in my case), view the properties of My Documents folder and select the "Location" tab and "Move" the folder to the Mounted drive (or sub-dir on the mount).

Attempt to install an update >0.79.0, either from the PowerToys Admin panel or via the MSI directly (the latter will/should display a drive error)

HTH

2CmPw6 avatar Apr 23 '24 16:04 2CmPw6

We've figured out how to fix this for machine installer. https://github.com/microsoft/PowerToys/pull/32691 Still looking for a fix for user install while still being able to install the DSC module.

jaimecbernardo avatar May 08 '24 11:05 jaimecbernardo

I've just been notified of an update to 0.81.0 and can confirm that the update went smoothly! Thanks for sorting the issue, really appreciate the effort and time you devs put into the PowerToys project and bug fixes!

2CmPw6 avatar May 22 '24 12:05 2CmPw6

Thanks for the feedback! For everyone who still has issues with the user install, the current workaround is to uninstall the user scope installation and to install with the machine scope installer instead.

jaimecbernardo avatar May 24 '24 12:05 jaimecbernardo

This was released wit v0.82.0.

htcfreek avatar Jul 09 '24 08:07 htcfreek

Hi!

Is this a regression or a different issue? image image

My documents folder is in a network drive mounted on N:\

Trying to install v0.84.1 via winget upgrade and also with the machine scope installer. Already installed version is v0.80.1 (was installed before I had network drives).

The installation log: powertoys-bootstrapper-msi-0.84.1_20240925220457.log

Thank you!

aferre88 avatar Sep 25 '24 20:09 aferre88