please tell me, if there is a solution for this, as I didn't find any with the search function.
I'm trying to install XAMPP via CMD on a fresh installed computer with Windows 10 (german).
Autoattended install is a fine thing, vc_redist and the ODBC driver works fine.
VC_Reist is installed by this code:
- Code: Select all
VC64 /install /quiet /norestart
The command prompt appears only, when the setup finished.
OK, after finished setup the batch goes to the next line:
- Code: Select all
MsiExec.exe /i ODBC17.msi ADDLOCAL=ALL IACCEPTMSODBCSQLLICENSETERMS=YES /qn
Again, the prompt appears only AFTER finished setup.
And now the last line:
- Code: Select all
XAMPP.exe --mode unattended --installer-language de --enable-components xampp_mysql,xampp_filezilla,xampp_phpmyadmin --disable-components xampp_webalizer,xampp_sendmail,xampp_perl,xampp_tomcat,xampp_mercury
This time the prompt appears immediately while the setup continues in the background and takes about 2 minutes to finish, sometimes 3 minutes.
But the batch now goes further, even the install is not finished yet.
And that's a big problem, because after setup I need to replace some config-files ans THEN start the control panel to test the apps.
Now... is there an option or switch, tht make the installer to wait until the setup finished completely (with or withour errors).
The batch has to continue ONLY after a setup finishes completely.
I tried this one too:
- Code: Select all
start /WAIT XAMPP.exe --mode unattended --installer-language de --enable-components xampp_mysql,xampp_filezilla,xampp_phpmyadmin --disable-components xampp_webalizer,xampp_sendmail,xampp_perl,xampp_tomcat,xampp_mercury
It doesn't change anything, the setup exits and continue in the background, while the batch goes to the next line... far far to early.
I have to use
to make the batch wait.timeout /nobreak /t 180 2>NUL >NUL
But that's not a clean setup, it's kind of "dirty" because it's a static waittime.
I have to wait 3 minutes to continue, regardess if the setup would finish after 1 minute.
Is there nothing I could do, to make the batch wait for the setup to exit, before continuing?
Thanks in advance.
Greetz
David