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
Value passed in to $silentArgs is corrected to change chocolatey\chocolatey (issue #813) to chocolatey
Value passed in to $file is not corrected to fix chocolatey\chocolatey
What is Expected?
both variable when passed $env:TEMP\chocolatey should be evaluated to $env:TEMP
How Did You Get This To Happen? (Steps to Reproduce)
I Apologize for not having direct logs (deleted VM after passing relevant info to relevant users at the organization).
Windows 10
All Windows Updates applied
Choco 0.10.0
Debug and Verbose output displayed that extraction was to $env:TEMP\Package folder while the subsequent call passing in the full path in the file name showed ..AppDate\Local\Temp\chocolatey\chocolatey\Package\PackageName.exe resulting in the exe being reported as missing.
The text was updated successfully, but these errors were encountered:
For GH-813 (ae2e857), the double `chocolatey\chocolatey` folder was
removed from `$silentArgs` and `$additionalInstallArgs`, but `$file`
was missed. These changes were originally necessary due to changes in
GH-590 (a9519b5). Ensure that $file is also set properly so it no
longer uses a double chocolatey folder.
ferventcoder
changed the title
Chocolatey-InstallChocolateyPackage fix for double chocolatey folder name is not also applied to the passed in file name.
Chocolatey-InstallChocolateyPackage fix for double chocolatey folder name is not also applied to the passed in file name
Sep 8, 2016
What You Are Seeing?
Value passed in to $silentArgs is corrected to change chocolatey\chocolatey (issue #813) to chocolatey
Value passed in to $file is not corrected to fix chocolatey\chocolatey
What is Expected?
both variable when passed $env:TEMP\chocolatey should be evaluated to $env:TEMP
How Did You Get This To Happen? (Steps to Reproduce)
Extracting contents out of EXE to temp folder
$chocTempDir = Join-Path $env:TEMP 'chocolatey'
$tempDir = Join-Path $chocTempDir 'Package'
Install-ChocolateyInstallPackage 'package' 'exe' "/Q /T:$tempDir" "$fileSetupExe"
Installing software from extracted folder
$packageExe = Join-Path $tempDir 'PackageName.exe'
Install-ChocolateyInstallPackage 'package' 'exe' '/silent' "$packageExe"
Output Log
I Apologize for not having direct logs (deleted VM after passing relevant info to relevant users at the organization).
Windows 10
All Windows Updates applied
Choco 0.10.0
Debug and Verbose output displayed that extraction was to $env:TEMP\Package folder while the subsequent call passing in the full path in the file name showed ..AppDate\Local\Temp\chocolatey\chocolatey\Package\PackageName.exe resulting in the exe being reported as missing.
The text was updated successfully, but these errors were encountered: