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
When running an installer, the working directory should be from the directory of the executable. It appears to use Get-Location, so that should be fixed -
Install-ChocolateyInstallPackage should set the working directory to
the location of the installer, or at least attempt to, falling back to
`Get-Location` when it is unable to set the directory appropriately.
That should be passed through to `Start-ChocolateyProcessAsAdmin`
`$WorkingDirectory` parameter.
* stable:
(maint) Log Option Parse Error w/Converted Message
(doc) Log Silent Args that Were Overridden
(GH-937) Installer Location as Working Directory
(GH-937) Externalize Working Directory
(GH-941) Install-ChocolateyInstallPackage - Alias $fileFullPath
(GH-458) Support TLS v1.2
When running an installer, the working directory should be from the directory of the executable. It appears to use
Get-Location
, so that should be fixed -choco/src/chocolatey.resources/helpers/functions/Start-ChocolateyProcessAsAdmin.ps1
Line 189 in 634868f
The text was updated successfully, but these errors were encountered: