GalacTek
06-14-2004, 02:45 PM
Now that we have just sent out 5K CD's to all our clients. Can anyone tell me why this does not work with windows 98. It seems to not search the drives like it does with 2000 and XP. All our our clients running windows 98 now get the wrong page displayed and our help desk is hammered walking users on manually running the update off the CD. I understand this is our fault for not testing the CD more thoughtly.
What happens is it searches all the drives looking for \\mpn\\eclipse32.exe, if not found it displays the new install page. If found then it displays 1 of two pages depending the entry in the ini. It seems that Windows 98 skips all this code. This action is on the pre-load on the main page. The code below works great on 2000/XP/NT4. This code will not work on 98. I need to know why or maybe another way of doing it.
drives = Drive.Enumerate();
min = 1; -- The number to start at
max = Table.Count(drives); -- The number to stop at
for count = min, max do
--Dialog.Message("ll",drives[count]);
exists = File.DoesExist(drives[count].."\\MPN\\eclipse32.exe");
if exists then
-- file exists, check the value then jump based on that
eclini = INIFile.GetValue(drives[count].."\\MPN\\eclipse.ini", "SETTINGS", "ECLIPSE_DATABASE_VERSION");
eclini = String.ToNumber(eclini);
if eclini >= 9 then
Page.Jump("Update V9");
else
Page.Jump("Update V8 to V9");
end
end
end
What happens is it searches all the drives looking for \\mpn\\eclipse32.exe, if not found it displays the new install page. If found then it displays 1 of two pages depending the entry in the ini. It seems that Windows 98 skips all this code. This action is on the pre-load on the main page. The code below works great on 2000/XP/NT4. This code will not work on 98. I need to know why or maybe another way of doing it.
drives = Drive.Enumerate();
min = 1; -- The number to start at
max = Table.Count(drives); -- The number to stop at
for count = min, max do
--Dialog.Message("ll",drives[count]);
exists = File.DoesExist(drives[count].."\\MPN\\eclipse32.exe");
if exists then
-- file exists, check the value then jump based on that
eclini = INIFile.GetValue(drives[count].."\\MPN\\eclipse.ini", "SETTINGS", "ECLIPSE_DATABASE_VERSION");
eclini = String.ToNumber(eclini);
if eclini >= 9 then
Page.Jump("Update V9");
else
Page.Jump("Update V8 to V9");
end
end
end