Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to include to installer MSVC libraries?

    General and Desktop
    msvc msvc2013 qtinstallerfram
    3
    6
    1795
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Abylay last edited by

      Does anybody know how to attach MSVC Files, such as MSVC++ redistributive 2010 and 2013.
      Customers have administrative rules on own PCs.
      I have two idea:

      • I include MSVC++ redistributive files as installer third party components, but I don't know how to do it.
      • l include only required library files (MSVCP120.DLL, MSVCR120.DLL, ...)to application folder, but I'm not sure that it is legally by Microsoft.

      Please, suggest me right solution!

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        AFAIK, the correct way is to include Microsoft's vcredist installer and run it from your own installer. As to how to do it, it depends on the installer framework you'll be using.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply Reply Quote 1
        • A
          alex_malyu last edited by

          http://blogs.msdn.com/b/vcblog/archive/2007/10/12/how-to-redistribute-the-visual-c-libraries-with-your-application.aspx

          A 1 Reply Last reply Reply Quote 1
          • A
            Abylay @SGaist last edited by

            @SGaist, thanks for your answer! I want to clarify how to do it on Qt Installer Framework? Is there any examples?

            1 Reply Last reply Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              You can take a look at the installer script of Qt Creator

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply Reply Quote 0
              • A
                Abylay @alex_malyu last edited by

                @alex_malyu Very helpful post, thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post