473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

How deploy CRT assembly for binaries split over multiple folders?

I have now spent the best part of a day trying to find out how to
distribute our unmanaged C++ app built with a newly purchased copy of
VS2005. As per all the other posts, it runs fine on the dev machine
but falls flat on its face on a test box without VS installed.

As we use Inno Setup for the installer, we can't take the MSI route.
Neither do I want to have to redistribute the vcredist.exe, so I've
been trying to ship with the CRT as a private assembly.

Our app is divided into a main exe and several DLLs. It has a plugin
architecture, at startup the application looks in a special plugins
subfolder and loads up any DLLs it finds in there.

I have manifests for the exe and the DLLs (embedded), and I copied the
following files to the folder of the executable:

Microsoft.VC80.CRT.manifest
msvcr80.dll
msvcp80.dll
msvcm80.dll

With this setup, the DLLs in the plugins subfolder refuse to load. I
tried putting duplicate copies of the CRT manifest and DLLs into the
subfolder too but that still didn't work. I also put just the manifest
in the subfolder but hacked the path descriptions to the CRT DLLs in
the XML to "..\msvcr80.dll" etc so that they would be searched for in
the parent folder. Didn't work.

The only way I could get it to run was to copy all the plugin DLLs out
of their own subfolder and putting them in the same folder as the
executable. This isn't a very desirable solution however as it would
mean we have to change our plugin architecture.

What do I need to do for this to work? I'm seriously considering going
back to VS2003 after experiencing how much hassle deploying is with
VS2005. I can't help but laughing when thinking of those VS2005
adverts that has been appearing in the press promising much improved
productivity and a happy programmer with more spare time for his
hobbies. As if!

Jan 27 '07 #1
0 1229

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Julie | last post by:
I'm currently working in a mixed mode project where the exe is C#, there is a managed C++ (DLL) assembly, that in part, includes some calls into a native (unmamanged) DLL. I can build/link/run...
2
by: john | last post by:
Maybe I haven't had that "a-ha" moment yet, but I think the new approach to web projects is a step in the wrong direction. My main beef is that control over the assembly generation process has...
5
by: Diffident | last post by:
Hello All, I am trying to add an assembly to GAC but having difficult time figuring out the concept of GAC. This is what I am trying to do.... 1. Installed NUnit framework whose DLL...
3
by: balaki | last post by:
Hi, I am working on a Installer Project, which requires to deploy SQL Server 2005 Reports (.rdl files) and Datasource (.rds file). The datasource is common for all reports. The report files are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.