You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to 0.9.10, this worked appropriately. This is first seen with 0.9.10: bde0941#diff-e6324cd750d08e45111a0365537f3632L115. Note that the changes removed the call using the variables with 32 at the end that disabled redirection.
The text was updated successfully, but these errors were encountered:
When using a 32-bit version of 7z.exe to install applications, it can
be subject to file system redirection. This was originally handled
since 0.9.8.24 with
chocolatey-archive/chocolatey@54985d5
but was later accidentally reverted in choco v0.9.10 - GH-616
(bde0941).
With redirection, calls in 32bit processes to C:\Windows\System32 are
automatically redirected to C:\Windows\SysWOW64. This can have
undesirable effects when the path is meant to look for System32.
Windows provides `SysNative` for this reason, and it should be used if
the path is found (32bit processes on 64bit Windows). This puts the old
behavior back to how it worked prior to the changes in 0.9.10.
* stable:
(doc) update generated docs for command reference
(doc) add source to functions
(doc) add new line in helper reference
(GH-935) search/info/list --version
(doc) provide more awareness about licensed
(GH-893) Fix: Help Warns Required Elevated Rights
(GH-959) Fix: Licensed feed cannot be disabled
(GH-960) Fix: 7z File System Redirection
(GH-938) Suggest choco help on unknown command
(doc) Synchronizer/Enhancements to Autouninstaller
Install PSWindowsUpdate and see what happens.
What You Are Seeing?
It appears it doesn't install successfully even though it logs that it does.
It actually installs to
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules
What is Expected?
Install to
C:\Windows\System32\WindowsPowerShell\v1.0\Modules
How Did You Get This To Happen? (Steps to Reproduce)
choco install pswindowsupdate -y --ignore-checksums
(careful on this one)Output Log
https://gist.github.com/erotavlas85/95f0588f9bd4f9713355f367ebeb672e#file-chocolatey-log-L320-L351
Details
File System Redirection is the issue.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187.aspx
Prior to 0.9.10, this worked appropriately. This is first seen with 0.9.10: bde0941#diff-e6324cd750d08e45111a0365537f3632L115. Note that the changes removed the call using the variables with 32 at the end that disabled redirection.
The text was updated successfully, but these errors were encountered: