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

Silent install automatically starts the application in Spyder 6 #22730

Open
10 tasks
valkenaer opened this issue Oct 25, 2024 · 2 comments
Open
10 tasks

Silent install automatically starts the application in Spyder 6 #22730

valkenaer opened this issue Oct 25, 2024 · 2 comments

Comments

@valkenaer
Copy link

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Spyder-Windows-x86_64.exe /S /InstallationType=AllUsers neatly installs everything into ProgramData but ALSO starts the application when the silent install is done (version 6.0.1)

How can I make sure the application DOESNT start? This messes up my deployments

What steps reproduce the problem?

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE
@ccordoba12
Copy link
Member

Hey @valkenaer, thanks for reporting. I think this is a sensible request and we'll try to address it in 6.0.3 or 6.0.4, both to be released before the end of the year.

@mrclary, could you take a look at this one?

@ccordoba12 ccordoba12 added this to the v6.0.3 milestone Oct 25, 2024
@ccordoba12 ccordoba12 changed the title Silent install automaticall starts application Silent install automatically starts the application in Spyder 6 Oct 25, 2024
@mrclary
Copy link
Contributor

mrclary commented Oct 25, 2024

@ccordoba12, I agree that this is a sensible request. However, I don't know if we can achieve it with the current constructor limitations. As far as I know, there is no way to pass on to our post-install script whether or not the installer is running in silent mode (/S or "headless") or not. I think our only option right now is to not launch Spyder for any install mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants