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

[Bug] miniforge's installer is not silent (will pop up a page during the installation) #684

Open
SiyuChen opened this issue Jan 8, 2023 · 1 comment

Comments

@SiyuChen
Copy link

SiyuChen commented Jan 8, 2023

The miniforge's installer is not silent (will pop up a page during the installation)

One solution could be:

"installer": {
    "script": [
        "Start-Process -Wait \"$dir\\$fname\" -ArgumentList @('/S', '/InstallationType=JustMe', '/RegisterPython=0', '/AddToPath=0', '/NoRegistry=1', \"/D=$dir\")",
        "Remove-Item \"$dir\\$fname\""
    ]
},
"uninstaller": {
    "script": [
        "Start-Process -Wait \"$dir\\Uninstall-Miniforge3\" -ArgumentList '/S'",
        "# Workaround for 'envs' being deleted by the uninstaller. This does not affect persist.",
        "New-Item \"$dir\\envs\" -ItemType Directory | Out-Null"
    ]
},
"bin": [
    "python.exe",
    "pythonw.exe",
    [
        "python.exe",
        "python3"
    ]
],
"env_add_path": [
    "scripts",
    "Library\\bin"
],
@chawyehsu
Copy link
Owner

chawyehsu commented Jan 9, 2023

Thanks, it's a refactoring regression of Scoop Core. It would be better to fix it upstream.

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

2 participants