Errors starting VASSAL 3.1.0-beta7

I get these errors when starting 3.1.0-b7:

1232570448574 1366113679 java.io.IOException: Unable to overwrite C:\VASSAL\Preferences
Data stored in C:\VASSAL\temp10.zip
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:450)
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:265)
at VASSAL.preferences.PrefsEditor.write(PrefsEditor.java:232)
at VASSAL.preferences.Prefs.write(Prefs.java:206)
at VASSAL.preferences.Prefs.getGlobalPrefs(Prefs.java:232)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:95)

1232570449040 1366113679 java.io.IOException: Unable to overwrite C:\VASSAL\Preferences
Data stored in C:\VASSAL\temp11.zip
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:450)
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:265)
at VASSAL.preferences.PrefsEditor.write(PrefsEditor.java:232)
at VASSAL.preferences.Prefs.write(Prefs.java:206)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:102)

1232570449080 1366113679 java.io.IOException: Unable to overwrite C:\VASSAL\Preferences
Data stored in C:\VASSAL\temp12.zip
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:450)
at VASSAL.tools.ArchiveWriter.write(ArchiveWriter.java:265)
at VASSAL.preferences.PrefsEditor.write(PrefsEditor.java:232)
at VASSAL.preferences.Prefs.write(Prefs.java:206)
at VASSAL.launch.ModuleManager.(ModuleManager.java:217)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:135)

1232570449082 1366113679 – Starting
1232570449082 1366113679 – OS Windows Vista
1232570449082 1366113679 – Java version 1.6.0_11
1232570449082 1366113679 – VASSAL version 3.1.0-beta7
1232570449090 1366113679 – Manager

Thus spake “Seanicus”:

Most likely your user account doesn’t have permission to write to
C:\VASSAL\Preferences.

How did you install VASSAL, from the generic archive or from the Windows
installer?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

I used the installer…

I uninstalled it and re-ran the installer, as administrator… that seemed to fix it.

Thus spake “Seanicus”:

Hmm. Your Preferences file should not be where the stack trace you posted
says it is, unless you user directory is set to C:. (If your user directory
is set to C:, it really, really shouldn’t be.)

That’s the limit of what I can say about your problem, as I’m not a Vista
user, or even a Windows user. Someone who has a Vista machine (Brent?) will
have to help you from here.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Just as an experiment, I unintalled it again and this time ran the installer (not using the administrator option) using the custom option… instead of installing it C:\VASSAL, as it did when doing the typical install, it defaulted the install directory to C:\Program Files\VASSAL. It ran fine that way, too.

Not sure why the “typical” install option puts in C:\VASSAL.

Thus spake “Seanicus”:

Though I am not a Windows user, I am the person who wrote the Windows
installer, so you have my full attention now.

Are you certain that you did a Typical install the first time? C:\VASSAL
is not supposed to be the default install location.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Quite certain.

Just to be sure, I uninstalled and re-installed using the standard install and got the same result: VASSAL installed to C:\VASSAL.

Let me know if there is anything else I can do to help!

I did a custom install on Vista, but took the defaults except as noted. I did not have an older version except for beta6. I elected to dump beta6 and install beta7.

beta7 now resides under C:\Program Files\VASSAL-3.1.0-beta7\

Thus spake “Seanicus”:

Do other programs go into C:\ instead of C:\Program Files when you install
them? The base install path isn’t hard-coded in our installer—we’re
getting that value from your operating system.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

No, most everything installs to C:\Program Files by default. However, checking C:\ I do notice that a few things have installed there… Diablo II for example.

Thus spake “Seanicus”:

My guess is that you have a bad key in your registry. I’ll see if I can
find the name of the key this evening.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Joel Uckelman:

Have a look in regedit for the key “ProgramFilesDir”. There might be more
than one, I’m not sure. What value does it have?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

There was only one. ProgramFilesDir is set to C:\Program Files.

Thus spake “Seanicus”:

Hmm. In that case, I have no idea why you sometimes get an install into C:.

Has this happened for anyone else?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)