[ros-bugs] [Bug 907] New: vmwinst.exe fails to copy driver with VMware Workstation 5.5

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Fri Oct 14 05:34:04 CEST 2005


http://www.reactos.org/bugzilla/show_bug.cgi?id=907

           Summary: vmwinst.exe fails to copy driver with VMware Workstation
                    5.5
           Product: ReactOS
           Version: TRUNK
          Platform: VMWare 5
        OS/Version: ReactOS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Setup
        AssignedTo: ros-bugs at reactos.com
        ReportedBy: mikeonthecomputer at gmail.com
         QAContact: ros-bugs at reactos.com


If you use VMware Workstation 5.5, the location for the drivers has changed.
This was done in order to accomidate for 32-bit Windows OSes and the recent line
of 64-bit Windows. I have made a working patch for this (not tested in lower
VMware versions, but it should work):

--- trunk/reactos/subsys/system/vmwinst/vmwinst.c       2005-10-11
18:21:08.000000000 -0700
+++ newtrunk/reactos/subsys/system/vmwinst/vmwinst.c    2005-10-12
14:28:00.000000000 -0700
@@ -41,6 +41,7 @@
 
 static WCHAR DestinationDriversPath[MAX_PATH+1];
 static WCHAR CDDrive = L'\0';
+static WCHAR PathToVideoDrivers55[MAX_PATH+1] = L"X:\\program
files\\VMware\\VMware Tools\\Drivers\\video\\winnt2k\\32Bit\\";
 static WCHAR PathToVideoDrivers45[MAX_PATH+1] = L"X:\\program
files\\VMware\\VMware Tools\\Drivers\\video\\winnt2k\\";
 static WCHAR PathToVideoDrivers40[MAX_PATH+1] = L"X:\\video\\winnt2k\\";
 static WCHAR DestinationPath[MAX_PATH+1];
@@ -223,9 +224,12 @@
     if(GetDriveType(Drive) == DRIVE_CDROM)
     {
 #endif
+      PathToVideoDrivers55[0] = Current;
       PathToVideoDrivers40[0] = Current;
       PathToVideoDrivers45[0] = Current;
-      if(SetCurrentDirectory(PathToVideoDrivers45))
+      if(SetCurrentDirectory(PathToVideoDrivers55))
+               SrcPath = PathToVideoDrivers55;
+         else if(SetCurrentDirectory(PathToVideoDrivers45))
         SrcPath = PathToVideoDrivers45;
       else if(SetCurrentDirectory(PathToVideoDrivers40))
         SrcPath = PathToVideoDrivers40;

-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


More information about the Ros-bugs mailing list