Code Monkey home page Code Monkey logo

Comments (10)

olegpro81 avatar olegpro81 commented on July 20, 2024 1

from winget-pkgs.

olegpro81 avatar olegpro81 commented on July 20, 2024

Looks like it does download latest version 2.130.930.0 but manifest still pointing to 2.130.754.0

from winget-pkgs.

Dragon1573 avatar Dragon1573 commented on July 20, 2024

Try to download the installer file with Motrix. Failed to reproduce the issue.

00:18:49 D:\...\winget-pkgs  [master ≡] 8.517s pwsh> komac show --installer-manifest Microsoft.PowerBI
PackageIdentifier: Microsoft.PowerBI
PackageVersion: 2.130.754.0
InstallerLocale: en-US
Platform:
- Windows.Desktop
MinimumOSVersion: 6.2.9200
InstallerType: burn
Scope: machine
InstallModes:
- interactive
- silent
- silentWithProgress
InstallerSwitches:
  Silent: -silent -norestart
  SilentWithProgress: -passive -norestart
  InstallLocation: INSTALLLOCATION="<INSTALLPATH>"
  Log: -log "<LOGPATH>"
  Upgrade: -update
  Custom: ACCEPT_EULA=1
UpgradeBehavior: install
AppsAndFeaturesEntries:
- DisplayName: Microsoft PowerBI Desktop (x64)
  Publisher: Microsoft Corporation
  ProductCode: '{035c1474-8dc2-474f-8f0f-6edad420b959}'
  InstallerType: burn
ElevationRequirement: elevatesSelf
Installers:
- Architecture: x64
  InstallerUrl: https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x64.exe
  InstallerSha256: AEE1ABBD79083E5E178F44940386D404DCA1AF456AB0DF93D39DC5BA8D31B3B7
ManifestType: installer
ManifestVersion: 1.6.0

00:19:09 D:\...\winget-pkgs  [master ≡] 2.583s pwsh> winget hash D:\Download\Aria2\Programs\PBIDesktopSetup_x64.exe
InstallerSha256: aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7

from winget-pkgs.

olegpro81 avatar olegpro81 commented on July 20, 2024

2.130.754.0

I'm not sure what Motrix is, but when I install it the regular way I always do in the log I see this: 024-06-18 11:54:24.855 [REPO] Finding installed package from tracking package using system reference search: Query:[none] Include:ProductCode='{035c1474-8dc2-474f-8f0f-6edad420b959}'[Exact] Include:ProductCode='{07e1b21-b277-4edc-8f37-dc535344478f}'[Exact] Include:ProductCode='{3e06c5e0-91a3-432c-9efe-ba24a17d393e}'[Exact] Include:ProductCode='{4175cb84-1d37-4612-a88c-3f5c65d262b4}'[Exact] Include:ProductCode='{cb217d29-ebf4-440a-ae85-54bcf7a7e515}'[Exact] Include:ProductCode='{cc521bf4-41a0-4f07-8f16-34280e0d21cd}'[Exact] Include:ProductCode='{e5aaae97-aaba-4f05-9386-16ce372d7685}'[Exact] Include:ProductCode='{ed76febc-d816-40bb-8108-acd28697470d}'[Exact] Include:NormalizedNameAndPublisher='microsoftpowerbidesktop'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftpowerbidesktop(x64)'+'microsoft'[Exact]
2024-06-18 11:54:24.862 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:ProductCode='{035c1474-8dc2-474f-8f0f-6edad420b959}'[Exact] Include:NormalizedNameAndPublisher='microsoftpowerbidesktop'+'microsoft'[Exact] Include:NormalizedNameAndPublisher='microsoftpowerbidesktop(x64)'+'microsoft'[Exact]
2024-06-18 11:54:24.863 [CLI ] Found one app. App id: Microsoft.PowerBI App name: Microsoft PowerBI Desktop
2024-06-18 11:54:24.884 [REPO] Attempting to open pinning database: C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft/WinGet\State\defaultState\pinning.db
2024-06-18 11:54:24.885 [REPO] ... opening existing pinning database
2024-06-18 11:54:24.885 [REPO] Opening database for Read at 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft/WinGet\State\defaultState\pinning.db'
2024-06-18 11:54:24.888 [REPO] Opened Pinning Index with version [1.0], last write [2024-01-15 10:44:29.000]
2024-06-18 11:54:24.889 [REPO] Downloading manifest
2024-06-18 11:54:24.889 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerBI/2.130.754.0/7a1c
2024-06-18 11:54:25.086 [CORE] Download hash: d39de0f12b1f89aeb6de33340727840b660285ca692b6fbbde23f54d61e12d6e
2024-06-18 11:54:25.086 [CORE] Download completed.
2024-06-18 11:54:25.091 [CLI ] Manifest fields: Name [Microsoft PowerBI Desktop], Version [2.130.754.0]
2024-06-18 11:54:25.113 [CLI ] Package agreements accepted by CLI flag
2024-06-18 11:54:25.257 [CLI ] Found existing installer file at 'C:\WINDOWS\TEMP\WinGet\defaultState\Microsoft.PowerBI.2.130.754.0\aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7'. Verifying file hash.
2024-06-18 11:54:27.324 [CLI ] Hash does not match. Removing existing installer file C:\WINDOWS\TEMP\WinGet\defaultState\Microsoft.PowerBI.2.130.754.0\aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7
2024-06-18 11:54:27.325 [CLI ] Failed to remove installer file. Reason: remove: The process cannot access the file because it is being used by another process.: "C:\WINDOWS\TEMP\WinGet\defaultState\Microsoft.PowerBI.2.130.754.0\aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7"
2024-06-18 11:54:27.906 [CLI ] Generated temp download path: C:\WINDOWS\TEMP\WinGet\defaultState\Microsoft.PowerBI.2.130.754.0\aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7
2024-06-18 11:54:27.908 [CORE] Downloading to path: C:\WINDOWS\TEMP\WinGet\defaultState\Microsoft.PowerBI.2.130.754.0\aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7
2024-06-18 11:54:27.924 [CORE] DeliveryOptimization downloading from url: https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x64.exe
2024-06-18 11:54:53.043 [CORE] Download completed.
2024-06-18 11:54:55.505 [CORE] Started applying motw to C:\WINDOWS\TEMP\WinGet\defaultState\Microsoft.PowerBI.2.130.754.0\aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7 with zone: 3
2024-06-18 11:54:55.554 [CORE] Finished applying motw
2024-06-18 11:54:55.555 [CLI ] Package hash verification failed. SHA256 in manifest [aee1abbd79083e5e178f44940386d404dca1af456ab0df93d39dc5ba8d31b3b7] does not match download [50b4fc9ca5843895c16e6074072675e9eaad5dfc1cbf19b8f76da8a5dea0a7aa]
2024-06-18 11:54:55.556 [CLI ] Terminating context: 0x8a150011 at C:__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1b7

from winget-pkgs.

olegpro81 avatar olegpro81 commented on July 20, 2024

If I search for PowerBI it does find this version 2.130.754.0 but when I download the installer directly from https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x64.exe and check the version it's actually 2.130.930.0 : PS C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.22.11261.0_x64__8wekyb3d8bbwe> .\winget.exe search PowerBI
Name Id Version Match Source

Microsoft PowerBI Desktop Microsoft.PowerBI 2.130.754.0 Moniker: powerbi winget

from winget-pkgs.

Dragon1573 avatar Dragon1573 commented on July 20, 2024

Cloud you please download the installer directly from that InstallerUrl? Is the SHA256 of downloaded file match that mentioned in the manifest?


Motrix is an Aria2 based GUI downloader, with a source-code-modified, self-compiled version of latest Aria2. I use it here for speed-up downloading process.

I also use Aria2NG for operating Motrix in browser. When adding tasks in Aria2NG, I can add a "checksum" to the task. After downloading, it will automatically hash the file and check if they're exactly the same.

In my test case, the check passed. Rehash the downloaded file with winget hash, they ARE the same.

from winget-pkgs.

Dragon1573 avatar Dragon1573 commented on July 20, 2024

Note

For some well-known reason, I'm behind a proxy. Can't sure if the proxy affects this issue.

Try winget download on a Windows amd64 host
08:14:39 D:\Workloads 7ms pwsh> winget download -e Microsoft.PowerBI
已找到 Microsoft PowerBI Desktop [Microsoft.PowerBI] 版本 2.130.754.0
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
的协议 Microsoft PowerBI Desktop [Microsoft.PowerBI] 版本 2.130.754.0
版本: 2.130.754.0
发布者: Microsoft Corporation
发布服务器 URL: https://www.microsoft.com/en-us
发布服务器支持 URL: https://support.microsoft.com/en-us
作者: Microsoft Corporation
主页: https://powerbi.microsoft.com
许可证: Proprietary
许可证 URL: https://powerbi.microsoft.com/en-us/desktop-eula/
隐私 URL: https://privacy.microsoft.com/en-us/privacystatement
版权所有: Copyright (c) Microsoft Corporation. All rights reserved.
版权 URL: https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default.aspx
协议:
  End User License Agreement (EULA): https://powerbi.microsoft.com/en-us/desktop-eula/

发行商要求你在安装前查看上述信息并接受协议。
是否同意上述条款?
[Y] 是  [N] 否: Y
正在下载 https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x64.exe
  ██████████████████████████████   498 MB /  498 MB
已成功验证安装程序哈希
已下载安装程序: D:\Dragon1573\Downloads\Microsoft.PowerBI_2.130.754.0\Microsoft PowerBI Desktop_2.130.754.0_Machine_X64_burn_en-US.exe
Try in Windows Sandbox amd64 instance
--> Installing WinGet
--> Disabling safety warning when running installer
Tip: you can type 'Update-EnvironmentVariables' to update your environment variables, such as after installing a new software.

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget.exe install -e --id Microsoft.PowerBI --scope machine --accept-package-agreements --accept-source-agreements
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

Found Microsoft PowerBI Desktop [Microsoft.PowerBI] Version 2.130.754.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Agreements for Microsoft PowerBI Desktop [Microsoft.PowerBI] Version 2.130.754.0
Version: 2.130.754.0
Publisher: Microsoft Corporation
Publisher Url: https://www.microsoft.com/en-us
Publisher Support Url: https://support.microsoft.com/en-us
Author: Microsoft Corporation
Homepage: https://powerbi.microsoft.com
License: Proprietary
License Url: https://powerbi.microsoft.com/en-us/desktop-eula/
Privacy Url: https://privacy.microsoft.com/en-us/privacystatement
Copyright: Copyright (c) Microsoft Corporation. All rights reserved.
Copyright Url: https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default.aspx
Agreements:
  End User License Agreement (EULA): https://powerbi.microsoft.com/en-us/desktop-eula/

Downloading https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x64.exe
  ██████████████████████████████   498 MB /  498 MB
Successfully verified installer hash
Starting package install...
   |

image

from winget-pkgs.

stephengillie avatar stephengillie commented on July 20, 2024

This should be addressed in:

@olegpro81, are you still seeing the issue?

from winget-pkgs.

Dragon1573 avatar Dragon1573 commented on July 20, 2024

Is the issue resolved? Please sincerely close this issue as "completed" ❤️

from winget-pkgs.

olegpro81 avatar olegpro81 commented on July 20, 2024

Thanks everyone. Looks good now.

from winget-pkgs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.