Mike <mikeonthecomputer(a)gmail.com>om>:
Add installation path for VMware 5.5. Fixes bug 907.
Modified: trunk/reactos/subsys/system/vmwinst/vmwinst.c
_____
Modified: trunk/reactos/subsys/system/vmwinst/vmwinst.c
--- trunk/reactos/subsys/system/vmwinst/vmwinst.c 2005-10-14
00:03:27 UTC (rev 18434)
+++ trunk/reactos/subsys/system/vmwinst/vmwinst.c 2005-10-14
08:03:14 UTC (rev 18435)
@@ -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;
Show replies by date