Unhandled Exception: System.TypeInitializationException: The type initializer fo
r 'CmdAceUpdater.Output' threw an exception. ---> System.UnauthorizedAccessExcep
tion: Access to the path 'D:\Game.Stuff\WOW.Stuff\cmdau\conf\CmdAceUpdater.log'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encodin
g, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.CreateText(String path)
--- End of inner exception stack trace ---
at CmdAceUpdater.Output.Info(String Text)
at CmdAceUpdater.CmdAceUpdater.Main(String Args)
I think that has something to do with the new access rights stuff in Vista. Unfortunately I can't test it at the moment as I don't have Vista installed. I'll see what I can do.
Confirming that this crashes under Vista. Doesn't error for me, but instead crashes.
Shame. Just when I thought I could press one button to update instead of five.. :(
edit: It also crashes when listing addons. Could be because WoW is not installed in Program Files.
edit2: I just added a slash directly after the directories and it no longer errors on MOST addons. Instead, it errors on SOME addons. Going to do a bit more looking, hopefully I'll find out why. For now I'll list the addons it errors on: BigWigs, Prat.
WowDir=C:\World of Warcraft\
edit3: It DOES error. Except the very second it errors, Windows closes the program.
edit4: Tried enabling logging - and the error isn't written to the log.
edit5: It also crashes if any of the files in it's own directory are read-only.
edit6: :) I believe I have found the problem. The reason it crashed on the two addons listed above was because they were checked as read-only for some reason. This is the cause of some crashes under vista, apparantly. The other cause is it not being able to detect the WoW directory.
edit7: Request - Allow for a file to specify addons where we do not want to delete before extracting. I'd like to do this for Skinner so I don't have to recopy addon skins to the SkinMe directory.