-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
- HP Community
- Apps, Services & Software
- ZCentral
- Re: Interactive messagebox breaks Command Line UPGRADE for Z...
Create an account on the HP Community to personalize your profile and ask a question
04-06-2021 09:50 AM - edited 04-06-2021 09:51 AM
We are currently upgrading our workstations from Sender 20.1.0.26348 to 20.1.2.8161
The existing release has been installed per command line and has worked flawlessly on all our workstations.
The upgrade procedure is in principle equivalent, but when issuing the command
SenderSetup64.exe /z"/autoinstall /agreetolicense /usb /clipboard /el /noreboot"
instead of upgrading silently the message
"This setup will perform an upgrade of 'HP ZCentral Remote Boost 2020 Sender'. Do you want to continue?"
(see image below if I will ever manage to upload it)
This interactive request breaks the unattended upgrade our workstations. I have been searching in the user manual, but did not find anything regarding "Upgrade from Command Line". How can we override this messagebox from the comman dline?
Solved! Go to Solution.
04-07-2021 12:06 AM
...actually trying to upgrade the Receiver from command line brings up exactly the same message, breaking the unattended installation procedure as nobody will be there to click on "Yes". This makes a systematic unattended upgrade of the ZCentral components technically impossible.
Hopefully a solution will be offered on a short term, as otherwise a minor update will become a huge task in our scenario, and currently we do not have resources for this.
Just in case the website does something wired not showing this image, I will report down here the full message that is displayed:
"This setup will perform an upgrade of 'HP ZCentral Remote Boost 2020 Receiver'. Do you want to continue?"
...of course I want to continue: the question should not even be asked when shooting the commandline command with the
/z"/autoinstall /agreetolicense /noreboot"
switch
05-06-2021 03:05 PM - edited 05-06-2021 03:08 PM
I can confirm that, whatever the other switches are, the /S switch makes the installation completely unattended, both for the Sender and for the Receiver.
Be aware that with the /S switch your script will continue without waiting for the ZCentral installer to complete, which could give your annoying results in case you have other actions coming up in the script you are running (as for example it has happened to me, restarting the machine after installing ZCentral... which has restarted the machine before ZCentral was completely installed... on a team of about 30 engineers that were unable to work the next day... but at least now we have learnt the lesson... 🤗)
05-07-2021 07:49 AM
Hi Freesbee, Please try adding the /clone_wait flag to the Receiver and/or Sender installer command line to force the install to wait until finished. For example:
ReceiverSetup64.exe /clone_wait /s /z"/autoinstall /agreetolicense"
We are adding this info to the User Guide for an upcoming release.
05-07-2021 11:00 PM - edited 05-07-2021 11:10 PM
...I won't miss to test the /clone_wait switch at the next update 😀
But I would say, if it does what I imagine, and it will be added to the documentation for the others, then the solution will be perfect (maybe also the /S switch should be mentioned in the documentation)
05-11-2021 04:48 AM
I tried the command and it waits for about an extra 3 seconds compared to not using it....
ReceiverSetup64.exe /clone_wait /S /z"/autoinstall /agreetolicense /usb=localremote /clipboard /noreboot"
I think before when we packaged it we put a wait command before installing vmouse and the sender...