Unable to Install on Windows
Describe the bug
When I attempt to install Spacedrive on my Windows 11 PC, I get an error message saying
There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
Reproduction
- Download the latest installer (Alpha 0.2.0) as the
msi. - Click to run it.
- It fails
Expected behavior
- Download the latest installer
- Click to run it
- It succeeds 😄
Platform and versions
# Output of `pnpm --version && cargo --version && rustc --version`
8.14.3
cargo 1.75.0 (1d8b05cdd 2023-11-20)
rustc 1.75.0 (82e1608df 2023-12-21)
# OS Information
OS Name: Microsoft Windows 11 Pro
Version: 10.0.22631 Build 22631
Stack trace
I'm not sure where to get this...
Additional context
No response
Having the same issue here but using a modified Windows 10 PC
Same issue on Windows 11 Pro 23H2
error from log
CustomAction CreateUpdateTask returned actual error code 1 (note this may not be 100% accurate if translation happened inside sandbox)
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action CreateUpdateTask, location: C:\Program Files\Spacedrive\, command: powershell.exe -WindowStyle hidden .\install-task.ps1
MSI (s) (68:DC) [08:51:21:391]: Product: Spacedrive -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action CreateUpdateTask, location: C:\Program Files\Spacedrive\, command: powershell.exe -WindowStyle hidden .\install-task.ps1
Same here
I have the same problem.
Same here facing this issue, I have tried on w10 22h2, 2021 ltsc but both shows same error, but old version install perfectly, only 2.0 won't able to install. Please fix asap. 😥
Sorry about this, I'm not entirely sure why this issue is happening, and none of the team members were able to reproduce the installation problem. However, thanks to the logs provided by @isilweo, I believe I've identified the cause. I'm currently building a test release with a potential fix here. If possible, could anyone who was affected by this issue try installing the test release and check if it works correctly and report back. Thanks
It works correctly now thanks :)
one side note - to generate log from installer you need to run it from command line like installer.exe /log file.txt - be aware that there may be private data in log like email and computer username etc, so take a look before posting.
It works correctly now 👍🏿
Sorry about this, I'm not entirely sure why this issue is happening, and none of the team members were able to reproduce the installation problem. However, thanks to the logs provided by @isilweo, I believe I've identified the cause. I'm currently building a test release with a potential fix here. If possible, could anyone who was affected by this issue try installing the test release and check if it works correctly and report back. Thanks
This fix worked for me.
Couldn't test it yet in VMs, but is this expected?
Couldn't test it yet in VMs, but is this expected?
Yes, it happens as SmartScreen is usually not trusting of a binary until enough users run it and don't have any complaints - this is often when we release a new update, but after a few days/a week Microsoft unofficially consider it as "likely safe", and dismiss the warning for that specific binary/executable.
It can be resolved through signing too, but I'm not too sure if we have that configured for Windows or not (we had some issues with obtaining a key previously) and can't remember what happened afterwards from the top of my head.
Couldn't test it yet in VMs, but is this expected?
You got this with the 0.2 release or with my test release? I've been sending our releases .exe to be scanned by MS to avoid this, but I didn't with the test release, so if you got this by running it, it was expected.
Couldn't test it yet in VMs, but is this expected?
You got this with the 0.2 release or with my test release? I've been sending our releases
.exeto be scanned by MS to avoid this, but I didn't with the test release, so if you got this by running it, it was expected.
I got it with the latest 0.2.0 release last I checked
Couldn't test it yet in VMs, but is this expected?
You got this with the 0.2 release or with my test release? I've been sending our releases
.exeto be scanned by MS to avoid this, but I didn't with the test release, so if you got this by running it, it was expected.
Actually, both. And on my VMs test Win10+ and my main system Win11.
Yes, it happens as SmartScreen is usually not trusting of a binary until enough users run it and don't have any complaints - this is often when we release a new update, but after a few days/a week Microsoft unofficially consider it as "likely safe", and dismiss the warning for that specific binary/executable.
It can be resolved through signing too, but I'm not too sure if we have that configured for Windows or not (we had some issues with obtaining a key previously) and can't remember what happened afterwards from the top of my head.
Okay, now i got it installed, just fine with @HeavenVolkoff version.
Because, with the official release version 0.2.0, it would crash at the end, as reported by the other users.
Sorry about this, I'm not entirely sure why this issue is happening, and none of the team members were able to reproduce the installation problem. However, thanks to the logs provided by @isilweo, I believe I've identified the cause. I'm currently building a test release with a potential fix here. If possible, could anyone who was affected by this issue try installing the test release and check if it works correctly and report back. Thanks
This test installer worked perfectly for me!