Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

(Workaround Available) Error during installation of Qt 5.8.0 on Windows 10 x64 using offline installer



  • During the installation of Qt 5.8.0 (qt-opensource-windows-x86-mingw530-5.8.0.exe) using the offline installer the error shown on the attached picture occurs. I use the latest version of avira as anti virus software.
    Can anyone tell me what's wrong please?

    Best regards,
    Robert
    Screenshot


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Maybe a silly question but did you check that you have enough space to install Qt ?



  • Hi,

    Thanks for that hint. I have 28.3GBytes left on this Harddrive which is not much,
    but should be enough since Qt 5.8.0 only require about 6GByte.

    Best Regards,
    Robert


  • Lifetime Qt Champion

    I managed to miss the anti-virus part. Try disabling it while installing. Some of these are overly sensitive as soon as it comes to development tools.



  • Hi,

    Sorry for the delay but i was pretty busy on the weekend.
    I have tried to install this version of Qt on three different machines all running Windows 10 x64
    but the setup keeps failing with the exact same error on all of them.
    Even with anti-virus disabled or uninstalled.

    Any further hints?

    Best Regards,
    Robert


  • Lifetime Qt Champion

    Can you check the content of the folders already created ? There might be a glitch with the offline installer.

    In between would using the online installer be an option ?



  • Hi,
    The folders are created and the .msi file is also there. If I use the online installer everything works fine but there the strawberry-perl-5.22.1.3-32bit.msi isn’t installed. It seems like the pearl thing is missing in the online installer because there is not even the option to install it.
    Can someone else confirm that the offline installer is not working?

    Best Regards,
    Robert


  • Lifetime Qt Champion

    Is the path the same that is shown in the error message ?



  • Hi,

    For me it looks like the path shown in the error-message and the path on the hard drive match (see screenshot “error”). I installed using the offline installer with the settings specified on screenshot “settings”.

    Best Regards,
    Robert
    Screenshot error
    Screenshot settings


  • Lifetime Qt Champion

    That part looks good. I'd take a look at the bug report system to see if there's anything related.

    In between you could try to run the perl installer and see if you can get further.



  • Hi!

    I had the same error while installing, I filled a bug report: https://bugreports.qt.io/browse/QTBUG-58615. @RuFuS Feel free to comment on the report about your experience.



  • Hi,

    I got the same error message. I am using Windows 8.1 x86 (sadly -should be using a GNU OS-).

    Definitely this must be a bug. And it is due to the fact that Qt is trying to install Strawberry Pearl for Windows ( http://strawberryperl.com/ ) in the background without user interference.

    /quiet Is a display option. The installer runs an installation without displaying a user interface. No prompts, messages, or dialog boxes are displayed to the user. The user cannot cancel the installation.

    The problem might be that the MSI installer "strawberry-perl-5.22.1.3-32bit.msi" does require an input from the user to several options.

    In any case, there is a way to work around the problem.

    • In the "Installer Error" window, Ignore the error and let the installation continue as if nothing had happened.
    • Go to the file where the msi file was copied, by default it should be: C:\Qt\Qt5.8.0\Tools\Perl52213_32
    • And run the installation of the msi file manually. See the attached images.
    • Notice that the version of Strawberry Perl is not necessarily the latest version. My recommendation is that you should stay with the version provided with Qt. Just in case!! Though, a newer version might also work.

    In any case, either if you install the Strawberry Perl package provided, or not, Qt should work. Either with the compiler you specify in your kit, or with the MinGW ver. 5.3 provided by Qt with their installer (if you install the Qt MinGW version). Notice that actually Strawberry Perl is a distribution of the Perl programming language for the Microsoft Windows platform which contains a fully MinGW C/C++ compiler, gcc + related tools.

    Other errors during the installation, besides the Strawberry Perl error? Make sure that you have updated your Windows OS so that you count with all needed DLLs



  • This post is deleted!


  • @Javier-FA
    Ok, here are the screens.

    [Installer Error] ( https://1drv.ms/i/s!AmnJx-fAfkgtgReQAOiIQFQ82I6R )
    [Strawberry Perl File Location] (https://1drv.ms/i/s!AmnJx-fAfkgtgRZbF3I7WkguqXjl)

    Double click on the msi file and manually install:
    https://1drv.ms/i/s!AmnJx-fAfkgtgRhsndnuEJtlKJqJ
    https://1drv.ms/i/s!AmnJx-fAfkgtgRmxYy-iJoK8NQ4H
    https://1drv.ms/i/s!AmnJx-fAfkgtgRpp_KLye6zzunIe

    Shall we mark this as Solved?



  • Hi,

    Everything seems to work with the workaround from above. Although the problem with the installer itself is not fixed, so should we really mark this thread as solved?

    Best Regards,
    Robert


  • Lifetime Qt Champion

    Rather keep it open until the bug report is marked as solved.

    You can modify the title to state that there's a workaround available.


Log in to reply