Actually, if an operation is going to take a long time, it's a very good idea to show some sort of animation or other indicator that "things are happening," even if it doesn't tell you how long it's going to take.
Without some sort of indicator, if the application is just sitting with an hourglass cursor or whatever, users tend to start getting restless and assuming that it has crashed.