microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.28k stars 6.32k forks source link

Installer deletes Powershell/Modules junction to create a Modules folder #33680

Open tabstan4 opened 1 week ago

tabstan4 commented 1 week ago

Microsoft PowerToys version

0.81.0

Installation method

GitHub

Running as admin

None

Area(s) with issue?

Installer

Steps to reproduce

  1. Move the Modules folder from ~/Documents/PowerShell to somewhere else on system.
  2. Create an NTFS junction from that new location to ~/Documents/PowerShell/Modules.
  3. run the PowerToys installer (v0.81 or v0.82)
  4. the installer deletes the junction and creates a real Modules folder, causing other modules to disappear

✔️ Expected Behavior

The installer should accept the junction like PowerShell and everything else does, and just install its new module into that.

❌ Actual Behavior

the installer deletes the junction and creates a real Modules folder to put the new Microsoft.PowerToys.Configure module into, causing all the other modules to disappear.

Other Software

No response

github-actions[bot] commented 1 week ago

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!

Closed similar issues:

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

tabstan4 commented 1 week ago

32493 does sound like the same issue, but that got closed 2½ months ago because the opener didn't respond. But the issue is still happening.