Thibault Genessay schrieb:
Hi Michael

On 4/10/07, *Michael Henheffer* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi Andreas,

    It appears that redistributing applications built with Visual Studio
    2005 Express  is difficult to do.  Take a look at
    the  'Visual  C++ 2005
    Express Edition' section of
    http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express .  It
    explains that the  Visual C++ Redistributables are not included
    with the
    express edition and cannot be downloaded  from Microsoft.  This means
    the application can only be run on other machines that have the
    express
    edition installed.


This is wrong. You have many options:
- manually redistribute the required DLLs, of course after having checked it can be redistributed. You can use a tool like the Dependency Walker that ships with the Windows SDK or the commercial editions of Visual Studio. This is not to recommend because of licensing issues: it's hard to find which DLLs you have the right to redistribute, even though msvcr80.dll and msvcp80.dll obviously can be redistributed - use merge modules. When it installs, Visual Studio adds its runtime merge modules to the directory C:\program files\common files\merge modules. You can redistribute the non debug version, named policy_8_0_Microsoft_VC80_CRT_x86.msm. It contains the DLLs you want. You must be using Windows Installer (or a compatible installer) - download them directly from Microsoft - for free, indeed, whatever wikipedia's activists can believe - at the following address: http://www.microsoft.com/downloads/details.aspx?FamilyID=32bc1bee-a3f9-4c13-9c99-220b62a191ee&DisplayLang=en <http://www.microsoft.com/downloads/details.aspx?FamilyID=32bc1bee-a3f9-4c13-9c99-220b62a191ee&DisplayLang=en> The file is named vcredist_x86.exe and contains the 32 bits versions of the DLLs, but specific packages exist for other architectures.

I'd recommend using an installer with the merge module, as you don't have to install separate packages, but providing vcredist_x86.exe is probably the most straightforward solution.
Thank you very much for the information and the link! I will consider which way to go, but using the ms-installer seems to be very easy.

Regards,

Andreas

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to