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

I’m having problems with the java17.msi silent install on windows 7 #212

Open
smokingwheels opened this issue Jan 2, 2025 · 0 comments

Comments

@smokingwheels
Copy link

If your issue is specific to Corretto, then you are in the right place. Please proceed with the following.

Describe the bug

I’m having problems with the java17.msi install on windows 7, when executed with the Shell command in qb64 “start /w java17.msi /qn /norestart”. Java fails to install. If I remove /qn then a manual install completes then I have Yacy running.

java17.msi /qn /norestart
Is this the correct command for silent install?
Am I waiting long enough to complete currently 140 seconds?

To Reproduce

Add /qn /norestart to java msi file in a qb64 shell command.

Rem installer for yacy windows
Shell "copy /b java17_0 + java17_1 + java17_2 java17.msi"
Print "Joining files"
_Delay 5

Shell "start /w java17.msi /qn /norestart"
Print "Installing java 17"
_delay 140
Shell "refresh.cmd"
Print "refreshing path"
_Delay 10
Shell "startYACYWin.cmd"
Print "starting yacy 1.940"
_Delay 20
Stop

Yacy with java and qb64 program
http://gts.undo.it/index.php/s/JfCeKzmnDkH97c4

Expected behavior

It takes about 50 seconds to install manually.

Platform information

OS: Windows 7
Version  "Corretto-17.0.13.11.1"

Thanks

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

No branches or pull requests

1 participant