Installation of 0.20.0 went fine on my other computer yesterday, but on my main computer I went to update PicoTorrent and I get this:
e000: Error 0x80091007: Hash mismatch for path: C:\ProgramData\Package Cache\.unverified\VC_redist.x64.exe, expected: 75F1AEE6DCCF3D6E6AC49926563737005B93BA13, actual: BDB645EBAF3C91ECEB1A143BE6793CA57E6435C3
I just tried in Windows Sandbox and it works correctly. Does your main computer have internet connection?
Also, you can install the C++ redistributable separately from https://aka.ms/vs/16/release/VC_redist.x64.exe if you just want to get going in the mean time.
Yes, it does. It seems like an older version of the C++ redistributable in my downloads folder is being used instead of fetching the new version online.
Here are some relevant log entries:
Detected partially cached package: VC_redist.x64.exe, invalid payload: VC_redist.x64.exe, reason: 0x80070002
Planned package: VC_redist.x64.exe, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
Acquiring package: VC_redist.x64.exe, payload: VC_redist.x64.exe, copy from: C:\Users\Michael\Downloads\VC_redist.x64.exe
Yeah, I can reproduce the error like this,
VC_redist.x64.exe in ~/Downloads with any contentFull log file
[1344:128C][2020-09-10T11:29:22]i001: Burn v3.11.1.2318, Windows v10.0 (Build 19041: Service Pack 0), path: C:\Windows\Temp\{6B30E5DB-BFB3-4FF3-89BA-2A7CF29C8E37}\.cr\PicoTorrent-0.20.0-x64.exe
[1344:128C][2020-09-10T11:29:22]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]PicoTorrent'
[1344:128C][2020-09-10T11:29:22]i000: Initializing string variable 'LaunchTarget' to value '[InstallFolder]\PicoTorrent.exe'
[1344:128C][2020-09-10T11:29:22]i009: Command Line: '-burn.clean.room=C:\Users\WDAGUtilityAccount\Downloads\PicoTorrent-0.20.0-x64.exe -burn.filehandle.attached=532 -burn.filehandle.self=640'
[1344:128C][2020-09-10T11:29:22]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\WDAGUtilityAccount\Downloads\PicoTorrent-0.20.0-x64.exe'
[1344:128C][2020-09-10T11:29:22]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\WDAGUtilityAccount\Downloads\'
[1344:128C][2020-09-10T11:29:22]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\WDAGUtilityAccount\AppData\Local\Temp\PicoTorrent_20200910112922.log'
[1344:128C][2020-09-10T11:29:22]i000: Setting string variable 'WixBundleName' to value 'PicoTorrent'
[1344:128C][2020-09-10T11:29:22]i000: Setting string variable 'WixBundleManufacturer' to value 'PicoTorrent contributors.'
[1344:0AC4][2020-09-10T11:29:22]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[1344:0AC4][2020-09-10T11:29:22]i000: Setting version variable 'WixBundleFileVersion' to value '0.20.0.0'
[1344:128C][2020-09-10T11:29:22]i100: Detect begin, 2 packages
[1344:128C][2020-09-10T11:29:22]i000: Registry key not found. Key = 'Software\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64'
[1344:128C][2020-09-10T11:29:22]i052: Condition 'VCREDISTVERSION >= v14.27.29016' evaluates to false.
[1344:128C][2020-09-10T11:29:22]i101: Detected package: VC_redist.x64.exe, state: Absent, cached: None
[1344:128C][2020-09-10T11:29:22]i101: Detected package: PicoTorrentPackage, state: Absent, cached: None
[1344:128C][2020-09-10T11:29:22]i199: Detect complete, result: 0x0
[1344:0AC4][2020-09-10T11:29:27]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[1344:128C][2020-09-10T11:29:27]i200: Plan begin, 2 packages, action: Install
[1344:128C][2020-09-10T11:29:27]w321: Skipping dependency registration on package with no dependency providers: VC_redist.x64.exe
[1344:128C][2020-09-10T11:29:27]i000: Setting string variable 'WixBundleLog_VC_redist.x64.exe' to value 'C:\Users\WDAGUtilityAccount\AppData\Local\Temp\PicoTorrent_20200910112922_000_VC_redist.x64.exe.log'
[1344:128C][2020-09-10T11:29:27]i000: Setting string variable 'WixBundleRollbackLog_PicoTorrentPackage' to value 'C:\Users\WDAGUtilityAccount\AppData\Local\Temp\PicoTorrent_20200910112922_001_PicoTorrentPackage_rollback.log'
[1344:128C][2020-09-10T11:29:27]i000: Setting string variable 'WixBundleLog_PicoTorrentPackage' to value 'C:\Users\WDAGUtilityAccount\AppData\Local\Temp\PicoTorrent_20200910112922_001_PicoTorrentPackage.log'
[1344:128C][2020-09-10T11:29:27]i201: Planned package: VC_redist.x64.exe, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[1344:128C][2020-09-10T11:29:27]i201: Planned package: PicoTorrentPackage, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1344:128C][2020-09-10T11:29:27]i299: Plan complete, result: 0x0
[1344:128C][2020-09-10T11:29:27]i300: Apply begin
[1344:128C][2020-09-10T11:29:27]i010: Launching elevated engine process.
[1344:128C][2020-09-10T11:29:27]i011: Launched elevated engine process.
[1344:128C][2020-09-10T11:29:27]i012: Connected to elevated engine.
[19FC:1A80][2020-09-10T11:29:27]i358: Pausing automatic updates.
[19FC:1A80][2020-09-10T11:29:27]i359: Paused automatic updates.
[19FC:1A80][2020-09-10T11:29:27]i360: Creating a system restore point.
[19FC:1A80][2020-09-10T11:29:27]w363: Could not create system restore point, error: 0x80070422. Continuing...
[19FC:1A80][2020-09-10T11:29:27]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{afc57c70-5f00-45c2-8d3f-de3db09b74d8}, options: 0x7, disable resume: No
[19FC:1A80][2020-09-10T11:29:27]i000: Caching bundle from: 'C:\Windows\Temp\{B2A2332B-24F6-45B9-9505-E7850DF09A85}\.be\PicoTorrent-0.20.0-x64.exe' to: 'C:\ProgramData\Package Cache\{afc57c70-5f00-45c2-8d3f-de3db09b74d8}\PicoTorrent-0.20.0-x64.exe'
[19FC:1A80][2020-09-10T11:29:27]i320: Registering bundle dependency provider: {afc57c70-5f00-45c2-8d3f-de3db09b74d8}, version: 0.20.0.0
[19FC:1A80][2020-09-10T11:29:27]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{afc57c70-5f00-45c2-8d3f-de3db09b74d8}, resume: Active, restart initiated: No, disable resume: No
[1344:1210][2020-09-10T11:29:27]i338: Acquiring package: VC_redist.x64.exe, payload: VC_redist.x64.exe, copy from: C:\Users\WDAGUtilityAccount\Downloads\VC_redist.x64.exe
[1344:1210][2020-09-10T11:29:27]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:\Users\WDAGUtilityAccount\Downloads\'
[19FC:0FC4][2020-09-10T11:29:27]e000: Error 0x80091007: Hash mismatch for path: C:\ProgramData\Package Cache\.unverified\VC_redist.x64.exe, expected: 75F1AEE6DCCF3D6E6AC49926563737005B93BA13, actual: 352B37DC1F4FACB8E1437BA841FB77BC1994E396
[19FC:0FC4][2020-09-10T11:29:27]e000: Error 0x80091007: Failed to verify hash of payload: VC_redist.x64.exe
[19FC:0FC4][2020-09-10T11:29:27]e310: Failed to verify payload: VC_redist.x64.exe at path: C:\ProgramData\Package Cache\.unverified\VC_redist.x64.exe, error: 0x80091007. Deleting file.
[19FC:0FC4][2020-09-10T11:29:27]e000: Error 0x80091007: Failed to cache payload: VC_redist.x64.exe
[1344:1210][2020-09-10T11:29:27]e314: Failed to cache payload: VC_redist.x64.exe from working path: C:\Windows\Temp\{B2A2332B-24F6-45B9-9505-E7850DF09A85}\VC_redist.x64.exe, error: 0x80091007.
[1344:1210][2020-09-10T11:29:27]e349: Application requested retry of payload: VC_redist.x64.exe, encountered error: 0x80091007. Retrying...
[1344:1210][2020-09-10T11:29:31]i338: Acquiring package: VC_redist.x64.exe, payload: VC_redist.x64.exe, copy from: C:\Users\WDAGUtilityAccount\Downloads\VC_redist.x64.exe
[19FC:0FC4][2020-09-10T11:29:31]e000: Error 0x80091007: Hash mismatch for path: C:\ProgramData\Package Cache\.unverified\VC_redist.x64.exe, expected: 75F1AEE6DCCF3D6E6AC49926563737005B93BA13, actual: 352B37DC1F4FACB8E1437BA841FB77BC1994E396
[19FC:0FC4][2020-09-10T11:29:31]e000: Error 0x80091007: Failed to verify hash of payload: VC_redist.x64.exe
[19FC:0FC4][2020-09-10T11:29:31]e310: Failed to verify payload: VC_redist.x64.exe at path: C:\ProgramData\Package Cache\.unverified\VC_redist.x64.exe, error: 0x80091007. Deleting file.
[19FC:0FC4][2020-09-10T11:29:31]e000: Error 0x80091007: Failed to cache payload: VC_redist.x64.exe
[1344:1210][2020-09-10T11:29:31]e314: Failed to cache payload: VC_redist.x64.exe from working path: C:\Windows\Temp\{B2A2332B-24F6-45B9-9505-E7850DF09A85}\VC_redist.x64.exe, error: 0x80091007.
[1344:1210][2020-09-10T11:29:31]e349: Application requested retry of payload: VC_redist.x64.exe, encountered error: 0x80091007. Retrying...
[1344:1210][2020-09-10T11:29:34]i338: Acquiring package: VC_redist.x64.exe, payload: VC_redist.x64.exe, copy from: C:\Users\WDAGUtilityAccount\Downloads\VC_redist.x64.exe
[19FC:0FC4][2020-09-10T11:29:34]e000: Error 0x80091007: Hash mismatch for path: C:\ProgramData\Package Cache\.unverified\VC_redist.x64.exe, expected: 75F1AEE6DCCF3D6E6AC49926563737005B93BA13, actual: 352B37DC1F4FACB8E1437BA841FB77BC1994E396
[19FC:0FC4][2020-09-10T11:29:34]e000: Error 0x80091007: Failed to verify hash of payload: VC_redist.x64.exe
[19FC:0FC4][2020-09-10T11:29:34]e310: Failed to verify payload: VC_redist.x64.exe at path: C:\ProgramData\Package Cache\.unverified\VC_redist.x64.exe, error: 0x80091007. Deleting file.
[19FC:0FC4][2020-09-10T11:29:34]e000: Error 0x80091007: Failed to cache payload: VC_redist.x64.exe
[1344:1210][2020-09-10T11:29:34]e314: Failed to cache payload: VC_redist.x64.exe from working path: C:\Windows\Temp\{B2A2332B-24F6-45B9-9505-E7850DF09A85}\VC_redist.x64.exe, error: 0x80091007.
[1344:128C][2020-09-10T11:29:34]e000: Error 0x80091007: Failed while caching, aborting execution.
[19FC:1A80][2020-09-10T11:29:34]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{afc57c70-5f00-45c2-8d3f-de3db09b74d8}, resume: None, restart: None, disable resume: No
[19FC:1A80][2020-09-10T11:29:34]i330: Removed bundle dependency provider: {afc57c70-5f00-45c2-8d3f-de3db09b74d8}
[19FC:1A80][2020-09-10T11:29:34]i352: Removing cached bundle: {afc57c70-5f00-45c2-8d3f-de3db09b74d8}, from path: C:\ProgramData\Package Cache\{afc57c70-5f00-45c2-8d3f-de3db09b74d8}\
[19FC:1A80][2020-09-10T11:29:34]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{afc57c70-5f00-45c2-8d3f-de3db09b74d8}, resume: None, restart initiated: No, disable resume: No
[1344:128C][2020-09-10T11:29:34]i399: Apply complete, result: 0x80091007, restart: None, ba requested restart: No
Glad we figured it out. Thanks for your hard work on PicoTorrent!
Thank you for reporting! :) Easiest temporary fix would be to delete the VC_redist.x64.exe from your Downloads folder I think.