Skip to content

Conversation

@lrandersson
Copy link
Contributor

Description

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

* Initial prototype as shown in demo

* Switch to install_launcher option

* Update schema properly

* Move MSI file rather than copying it

* Add fallbacks for invalid versions and app names

* Use absolute paths in install script

* Check that briefcase.exe exists

* Add briefcase to dependencies, and make it and tomli-w Windows-only

* Move Windows-specific dependencies from environment.yml to extra-requirements-windows.txt

---------

Co-authored-by: Marco Esters <mesters@anaconda.com>
@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review Dec 17, 2025
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Dec 17, 2025
@lrandersson lrandersson force-pushed the briefcase-installer-options branch from 7ae9015 to 532ff27 Compare December 17, 2025 16:07
@lrandersson lrandersson marked this pull request as ready for review December 17, 2025 16:08
@lrandersson lrandersson requested a review from a team as a code owner December 17, 2025 16:08
)
initialize_conda = info.get("initialize_conda", "classic")
if initialize_conda:
# TODO: How would we distinguish between True/classic in the UI? Same for NSIS
Copy link
Contributor

Choose a reason for hiding this comment

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

True and classic are synonyms. You would have to distinguish between classic and condabin. You can currently just take what's in the NSIS template and add that here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed 326be7f

Copy link
Contributor

Choose a reason for hiding this comment

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

I was thinking about these lines:

# Account for the conda mode
${If} "${INIT_CONDA_MODE}" == "condabin"
${NSD_CreateLabel} 5% "$5u" 90% 20u \
"Adds condabin/, which only contains the 'conda' executables, to PATH. \
Does not require special shortcuts but activation needs \
to be performed manually."
${Else}
${NSD_CreateLabel} 5% "$5u" 90% 20u \
"NOT recommended. This can lead to conflicts with other applications. \
Instead, use the Commmand Prompt and Powershell menus added \
to the Windows Start Menu."
${EndIf}

You can then add the condabin UI text if info.get("initialize_conda", "classic") == "condabin", and the other text if not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, updated a642278

{
"name": "register_python",
"title": "Register Python as System Default",
"description": "TODO: Register Python description",
Copy link
Contributor

Choose a reason for hiding this comment

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

For now, you can just copy the description in NSIS.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed 326be7f

@marcoesters marcoesters force-pushed the briefcase-integration branch from 26ee3bb to a2caeec Compare December 19, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed [bot] added once the contributor has signed the CLA

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

4 participants