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?
QtWS25 Last Chance

How to include to installer MSVC libraries?

Scheduled Pinned Locked Moved General and Desktop
msvcmsvc2013qtinstallerfram
6 Posts 3 Posters 2.2k Views
  • 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 12 May 2015, 05:12 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 May 2015, 21:59 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 13 May 2015, 05:07
      1
      • A Offline
        A Offline
        alex_malyu
        wrote on 12 May 2015, 23:20 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 15 May 2015, 06:00
        1
        • S SGaist
          12 May 2015, 21:59

          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 13 May 2015, 05:07 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
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 14 May 2015, 20:53 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
              12 May 2015, 23:20

              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 15 May 2015, 06:00 last edited by
              #6

              @alex_malyu Very helpful post, thanks!

              1 Reply Last reply
              0

              6/6

              15 May 2015, 06:00

              • Login

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