Mushclient error on install (v4.02)

Posted by Indradragon on Tue 24 Jul 2007 09:20 AM — 8 posts, 28,692 views.

#0
I recently downloaded v4.02 (several times to make sure I had a good copy). When I go to install, when it gets to the portion that unpacks everything into the world directories, it errors out with the following message:

Error opening file for writing:
".\worlds\plugins\constants.vbs"
It then asks if I want to abort, retry or ignore. If I ignore, it does it for every subsequent file thereafter.

I have a screen capture here:

http://omglolbah.net/uploads/musherror.JPG

Indra of Lensmoor
#1
ok. I have fixed the error. It seems that the installer does not like previous registry entries. I had to manually delete them. It might be a good idea to have the installer overwrite previous registry keys
Australia Forum Administrator #2
It tries to save your files into the location you previously specified. If you have deleted that location it has problems.

I suggest if you are going to do that, to uninstall and then reinstall.
USA #3
Everything I've ever seen Nick write about how to upgrade MUSHclient involves uninstalling it, and then reinstalling it.
Netherlands #4
I've never had issues installing over old installations in the same (default) installation directory. I've tried that tactic ever since 3.60 somewhere.
USA #5
I've frequently just overinstalled on my system as well with no adverse effects. It's just not the recommended way to do upgrades to MUSHclient, so there is no fault with the installer on the chance that something does go wrong. If a program's instructions say "Don't do this" and then you go and do it, there really isn't any guarantee that it will work as you had intended.
Australia Forum Administrator #6
I don't think I say that you *must* uninstall before reinstalling. Like most software, you can safely upgrade into the same location as before.

I recommend making backups of important things (like your scripts and world file), just in case. Also, if you have edited the example script files to make them your "real" script files, they will be overwritten during the install (by the latest examples).

What the MUSHclient installer does is use the Registry to helpfully try to put your upgrade into the same directory as your earlier installation. It also tries to recreate any missing directories (eg. if "C:\Program Files\MUSHclient" does not exist, it creates it).

However I think what happens is that if you have moved your plugins directory around (eg. "D:\Plugins"), and then deleted that directory, the installer does not notice that the directory has disappeared and you get the error message about not being able to create the constants files.

Two techniques should allow a trouble-free install:

  • Uninstall first, which removes the entries from the Registry, so that effectively it becomes a "clean install".

    - or -
  • Always install into the same place. It probably helps to use Global Preferences to make things like the Plugins directory an absolute path (eg. "C:\Program Files\MUSHclient\Worlds\Plugins" rather than a relative path).
#7
I understand uninstalling an reinstalling. This wasn't upgrading an old copy though. This was a 'fresh' install.
Mushclient had never been on this system, as it is a new computer.

When I attempted to install it for the first time, it errored out. It wasn't even in the program list to uninstall. I just happened to look through my registry and saw files there. I deleted the ones that were there. It
still errored out. I had to delete the files in the registry, reboot, and then it worked. I am not sure why this happened.