Sunday, August 05, 2007

Sloth v0.1 works in Windows Vista after all

Hey.

So I was fiddling around a little on my Virtual PC with Vista installed - a strange thing that happened was that when you installed Sloth, it would work. However, if you restarted your machine or otherwise stopped Sloth and restarted it, it would no longer work. No specific error message, just a generic "Well, it just stopped working, see..." thingy.

After reading up a bit online (I don't really use Vista myself yet), I found that the new UAC "feature" of Vista was probably to blame. What happened is that when you started the installer, it asked you for permissions; When you give it the goahead, it installs, then runs Sloth. Sloth sees no config and runs the Wizard. The wizard does it's thing and then starts Sloth. All of this still happening with the permissions you gave the installer that you presumably downloaded off the net.

So, you get sick of Sloth and shut it down, then decide you need to see what's on tonight. You double click it.

"Well, it just stopped working, see..."

Yeah, annoying as hell.

However, if you right click Sloth, and choose "Run as administrator", then it works. What Einstein decided that this was the correct way to handle this issue!? No meaningful error message at all! If it had told me "Well, your program tried to write a log file to \Program files\, which is bad", then at least I could do something about it.

But no, just dying and claiming it was the programs' fault seems like a much better approach.

Anyway, until I get Sloth to behave nicer according to Vista's unknown rules, run it as an admin.

No comments: