Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove enableElevatedUpdateTask from Wix installer config #2004

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

HeavenVolkoff
Copy link
Member

This config option seems to be crashing the installer for a lot of Windows users, and I am not 100% why I enabled anyway, so revert it.

Rationale:
According to this log, from an affected user:
#1994 (comment)
The problem steams from the CreateUpdateTask action present in tauri's Wix template:
https://github.com/tauri-apps/tauri/blob/tauri-v1.5.3/tooling/bundler/src/bundle/windows/templates/main.wxs#L282-L307
Which tries to execute this Powershell script:
https://github.com/tauri-apps/tauri/blob/tauri-v1.5.3/tooling/bundler/src/bundle/windows/templates/install-task.ps1
That fails for a lot of our users for some reason.
However, this is a non-default behavior that I enabled in the AI PR for some reason (maybe by mistake):
https://github.com/spacedriveapp/spacedrive/pull/1845/files#diff-25f93a9e45647c833a5769e5c21fb1735e0ffd08f536dad2337de462ed7d14ddR47
https://tauri.app/v1/api/config#wixconfig.enableelevatedupdatetask

The best solution is to revert this for now

Close #1994

This config option seems to be crashing the installer for a lot of Windows users, and I am not 100% why I enabled anyway, so revert it
@HeavenVolkoff HeavenVolkoff self-assigned this Jan 27, 2024
@HeavenVolkoff HeavenVolkoff requested a review from a team as a code owner January 27, 2024 09:48
Copy link

vercel bot commented Jan 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
spacedrive-landing ❌ Failed (Inspect) Jan 27, 2024 9:49am
spacedrive-web ✅ Ready (Inspect) Visit Preview Jan 27, 2024 9:49am

@HeavenVolkoff HeavenVolkoff added this pull request to the merge queue Jan 28, 2024
Merged via the queue into main with commit 137fa65 Jan 28, 2024
13 of 14 checks passed
@HeavenVolkoff HeavenVolkoff deleted the fix-windows-installer branch January 28, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to Install on Windows
2 participants