Visual C++ Libraries DLL Deployment
Ayman Shoukry collected a number of usefull links to the MSDN website depending on the deployment method. Go to Ayman’s WebLog…
Articels on MSDN:
- Choosing a Deployment Method
- How to: Deploy using XCopy
- Visual C++ Libraries as Shared Side-by-Side Assemblies
Article on Code Project:
Private Assembly install under app directory.
The VC Libs files can be installed under the app directory as a private assembly. The files required for the private assembly are under <VS install path>\vc\redist. Copy the required sub directories to the app directory.
Pros : App does not have a setup, xcopy deploy, Non admin install, Select the assemblies that the app uses, run from share
Cons : Not suitable when a product installs multiple binaries and these are installed in various directories (assembly has to be duplicated under each directory)
(Quelle: Ayman Shoukry’s WebLog)
Typische Fehlermeldungen, die auftreten wenn die C++ runtime libraries (CRT DLLs) nicht gefunden werden sind folgende:
- “The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem”.
- “Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu installieren.”
Wenn das Manifest nicht gefunden wird, wird der Fehler R6034 verursacht:
- “R6034 – attempt to load C runtime library without using manifest.”