Revision: 41681
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41681&view=rev
Author:   bob1961
Date:     2010-12-16 20:21:52 +0000 (Thu, 16 Dec 2010)

Log Message:
-----------
Copy the appropriate redist, depending on the platform.

Modified Paths:
--------------
    brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl

Modified: brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl
===================================================================
--- brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl 2010-12-16 
20:09:24 UTC (rev 41680)
+++ brlcad/trunk/misc/win32-msvc8/tclsh/library/installTree.tcl 2010-12-16 
20:21:52 UTC (rev 41681)
@@ -305,11 +305,21 @@
 puts "\[12 of 15] COPYING REDIST FILES"
 catch {
     if {[info exists "C:/Program Files/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.CRT"]} {
-       copy_stuff "C:/Program Files/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.CRT" [file join $installDir bin]
-       copy_stuff "C:/Program Files/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.MFC" [file join $installDir bin]
+       if {$platform == "x64"} {
+           copy_stuff "C:/Program Files/Microsoft Visual Studio 
8/VC/redist/amd64/Microsoft.VC80.CRT" [file join $installDir bin]
+           copy_stuff "C:/Program Files/Microsoft Visual Studio 
8/VC/redist/amd64/Microsoft.VC80.MFC" [file join $installDir bin]
+       } else {
+           copy_stuff "C:/Program Files/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.CRT" [file join $installDir bin]
+           copy_stuff "C:/Program Files/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.MFC" [file join $installDir bin]
+       }
     } else {
-       copy_stuff "C:/Program Files (x86)/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.CRT" [file join $installDir bin]
-       copy_stuff "C:/Program Files (x86)/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.MFC" [file join $installDir bin]
+       if {$platform == "x64"} {
+           copy_stuff "C:/Program Files (x86)/Microsoft Visual Studio 
8/VC/redist/amd64/Microsoft.VC80.CRT" [file join $installDir bin]
+           copy_stuff "C:/Program Files (x86)/Microsoft Visual Studio 
8/VC/redist/amd64/Microsoft.VC80.MFC" [file join $installDir bin]
+       } else {
+           copy_stuff "C:/Program Files (x86)/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.CRT" [file join $installDir bin]
+           copy_stuff "C:/Program Files (x86)/Microsoft Visual Studio 
8/VC/redist/x86/Microsoft.VC80.MFC" [file join $installDir bin]
+       }
     }
 }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to