spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

Unable to Install on Windows

Open astridos2go opened this issue 2 years ago • 17 comments

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.

image

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

astridos2go avatar Jan 25 '24 01:01 astridos2go

Having the same issue here but using a modified Windows 10 PC

i0x0 avatar Jan 25 '24 04:01 i0x0

Same issue on Windows 11 Pro 23H2

artsiom-voitas avatar Jan 25 '24 07:01 artsiom-voitas

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

isilweo avatar Jan 25 '24 08:01 isilweo

Same here

candroid-man avatar Jan 25 '24 20:01 candroid-man

I have the same problem.

davidjaggi avatar Jan 26 '24 08:01 davidjaggi

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. 😥

Jakeverse avatar Jan 26 '24 11:01 Jakeverse

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

HeavenVolkoff avatar Jan 27 '24 10:01 HeavenVolkoff

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.

isilweo avatar Jan 27 '24 11:01 isilweo

It works correctly now 👍🏿

i0x0 avatar Jan 27 '24 14:01 i0x0

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.

JRBlaze avatar Jan 28 '24 02:01 JRBlaze

Couldn't test it yet in VMs, but is this expected?

Screenshot_22

v-Kaefer avatar Jan 28 '24 18:01 v-Kaefer

Couldn't test it yet in VMs, but is this expected?

Screenshot_22

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.

brxken128 avatar Jan 28 '24 18:01 brxken128

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.

HeavenVolkoff avatar Jan 28 '24 18:01 HeavenVolkoff

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.

I got it with the latest 0.2.0 release last I checked

brxken128 avatar Jan 28 '24 18:01 brxken128

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.

Actually, both. And on my VMs test Win10+ and my main system Win11.

v-Kaefer avatar Jan 28 '24 18:01 v-Kaefer

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. Screenshot_27 Screenshot_28

v-Kaefer avatar Jan 28 '24 18:01 v-Kaefer

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!

astridos2go avatar Jan 28 '24 22:01 astridos2go