[Package Issue]: BlenderFoundation.Blender

Aperta
#95,653 1 commento 13 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Ambito
cli

Direzione di ricerca

Inizia riproducendo il problema con i comandi winget forniti per installare, aggiornare ed elencare, quindi esamina come viene invocato l'MSI di Blender e come vengono rilevate le versioni installate. Il lavoro è completo quando gli aggiornamenti successivi tra versioni intermedie usano un'unica directory radice, preservano lo stato di installazione previsto e vengono riconosciuti da winget senza suggerimenti di aggiornamento ripetuti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Issue-Bug
Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue

Installation issue.

Brief description of your issue

Blender installs every medium version (e.g. 3.3., 3.4., etc.) in a separate folder, which results in loss of previously installed plugins and configured preferences between medium updates and disk space cluttering.

Steps to reproduce
  1. winget install BlenderFoundation.Blender --version 3.3.1
  2. winget update BlenderFoundation.Blender
  3. winget list --id BlenderFoundation.Blender
Actual behavior
  1. For each installed update, a new folder is created (e.g. C:\Program Files\Blender Foundation\Blender 3.3\, C:\Program Files\Blender Foundation\Blender 3.4\)
  2. These folders contain redundant files (blender.exe, blender-launcher.exe) and already contain version-specific directories (Blender 3.3\3.3\, Blender 3.4\3.4\)
  3. winget doesn't detect an update and suggests to update an app again (e.g. to install Blender 3.4 when it is already installed, but winget only detects previously installed Blender 3.3)
Expected behavior
  1. All Blender versions to be installed in the same root directory, e.g. C:\Program Files\Blender Foundation\Blender.
  2. Blender updates to be installed over previous versions in the same folder as it is already installed.
  3. Blender updates to be detected as installed after being applied.

Possible solution: use MSI Public Properties when calling blender-$version-$platform-$architecture.msi, for example:

.\blender-3.4.1-windows-x64.msi INSTALL_ROOT=`"C:\Program Files\Blender Foundation\Blender\`"

Environment
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.2486
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Screenshots and Logs

No response

Lingua principale
Nessun dato sulla lingua
Stelle
11.1k
Fork
9.7k
Merge medio
1h 32m
PR unite (30g)
376

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/winget-pkgs

Tutte le issue di microsoft/winget-pkgs

Issue simili

Altre issue su CLI

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.