-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
MSI building process fails when build.productName contains hyphen #6488
Comments
aplum
added a commit
to aplum/electron-builder
that referenced
this issue
Jan 6, 2022
Also fix iconId sometimes containing invalid characters, and iconId config option being ignored. Closes electron-userland#3694, electron-userland#6488
aplum
added a commit
to aplum/electron-builder
that referenced
this issue
Jan 12, 2022
Also fix iconId sometimes containing invalid characters, and iconId config option being ignored. Closes electron-userland#3694, electron-userland#6488
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I tried |
jyyi1
added a commit
to Jigsaw-Code/outline-apps
that referenced
this issue
Sep 24, 2024
This commit reverts the product name from "outline-client" back to "Outline". This also fixed the reinstallation issue. Though I'm still not sure about the root cause, it could be that electron-builder failed to handle the '-' character (similar to electron-userland/electron-builder#6488, but not exactly the same).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While upgrading the version of the electron-builder for our project, I found that the MSI building process fails as follows.
The problem occurs from electron-builder v22.14.3 when
build.productName
in package.json contains a hyphen, "-".I think that the regular expressions in the 1st code and 2nd code should be
.replace(/\s|-/g, "")
instead of.replace(/\s/g, "")
to convertbuild.productName
to appropriate ID.The text was updated successfully, but these errors were encountered: