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

Use sbt-native-packager instead of sbt-pack #20547

Merged
merged 7 commits into from
Jul 15, 2024

Conversation

hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented Jun 10, 2024

This PR is based on #20351.
The idea is to use sbt-native-packager instead of sbt-pack since it has the ability to generate .msi files.

[test_msi]

@hamzaremmal hamzaremmal self-assigned this Jun 10, 2024
@hamzaremmal hamzaremmal force-pushed the msi-installer branch 8 times, most recently from 88a77b7 to 59daf47 Compare June 13, 2024 15:41
@hamzaremmal hamzaremmal force-pushed the msi-installer branch 10 times, most recently from 3096410 to 073ef51 Compare July 1, 2024 16:37
@Gedochao Gedochao requested a review from Kordyjan July 2, 2024 08:11
@hamzaremmal hamzaremmal force-pushed the msi-installer branch 3 times, most recently from 6eeb38f to 7d59d4f Compare July 2, 2024 10:08
bin/common Outdated Show resolved Hide resolved
hamzaremmal added a commit that referenced this pull request Jul 4, 2024
Closes #20381 

Depends the availability of an msi installer (#20547)
pkgs/msi/README.md Outdated Show resolved Hide resolved
hamzaremmal added a commit that referenced this pull request Jul 11, 2024
In #20547, to be able to build an msi installer, the version needs to
have the following pattern `A.B.C.D`.
This change should be fine but the release procedure of RC1 will have to
take it into account.
@hamzaremmal hamzaremmal force-pushed the msi-installer branch 6 times, most recently from 61b0d9f to 880d773 Compare July 15, 2024 09:13
@hamzaremmal
Copy link
Member Author

Some changes are required in sbt/sbt-native-packager are to have an icon displayed. I will be submitting a PR to that project soon with these changes and open a second one in scala/scala3 with all the necessary changes.

We will also be signing the released msi but we don't have yet a code signing certificate so the necessary changes will also follow in another PR

maintainer := "The Scala Programming Language",
packageSummary := s"Scala $dottyVersion",
packageDescription := """Installer for the Scala Programming Language""",
wixProductId := "74ED19C3-74FE-4ABA-AF30-55A06B6322A9",
Copy link
Member

@bishabosha bishabosha Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these GUIDs seem a bit underdocumented - where do they come from?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can add some documentation here

@hamzaremmal hamzaremmal merged commit a212ff0 into scala:main Jul 15, 2024
25 checks passed
@hamzaremmal hamzaremmal deleted the msi-installer branch July 15, 2024 13:11
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.

3 participants