Windows installer (MSI) is slow
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
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.
- Dominant language
- C
- Stars
- 10
- Forks
- 8
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FriendsofECCE/ECCE
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FriendsofECCE/ECCE#336 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
FriendsofECCE/ECCE#339 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
FriendsofECCE/ECCE#338 · 2 comments ·
-
Basis Set Tool: periodic table cut off on the right; elements 110-118 still have placeholder namesOpen
Difficulty 4/5 3-5 days Newbie friendliness 40/100
FriendsofECCE/ECCE#337 ·
-
Difficulty 5/5 Over a week Newbie friendliness 8/100
FriendsofECCE/ECCE#335 ·
All issues in FriendsofECCE/ECCE
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
`inverse()` of a controlled `CUGate` drops the phase parameter γPossibly taken @rupasri118 claimed this today. Openbug mod: circuit
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Qiskit/qiskit#17223 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
OpenPrinting/libcupsfilters#284 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
libsdl-org/SDL#16530 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
fw876/helloworld#2067 ·
Maintainers usually reply within 1 day