Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2003
    Location
    Spring Hill, FL
    Posts
    63

    Need Action-Files search help

    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

  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    The problem is that Drive.Enumerate() returns the drives in the format C:\ as stated in the docs. Then when you add "\\MPN\\eclipse32.exe" to it it becomes:

    C:\\MPN\eclipse32.exe

    which is invalid on Win 9x. Windows NT+ has always accomodated that syntax but 98 doesn't like it. I've been bitten by it more than once in C++ myself if that makes you feel any better.

  3. #3
    Join Date
    Oct 2003
    Location
    Spring Hill, FL
    Posts
    63
    I would like to thank you and Adam. that solved my problem. I have done many really cool things with SF & AP. Not being any type of a programmer I would have never known about. Adam was great when he helped me put this together we keep testing to get it right. As Stated it's my fault for not testing on 98... Go to show never assume.

  4. #4
    Join Date
    Jan 2000
    Posts
    2,002
    This thread reminded me of something that I keep meaning to mention. ANYONE out there that releases ANY kind of software (or even videos, documents, etc.) to unknown system configurations should check out Microsoft Virtual PC 2004.

    You can get a free 45 day trial from the MS Web site. This little gem alows you to run completely protected, isolated Virtaul Machines. We have setup all of our testers and tech support folks with it and plan to put it on all of our development machines soon. In fact, GalacTek, Adam used this program to confirm and find your bug today. All you do is run the Virtual PC and have Windows 98 (or any other OS) running in a Window or full screen and run all of the tests you want. Then just shut it down. Next time you come back, it is "clean" again.

    Again, this will save you $$$, time and reputation, I can almost guarantee it. I don't often plug other pieces of software on these forums, but this one is a must buy.

  5. #5
    Join Date
    May 2004
    Location
    Vancouver, BC, Canada
    Posts
    87

    Sounds awesome...

    Sounds like a tool that every developer needs, I'll check it out.

    Thanks Brett,
    Itamar.

  6. #6
    Join Date
    May 2004
    Location
    Vancouver, BC, Canada
    Posts
    87

    Brett, Virtual Pc is awesome!

    We should open a new Theard to discuss our debuggin methods and tools.

    Itamar.

  7. #7
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    That's a great idea, feel free to go into the "Computer Chat" forum and start a thread called, "Discussion on Favorite Debugging Tools and Usage". That thread will stay there and become an ongoing conversation for years to come.

    I'd start it but I've never used a debugging tool, sounds cool though.

    Corey Milner
    Creative Director, Indigo Rose Software

Similar Threads

  1. 2 BUGS...Internet Download action and File Search Action
    By Martin_SBT in forum AutoPlay Media Studio 4.0
    Replies: 3
    Last Post: 07-08-2003, 08:30 AM
  2. Replies: 2
    Last Post: 01-13-2003, 01:00 AM
  3. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM
  4. SUF 6.0 - Action, Delete files
    By Romahe in forum Setup Factory 6.0
    Replies: 4
    Last Post: 04-03-2002, 03:08 PM
  5. SUF6.0.0.2 -- installer hangs.
    By jassing in forum Setup Factory 6.0
    Replies: 4
    Last Post: 12-19-2001, 11:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts