Is it an inconvenience if my installation script requires a lot of reboots?

I'm writing a shell script that automatically installs some drivers and programs that depend on each other sequentially, which are required to run the main application. After each successful installation, the computer needs to reboot before the next program can be installed.

I have tried to make the script as easy to use as possible, for example the script automates the reboot process and deletes itself after completion. Once the script is executed, the user can basically grab a cup of coffee and chill for 15 minutes until it is completed.

Still, I'm concerned about whether it will make a difference in the user's decision to install the main app if the script didn't require those restarts.