Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-10010

Fix windows WIX installer by including a proper vc runtime

    Details

    • Type: Bug
    • Status: New
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.6, 1.8
    • Fix Version/s: None
    • Component/s: Build-System
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Microsoft Windows
    • Userland:
      Microsoft Windows
    • Distribution:
      Microsoft Windows
    • Distribution Version:
      Microsoft Windows 7
    • Compiler:
      Microsoft Visual Studio
    • FreeSWITCH GIT Revision:
      c03ec62e1ba282b270ef224413531a1532da9e64
    • GIT Master Revision hash::
      c03ec62e1ba282b270ef224413531a1532da9e64

      Description

      If you install the latest freeswitch msi on a windows box that doesn't have vc runtime installed, it wont run.

      Meanwhile injecting VC CRT into an msi will not solve all the issues bacause it requires Universal C Runtime which is part of Windows 10 but not Windows 7.
      So for windows 7 you will have to either have an up to date OS or additionally pre-install KB2999266 if it is not installed (could be tricky because of a bug in the windows update service, try stopping it first before installing the KB).

      Freeswitch WIX installer project supports debug versions of freeswitch also.
      For that case a debug version of VC CRT will be injected into msi.

      The problem is that KB2999266 does not provide a debug equivalent of ubasecrt.dll, which is ubasecrtd.dll.
      ubasecrtd.dll is a part of Windows 10 SDK, so Freeswitch Debug package will be installed without a warning but you will have to install Windows 10 SDK in order to start debug version of freeswitch.

      Working on a pull request.

        Issue Links

          Activity

          Hide
          andywolk Andrey Volk added a comment -
          Oh. A misprint. In the description I should say KB2999226, not KB2999266 :)
          Show
          andywolk Andrey Volk added a comment - Oh. A misprint. In the description I should say KB2999226, not KB2999266 :)
          Hide
          andywolk Andrey Volk added a comment -
          Oh so dirty. Another misprint. Should say ucrtbase.dll and ucrtbased.dll, but not "ubasecrt.dll"
          Show
          andywolk Andrey Volk added a comment - Oh so dirty. Another misprint. Should say ucrtbase.dll and ucrtbased.dll, but not "ubasecrt.dll"

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              andywolk Andrey Volk
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development