MSVC (Visual Studio 2005/2008 redistributables)

Started by caaclipper, July 10, 2009, 09:40:54 AM

Previous topic - Next topic

Fakcomeyindee


I believe that with this one.
Of course, I usually find it very difficult to do this.

caaclipper

Well, installing the redistributables is certainly an option.  It just seems like the old 'driving in a nail w/ a sledgehammer' solution that Microsoft is more than willing to cram down your throat.
 
Your research and effort on this is most appreciated.  I think that for now, my preference is to manually create a folder w/ the pertinent redistributables and have Inno-Setup install them in the same folder as my COM object.  This has been proven to work on two pristine PCs w/ XP and Vista OS'



Randem

I have looked at the manifest and they they basically say not much. Try running your project thru InnoScript to see what it has to say about the dlls that you should re-distribute. Let me know what you find.



Randem

Here is something
 
http://www.codeproject.com/KB/COM/regsvr42.aspx?msg=3123415#xx3123415xx
 
Run a trace on your application exe to see which modules it wants to use. Post the trace file.

caaclipper

 
 
The COM provider is the program code that requires the Redistributables

Randem

Post your VC project file, let me take a look at it.

caaclipper

So the problem is: how can I be sure I am getting the proper version (which may not be the latest version)??

caaclipper

Yes, but so many choices, which one does it need
 
C:WINDOWSWinSxS>dir x86_Microsoft.VC80.CRT_*
 Volume in drive C has no label.
 Volume Serial Number is 3C8A-05E5
 
 Directory of C:WINDOWSWinSxS
 
05/22/2009  12:28 PM              x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8
.0.50727.1433_x-ww_5cf844d2
10/27/2007  01:06 AM              x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8
.0.50727.163_x-ww_681e29fb
10/27/2007  12:47 AM              x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8
.0.50727.42_x-ww_0de06acd
07/14/2008  01:11 PM              x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8
.0.50727.762_x-ww_6b128700
               0 File(s)              0 bytes
               4 Dir(s)   8,962,428,928 bytes free
 
C:WINDOWSWinSxS>

Randem

Ok, those files are in your WindowsWinSxS folder under a folder with a name much like x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50608.0_x-ww_b80fa8ca

caaclipper


Randem

No it does not help. What I need to see is the Manifest file itself. Does it look like this:
 
 
 
   
     
       
         
       
     
 
   
   
     
       
     
   
   
     
       
 
     
   
   
     
       
     
   
 
 
Please post your manifest file.