Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to include to installer MSVC libraries?
Forum Updated to NodeBB v4.3 + New Features

How to include to installer MSVC libraries?

Scheduled Pinned Locked Moved General and Desktop
msvcmsvc2013qtinstallerfram
6 Posts 3 Posters 2.4k Views 2 Watching
  • 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 Offline
    A Offline
    Abylay
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      1
      • A Offline
        A Offline
        alex_malyu
        wrote on last edited by
        #3

        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
        1
        • SGaistS SGaist

          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.

          A Offline
          A Offline
          Abylay
          wrote on last edited by
          #4

          @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
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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
            0
            • A alex_malyu

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

              A Offline
              A Offline
              Abylay
              wrote on last edited by
              #6

              @alex_malyu Very helpful post, thanks!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved