visual studio로 제작된 프로그램 배포시 문제에 대해

익명 사용자의 이미지

개발을 공부하는 학생인데요.
비쥬얼 스튜디오로 개발한 프로그램(exe)를 배포하는데 다른 PC에서 실행하면 msvcr120d.dll이 없다든가 vcruntime140.dll이 없다든가 에러가 발생합니다. 결국 프로그램과 dll을 같이 배포해야되는데 상대 PC에 이런 dll이 있는 패키지를 설치하는 방법밖에 없는건지 궁금합니다.

shint의 이미지

Visual C++ Redistributable Packages for Visual Studio 2013
https://www.microsoft.com/en-GB/download/details.aspx?id=40784

Visual C++ Redistributable for Visual Studio 2015
https://www.microsoft.com/en-us/download/details.aspx?id=48145
http://joomlaboy.com/tutorials/computers/168-solved-vcruntime140-dll-missing-program-can-t-start

PHP 7: Missing VCRUNTIME140.dll
http://stackoverflow.com/questions/30811668/php-7-missing-vcruntime140-dll

---------------------------------------------------------------

Visual Studio 2015 Community 에서 Install Shield 사용하는 방법 ★★★★★
http://www.devpia.com/Maeul/Contents/Detail.aspx?BoardID=51&MAEULNO=20&no=8835&page=1

윈도우 비스타 지원 프로그래밍 가이드
http://www.devpia.com/Maeul/Contents/Detail.aspx?BoardID=51&MAEULNO=20&no=8805&page=2

NSIS 사용법입니다. (UAC 포함)
http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=50&MAEULNo=20&no=899902&ref=899900
https://docs.google.com/spreadsheet/pub?key=0Av788O9A9oekdHhPZ0xPYXJBbDRpbW05RTlVRHp5cnc&output=html

---------------------------------------------------------------

Prebuild and Postbuild Events in An InstallShield Installation
http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=50&MAEULNO=20&no=961882&ref=961882&page=1

Microsoft Visual Studio 2013 Installer Projects
https://marketplace.visualstudio.com/items?itemName=UnniRavindranathan-MSFT.MicrosoftVisualStudio2013InstallerProjects

Visual Studio 2013 setup project missing
http://2525kih.blog.me/220522577036

InstallShield for Visual Studio Limited Edition .NET / Windows
http://blog.naver.com/khsmonad/220385861501

재배포 패키지 관련 질문 | VC++ 일반
http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=50&MAEULNO=20&no=961470&ref=961470&page=1

VS2005 이상에서 재배포 문제점 네모의 프로그래밍
http://blog.naver.com/jinlee25/40094435167

Visual C++ 버젼별 배포방법! 밥줄 Tip
http://blog.naver.com/odise444/60057434900

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

Rikimaru의 이미지

단순히 실행파일을 실행하는 것만으로 동작하는 것이 베스트인데 그러한 방법은 없다는 말씀이신거 같군요.
실행파일 패키징같은 것을 조금 더 찾아봐야겠네요. ㅎㅎ
감사합니다.

 의 이미지

프로젝트->속성->구성 속성->C/C++->코드 생성->런타임 라이브러리
"다중 스레드 디버그 DLL" 혹은 "다중 스레드 DLL"로 되어 있을텐데
각각 "다중 스레드 디버그" 혹은 "다중 스레드"로 바꿔주시면 됩니다. (각각 디버그/릴리즈 모드)

이러면 C/C++ 런타임 라이브러리가 DLL 의존이 아니라 정적으로 링크되는데, 실행 파일이 커지지만 재배포 패키지에 의존하지 않게 되죠.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.