Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
2.0.3, 2.0.5, 3.1.0
-
None
-
Windows 10
Description
I'm using Windows command prompt to automate the maintenancetool.exe with various commands and scripts, and without any UI interaction. One of my requirement is that I need I need to get the maintenancetool verbose output from the cmd stdout.
It happens very regularly that my call never returns and shows a command prompt dialog saying "Press any key to continue..."
I've been able to reproduce the issue by simply calling the following within the Windows CMD:
"C:\Qt\QtIFW2.0.5\bin\installerbase.exe" -v --version > stdout.txt
The issue doesn't happen at all times so you will need to run this command within a loop from a batch file. I'm using the following:
=======================
echo off
SET /a i=0
:loop
IF %i%==1000 GOTO END
echo This is iteration %i%.
"C:\Qt\QtIFW2.0.5\bin\installerbase.exe" -v --version > stdout.txt
SET /a i=%i%+1
GOTO LOOP
:end
echo
=======================
I've also figured out that it's a lot easier to reproduce with more complex commands than --version such as --check-updates or – script
This issue only happens on Windows 10. I've never been able to reproduce it on Windows 7 or 8.1
Attachments
Issue Links
- duplicates
-
QTIFW-1250 Installer hangs on Windows with Perl icon
-
- Closed
-