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

Windows CLI installer /D only works in silent mode (/S) #813

Open
2 tasks done
pavelzw opened this issue Jun 25, 2024 · 1 comment
Open
2 tasks done

Windows CLI installer /D only works in silent mode (/S) #813

pavelzw opened this issue Jun 25, 2024 · 1 comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type

Comments

@pavelzw
Copy link

pavelzw commented Jun 25, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

When running a generated windows installer with /D, the directory doesn't get passed through when not using silent mode.

.\python-example-1.0.0-Windows-x86_64.exe /D=C:\example-python

The GUI still displays C:\ProgramData\python-example as path. When using silent mode, it works.

I am using conda-constructor in an isolated environment via pixi global install constructor.

Conda Info

No response

Conda Config

No response

Conda list

No response

Additional Context

No response

@pavelzw pavelzw added the type::bug describes erroneous operation, use severity::* to classify the type label Jun 25, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Jun 25, 2024
@marcoesters
Copy link
Contributor

I think it's because of these lines: https://github.com/conda/constructor/blob/main/constructor/nsis/main.nsi.tmpl#L430-L454

I'm wondering if this is even necessary because the default is set in another instance: https://github.com/conda/constructor/blob/main/constructor/nsis/main.nsi.tmpl#L614-L622

It would require some testing to see if this is obsolete. Is this behavior breaking anything? I understand that this is a nuisance though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants