==
{"status":"Failed","error":{"code":"ResourceDeploymentFailure","message":"The 'AzureAsyncOperationWaiting' resource operation completed with terminal provisioning state 'Failed'.","details":[{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'CustomScriptExtension'. Error message: \"Command execution finished, but failed because it returned a non-zero exit code of: '1'\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot "}]}}
The 'rancher-desktop' artifact failed to install. See artifact result for details.
atey\lib\rancher-desktop\tools\pkgenv.json'
with checksum 'B4245F2CC9FB5EEFD4862E7608049278'
Found 'C:\ProgramData\chocolatey\lib\rancher-desktop\tools\pkginstall.ps1'
with checksum 'CCFE48B8FF2E3B39A371DE6560F6E2C0'
Found 'C:\ProgramData\chocolatey\lib\rancher-desktop\tools\pkguninstall.ps1'
with checksum 'E5CA2A555EDC1EF656C338D859342E48'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\rancher-desktop.1.2.1.22062712\.arguments".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\rancher-desktop.1.2.1.22062712\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\rancher-desktop.1.2.1.22062712\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\rancher-desktop.1.2.1.22062712\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\rancher-desktop.1.2.1.22062712\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\rancher-desktop".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The install of rancher-desktop was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\rancher-desktop\tools\chocolateyinstall.ps1'.
See log for details.
Moving 'C:\ProgramData\chocolatey\lib\rancher-desktop'
to 'C:\ProgramData\chocolatey\lib-bad\rancher-desktop'
rancher-desktop not installed. An error occurred during installation:
Stopping further execution as rancher-desktop has failed install.
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\chocolatey\lib\rancher-desktop\.chocolateyPending'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass60.<write_file>b__5f()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\chocolatey\lib\rancher-desktop\.chocolateyPending'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass60.<write_file>b__5f()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
Maximum tries of 3 reached. Throwing error.
Chocolatey installed 0/0 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Sending message 'PostRunMessage' out if there are subscribers...
Could not find a part of the path 'C:\ProgramData\chocolatey\lib\rancher-desktop\.chocolateyPending'.
Exiting with -1
ERROR: Installation failed (-1). Please see the Chocolatey logs in %ALLUSERSPROFILE%\chocolatey\logs folder for details.
The artifact failed to apply.