Windows installer (MSI) is slow
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
Start by building the MSI and measuring it: run msiexec /i ECCE-windows-9.0.0-alpha.10.msi /l*v install.log and find which phase dominates (file costing, file copy, registry, or custom actions), then count files and components in the bundled Python, wxPython and Perl. Done means a clean install on NerdEgg has a stated time taken from the log and the CI MSI install/uninstall test still passes. Packaging changes need maintainer agreement on the approach first.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
The per-user MSI (ECCE-windows-9.0.0-alpha.10.msi, ~180 MB, WiX v5) installs slowly on Windows 10; reported again on alpha.10, already listed as a known issue since alpha.8.
To find out first (measure, don't guess)
- Time the phases from a verbose log:
msiexec /i ECCE-windows-9.0.0-alpha.10.msi /l*v install.log. This shows file costing, file copy, registry and custom actions. - Number of files and components in the package. The bundled Python, wxPython and Perl add tens of thousands of small files, and MSI cost scales with the number of files and components more than with total size.
- The effect of real-time antivirus (Windows Defender scans every file written): compare the install time with the zip unpacked to the same place.
Likely remedies, depending on the measurement
- Fewer, larger components (one component per directory, or WiX harvesting with directory-level components), instead of one per file.
- Ship the bundled runtimes as zip/archive files that are unpacked on first start, or put Python's standard library in its zip form (
python3xx.zip). - Drop unused parts of the bundled runtimes: tests, documentation,
__pycache__, unused Perl modules. - Check that no custom action runs a slow step (e.g. compiling .pyc files) at install time.
Done when: a clean install on NerdEgg takes a stated time (e.g. under 1 minute), measured from the log, and the CI MSI install/uninstall test still passes.
- Langage dominant
- C
- Étoiles
- 10
- Forks
- 8
- Merge moyen
- 21 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FriendsofECCE/ECCE
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 70/100
FriendsofECCE/ECCE#353 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
FriendsofECCE/ECCE#336 · 1 commentaire ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
FriendsofECCE/ECCE#355 ·
-
Icons in MacOSOuverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 18/100
FriendsofECCE/ECCE#354 · 4 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
FriendsofECCE/ECCE#351 ·
Toutes les issues de FriendsofECCE/ECCE
Issues similaires
-
backlog bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
EchoTools/nevr-runtime#653 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
InfiniTimeOrg/InfiniTime#2492 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
Les mainteneurs répondent en général sous 1 jour
-
base-files: 82_config_generate: regenerate /etc/board.json if 0-bytes / truncated after power cutOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
openwrt/openwrt#25940 · 5 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
extension-modules topic-socket type-bug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
python/cpython#159561 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour