VMs are not being updated on Windows
Updating the VM does not actually do the update on Windows. It only updates the zip archive, but does not unzip.
Steps to reproduce:
- Have a VM that is slightly older (like 1.3.4 for Pharo 13) - ensure you have the same files in the 130-x64.zip and in the unzipped directory
- In Launcher, open VMs
- Select the 130-x64
- Click on Update
- See the progress bar finish.
If you check the VM version via any means (System info in the image, Windows file properties etc.), it will be still old. However, if you check the 130-x64.zip (the archive), it IS updated. it was however never extracted. If you remove the directory 130-x64 and do the update again, you will get the extracting phase and therefore get the new VM.
I have the issue with Launcher 3.4.1 on Windows. Tried to check on Linux as well but could not reproduce it there, so it might be a Windows-only issue? I remember having issues updating VMs in the past several years as well, so I always remembered to just remove the directory and zip of the VM instead of trying to do the update via Launcher, so the issue is probably there for very long time.
It does unzip if there is no directory with the VM yet (like if you download it for the first time or removed the directory manually first), but not in case of an update
Hi, I have a similar problem, so I complete your issue to not duplicate. I'm on Windows 11 and when I click on the "Update" in the VMs panel, my VM is not updated. I need to remove all files (the .zip and the folder which contains Pharo.exe) and after it is working. Thanks!
My config:
- Pharo Launcher 3.4.1
- Windows 11 Pro