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. It may be possible to use ClickOnce to deploy the application as described at http://msdn2.microsoft.com/en-us/library/ms235287(VS.80).aspx .
Hope this helps,
Mike

Andreas Goebel wrote:
Hi,

I have cut down the problem a bit. It´s all about including the right manifest-files.

Now a strange problem occurs: The osgDB - manifest (which is included in the dll, but can be seen in the build-folder) looks like this:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
 <dependency>
   <dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
   </dependentAssembly>
 </dependency>
</assembly>

but the manifest for Microsoft.VC80.CRT looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
   <noInheritable></noInheritable>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.42"


(...)

indicating that the dll I actually use is slightly newer.

Usually all the manifests and dlls reside in windows/WinSxS , but it is possible to distribute the manifests locally in the application-folder. But if I do so, I get an error that the versions do not match.

If I change the version by hand (to match ...) the application starts, but the plugins do not load (leading to the ugly builtin font, for instance).

I tried to build the osg statically, but this seems to be a big task ... sigh ..

Has anyone made an installer distributing the osg and an application together with all that manifest-stuff? Why does the osgDB-manifest use a different version from what I actually have on my system?


Thanks for any help. I just hate this stuff. I have a nice application running on my computer just smoothly, but cannot distribute it because of all this stuff ...

Regards,

Andreas

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

--
CARIS
115 Waggoners Lane, Fredericton, New Brunswick, Canada, E3B 2L4
Tel: +1-506-458-8533  Fax: +1-506-459-3849
_________________________________________________________________________
New Viewer for 2D and 3D Data
Download your free copy of CARIS Easy View today!
www.caris.com/easyview _________________________________________________________________________

This email and any files transmitted with it are confidential and
intended only for the addressee(s). If you are not the intended
recipient(s) please notify us by email reply. You should not use,
disclose, distribute or copy this communication if received in error.

Any views or opinions expressed in this email are solely those of the
author and do not necessarily represent those of the company. No binding
contract will result from this email until such time as a written
document is signed on behalf of the company.

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

Reply via email to