Z-beam / WinOpt

Правильна оптимізація Windows
GNU Lesser General Public License v2.1
31 stars 6 forks source link

помилка шляху #4

Open roots24 opened 1 month ago

roots24 commented 1 month ago

після успішного встановлення dotnet 3.5. script видає помилку шляху до файл

2024-08-04 08:52:48,883 9940 [INFO ] - VERBOSE: 2024-08-04 08:52:48,883 9940 [INFO ] - VERBOSE: [===========================76.9%============ ] 2024-08-04 08:52:48,883 9940 [INFO ] - VERBOSE: 2024-08-04 08:52:48,883 9940 [INFO ] - VERBOSE: [==========================100.0%==========================] 2024-08-04 08:52:48,883 9940 [INFO ] - VERBOSE: The operation completed successfully. 2024-08-04 08:52:48,899 9940 [ERROR] - System.Management.Automation.PSCustomObjectSystem.Object1Preparing modules for first use.0-1-1Completed-1 1Preparing modules for first use.0-1-1Completed-1 Host version is 5.1.22621.3880, PowerShell Version is '5.1.22621.3880' and CLR Version is '4.0.30319.42000'.Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.Importing cmdlet 'Get-EnvironmentVariable'.Importing cmdlet 'Get-EnvironmentVariableNames'.Importing cmdlet 'Install-ChocolateyPath'.Importing cmdlet 'Set-EnvironmentVariable'.Importing cmdlet 'Test-ProcessAdminRights'.Importing cmdlet 'Uninstall-ChocolateyPath'.Importing cmdlet 'Update-SessionEnvironment'.Cmdlets exported from Chocolatey.PowerShell.dllGet-EnvironmentVariableGet-EnvironmentVariableNamesInstall-ChocolateyPathSet-EnvironmentVariableTest-ProcessAdminRightsUninstall-ChocolateyPathUpdate-SessionEnvironmentExporting function 'Format-FileSize'.Exporting function 'Get-ChecksumValid'.Exporting function 'Get-ChocolateyConfigValue'.Exporting function 'Get-ChocolateyPath'.Exporting function 'Get-ChocolateyUnzip'.Exporting function 'Get-ChocolateyWebFile'.Exporting function 'Get-FtpFile'.Exporting function 'Get-OSArchitectureWidth'.Exporting function 'Get-PackageParameters'.Exporting function 'Get-PackageParametersBuiltIn'.Exporting function 'Get-ToolsLocation'.Exporting function 'Get-UACEnabled'.Exporting function 'Get-UninstallRegistryKey'.Exporting function 'Get-VirusCheckValid'.Exporting function 'Get-WebFile'.Exporting function 'Get-WebFileName'.Exporting function 'Get-WebHeaders'.Exporting function 'Install-BinFile'.Exporting function 'Install-ChocolateyEnvironmentVariable'.Exporting function 'Install-ChocolateyExplorerMenuItem'.Exporting function 'Install-ChocolateyFileAssociation'.Exporting function 'Install-ChocolateyInstallPackage'.Exporting function 'Install-ChocolateyPackage'.Exporting function 'Install-ChocolateyPinnedTaskBarItem'.Exporting function 'Install-ChocolateyPowershellCommand'.Exporting function 'Install-ChocolateyShortcut'.Exporting function 'Install-ChocolateyVsixPackage'.Exporting function 'Install-ChocolateyZipPackage'.Exporting function 'Install-Vsix'.Exporting function 'Set-PowerShellExitCode'.Exporting function 'Start-ChocolateyProcessAsAdmin'.Exporting function 'Uninstall-BinFile'.Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.Exporting function 'Uninstall-ChocolateyPackage'.Exporting function 'Uninstall-ChocolateyZipPackage'.Exporting function 'Write-FunctionCallLogMessage'.Exporting cmdlet 'Get-EnvironmentVariable'.Exporting cmdlet 'Get-EnvironmentVariableNames'.Exporting cmdlet 'Install-ChocolateyPath'.Exporting cmdlet 'Set-EnvironmentVariable'.Exporting cmdlet 'Test-ProcessAdminRights'.Exporting cmdlet 'Uninstall-ChocolateyPath'.Exporting cmdlet 'Update-SessionEnvironment'.Exporting alias 'Get-ProcessorBits'.Exporting alias 'Get-OSBitness'.Exporting alias 'Get-InstallRegistryKey'.Exporting alias 'Generate-BinFile'.Exporting alias 'Add-BinFile'.Exporting alias 'Start-ChocolateyProcess'.Exporting alias 'Invoke-ChocolateyProcess'.Exporting alias 'Remove-BinFile'.Exporting alias 'refreshenv'.Loading community extensionsImporting 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'.Function 'Get-PackageParameters' exists, ignoring export.Function 'Get-UninstallRegistryKey' exists, ignoring export.Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibilityExporting function 'Install-ChocolateyDesktopLink'.Exporting function 'Write-ChocolateyFailure' for backwards compatibilityExporting function 'Write-ChocolateyFailure'.Exporting function 'Write-ChocolateySuccess' for backwards compatibilityExporting function 'Write-ChocolateySuccess'.Exporting function 'Write-FileUpdateLog' for backwards compatibilityExporting function 'Write-FileUpdateLog'.Importing function 'Install-ChocolateyDesktopLink'.Importing function 'Write-ChocolateyFailure'.Importing function 'Write-ChocolateySuccess'.Importing function 'Write-FileUpdateLog'.Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.Exporting function 'Get-AppInstallLocation'.Exporting function 'Get-AvailableDriveLetter'.Exporting function 'Get-EffectiveProxy'.Exporting function 'Get-PackageCacheLocation'.Exporting function 'Get-WebContent'.Exporting function 'Register-Application'.Exporting function 'Remove-Process'.Importing function 'Get-AppInstallLocation'.Importing function 'Get-AvailableDriveLetter'.Importing function 'Get-EffectiveProxy'.Importing function 'Get-PackageCacheLocation'.Importing function 'Get-WebContent'.Importing function 'Register-Application'.Importing function 'Remove-Process'.Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.Exporting function 'Install-WindowsUpdate'.Exporting function 'Test-WindowsUpdate'.Importing function 'Install-WindowsUpdate'.Importing function 'Test-WindowsUpdate'.Exporting function 'Format-FileSize'.Exporting function 'Get-ChecksumValid'.Exporting function 'Get-ChocolateyConfigValue'.Exporting function 'Get-ChocolateyPath'.Exporting function 'Get-ChocolateyUnzip'.Exporting function 'Get-ChocolateyWebFile'.Exporting function 'Get-FtpFile'.Exporting function 'Get-OSArchitectureWidth'.Exporting function 'Get-PackageParameters'.Exporting function 'Get-PackageParametersBuiltIn'.Exporting function 'Get-ToolsLocation'.Exporting function 'Get-UACEnabled'.Exporting function 'Get-UninstallRegistryKey'.Exporting function 'Get-VirusCheckValid'.Exporting function 'Get-WebFile'.Exporting function 'Get-WebFileName'.Exporting function 'Get-WebHeaders'.Exporting function 'Install-BinFile'.Exporting function 'Install-ChocolateyEnvironmentVariable'.Exporting function 'Install-ChocolateyExplorerMenuItem'.Exporting function 'Install-ChocolateyFileAssociation'.Exporting function 'Install-ChocolateyInstallPackage'.Exporting function 'Install-ChocolateyPackage'.Exporting function 'Install-ChocolateyPinnedTaskBarItem'.Exporting function 'Install-ChocolateyPowershellCommand'.Exporting function 'Install-ChocolateyShortcut'.Exporting function 'Install-ChocolateyVsixPackage'.Exporting function 'Install-ChocolateyZipPackage'.Exporting function 'Install-Vsix'.Exporting function 'Set-PowerShellExitCode'.Exporting function 'Start-ChocolateyProcessAsAdmin'.Exporting function 'Uninstall-BinFile'.Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.Exporting function 'Uninstall-ChocolateyPackage'.Exporting function 'Uninstall-ChocolateyZipPackage'.Exporting function 'Write-FunctionCallLogMessage'.Exporting function 'Install-ChocolateyDesktopLink'.Exporting function 'Write-ChocolateyFailure'.Exporting function 'Write-ChocolateySuccess'.Exporting function 'Write-FileUpdateLog'.Exporting function 'Get-AppInstallLocation'.Exporting function 'Get-AvailableDriveLetter'.Exporting function 'Get-EffectiveProxy'.Exporting function 'Get-PackageCacheLocation'.Exporting function 'Get-WebContent'.Exporting function 'Register-Application'.Exporting function 'Remove-Process'.Exporting function 'Install-WindowsUpdate'.Exporting function 'Test-WindowsUpdate'.Exporting cmdlet 'Get-EnvironmentVariable'.Exporting cmdlet 'Get-EnvironmentVariableNames'.Exporting cmdlet 'Install-ChocolateyPath'.Exporting cmdlet 'Set-EnvironmentVariable'.Exporting cmdlet 'Test-ProcessAdminRights'.Exporting cmdlet 'Uninstall-ChocolateyPath'.Exporting cmdlet 'Update-SessionEnvironment'.Exporting cmdlet 'Get-EnvironmentVariable'.Exporting cmdlet 'Get-EnvironmentVariableNames'.Exporting cmdlet 'Install-ChocolateyPath'.Exporting cmdlet 'Set-EnvironmentVariable'.Exporting cmdlet 'Test-ProcessAdminRights'.Exporting cmdlet 'Uninstall-ChocolateyPath'.Exporting cmdlet 'Update-SessionEnvironment'.Exporting alias 'Get-ProcessorBits'.Exporting alias 'Get-OSBitness'.Exporting alias 'Get-InstallRegistryKey'.Exporting alias 'Generate-BinFile'.Exporting alias 'Add-BinFile'.Exporting alias 'Start-ChocolateyProcess'.Exporting alias 'Invoke-ChocolateyProcess'.Exporting alias 'Remove-BinFile'.Exporting alias 'refreshenv'. 2024-08-04 08:52:48,962 9940 [INFO ] - 0 2024-08-04 08:52:48,993 9940 [WARN ] - Only an exit code of non-zero will fail the package by default. Set --failonstderr if you want error messages to also fail a script. See choco -h for details. 2024-08-04 08:52:49,149 9940 [INFO ] - The install of DotNet3.5 was successful. 2024-08-04 08:52:49,149 9940 [INFO ] - Software install location not explicitly set, it could be in package or default install location of installer. 2024-08-04 08:52:49,165 9940 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/' 2024-08-04 08:52:49,165 9940 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/bulk-crap-uninstaller/5.8.0 2024-08-04 08:52:49,587 9940 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/bulk-crap-uninstaller/5.8.0 418ms 2024-08-04 08:52:49,587 9940 [INFO ] - [NuGet] Acquiring lock for the installation of bulk-crap-uninstaller 5.8.0 2024-08-04 08:52:49,587 9940 [INFO ] - [NuGet] Acquired lock for the installation of bulk-crap-uninstaller 5.8.0 2024-08-04 08:55:03,127 9940 [INFO ] - [NuGet] Installed bulk-crap-uninstaller 5.8.0 from https://community.chocolatey.org/api/v2/ with content hash sxp5HbPsPUxsvZzoIlDat1faGVxjs9DN6FFhBAdacnZhe0NvoRoMZQJw4FN76aZsUX6y0xYXJ6WwTkzVslTf+w==. 2024-08-04 08:55:03,158 9940 [INFO ] - [NuGet] Adding package 'bulk-crap-uninstaller.5.8.0 : dotnet3.5 [3.5.20160716, )' to folder 'C:\ProgramData\chocolatey\lib' 2024-08-04 08:55:03,424 9940 [INFO ] - [NuGet] Added package 'bulk-crap-uninstaller.5.8.0 : dotnet3.5 [3.5.20160716, )' to folder 'C:\ProgramData\chocolatey\lib' 2024-08-04 08:55:03,440 9940 [INFO ] -