Avinash
Avinash

Reputation: 13267

C++ and Windows , CRT

I am developing application application using C++ VS 2008. Now I need to either install respective MSM or install redist on customer machine to get this working.

Is there any way in which I can just copy those CRT dlls and get the application running.

Private assembly option seems to be complicate.

Upvotes: 1

Views: 230

Answers (2)

JaredPar
JaredPar

Reputation: 755259

If you just depend on the CRT, then yes you can simply XCOPY deploy it as a private assembly and it will work just fine. Put it in the same folder as your application.

Doing this will prevent your application from taking advantage of servicing releases of the CRT though. This may or may not be an issue for you.

Upvotes: 1

TWA
TWA

Reputation: 12816

Take a look at this Microsoft article:

How to: Deploy using XCopy

Upvotes: 1

Related Questions