MUSHclient 3.80 installer is mildly borked!

Posted by j0nas on Sat 09 Sep 2006 08:00 PM — 3 posts, 15,144 views.

#0
I noticed today when installing MUSHclient 3.80 that the installer dumps some files in the right directory, and some in the wrong one. I'm guessing a stray old registry-key is being used somewhere in the installer or something, as I've installed MUSHclient in that directory before(the one that's now the wrong dir.).


Directories:
C:\Program\SavedApps\MUSHclient3.80\ = right(chosen) directory
C:\Program\Saved Apps\Mushclienta\MUSHclient\worlds\plugins = wrong directory

Log:
Quote:
Output folder: C:\Program\SavedApps\MUSHclient3.80
Created uninstaller: C:\Program\SavedApps\MUSHclient3.80\uninstall.exe
Extract: readme.txt
Extract: mushclient.exe
Extract: lua5.1.dll
Extract: lua5.1.lib
Extract: mushclient.hlp
Extract: mushclient.cnt
Extract: mushclient.ico
Extract: tips.txt
Extract: Example_Filters.lua
Extract: names.txt
Extract: "license.txt"
Output folder: C:\Program\SavedApps\MUSHclient3.80\spell
Extract: accent.tlx
Extract: correct.tlx
Extract: ssce.hlp
Extract: ssceam.tlx
Extract: ssceam2.clx
Skipped: userdic.tlx
Output folder: C:\Program\SavedApps\MUSHclient3.80
Extract: SSCE5232.dll
Output folder: C:\Program\SavedApps\MUSHclient3.80\docs
Extract: RegularExpressions.txt
Extract: mersenne_twister.txt
Extract: lua_license.txt
Output folder: C:\Program\SavedApps\MUSHclient3.80\fonts
Extract: banner.flf
Extract: big.flf
Extract: block.flf
Extract: bubble.flf
Extract: digital.flf
Extract: lean.flf
Extract: mini.flf
Extract: script.flf
Extract: shadow.flf
Extract: slant.flf
Extract: small.flf
Extract: smscript.flf
Extract: smshadow.flf
Extract: smslant.flf
Extract: standard.flf
Extract: term.flf
Create folder: C:\Program\SavedApps\MUSHclient3.80\scripts
Create folder: C:\Program\SavedApps\MUSHclient3.80\lua
Output folder: C:\Program\SavedApps\MUSHclient3.80\lua
Skipped: addxml.lua
Skipped: check.lua
Skipped: declare.lua
Skipped: getlines.lua
Skipped: pairsbykeys.lua
Skipped: serialize.lua
Skipped: tprint.lua
Skipped: var.lua
Skipped: wait.lua
Output folder: C:\Program\SavedApps\MUSHclient3.80\scripts
Skipped: exampscript.vbs
Skipped: exampscript.js
Skipped: exampscript.pl
Skipped: exampscript.pys
Skipped: exampscript.lua
Extract: MUSHclient.tlb
Output folder: C:\Program\Saved Apps\Mushclienta\MUSHclient\worlds\plugins
Extract: constants.vbs
Extract: constants.js
Extract: constants.pl
Extract: constants.pys
Extract: constants.lua
Extract: plugin_list.xml
Extract: plugin_summary.xml
Extract: random_socials.xml
Extract: sample_plugin.xml
Extract: scan.xml
Extract: msp.xml
Extract: reverse_speedwalk.xml
Extract: SMAUG_automapper_helper.xml
Extract: multiple_send.xml
Extract: idle_message.xml
Extract: mush_teleport.xml
Extract: ColourNote.xml
Extract: NewActivity.xml
Extract: MudDatabase.xml
Extract: chat.xml
Extract: health_bar.xml
Extract: JScript_Version.xml
Extract: perlscript_version.xml
Extract: python_version.xml
Extract: VBscript_Version.xml
Extract: ANSI_Log.xml
Extract: Hyperlink_URL.xml
Extract: Gag.xml
Extract: Status_Bar_Prompt.xml
Extract: Timer.xml
Extract: ShowActivity.xml
Output folder: C:\Documents and Settings\j0nas\Start-meny\Program\MUSHclient
Create shortcut: C:\Documents and Settings\j0nas\Start-meny\Program\MUSHclient\MUSHclient.lnk
Create shortcut: C:\Documents and Settings\j0nas\Start-meny\Program\MUSHclient\Read Me.lnk
Create shortcut: C:\Documents and Settings\j0nas\Start-meny\Program\MUSHclient\Uninstall MUSHclient.lnk
Completed

Australia Forum Administrator #1
The behaviour is by design, although of course it is not by design to annoy you. :)

What it does is use the existing Registry key, if any to install into certain directories. The logic is that if you choose a non-standard place to put things (plugins in a special place, for example), then you want future versions to go into the same place.

This breaks down a bit if you remove the old directory, because then half is in one place and half in another.

Things currently installed in the custom locations are:

  • Main installation directory (which you can change when installing).
  • World files directory
  • Plugins directory
  • Log files directory


Also, the spell-check files go into the "spell" directory under the installation directory, however the spell checker software itself remembers where the spell check dictionaries are, so if you have changed installation directories, then the spell check files might go into a different place to where it is looking for them.

My suggestion, if you have installation problems, is to do an uninstall of MUSHclient, and then reinstall. The uninstall clears out the registry entries, and after that you have a "fresh install" including newly setup registry keys.

Be warned that the uninstall will:

  • Remove all registry entries for MUSHclient (including items below)
  • Remove your program registration code, so make sure you have a copy handy.

    If you want to retrieve the registration code from the registry first, it is at:


    HKEY_CURRENT_USER\Software\Gammon Software Solutions\MUSHclient\Registration\Registration Code

    HKEY_CURRENT_USER\Software\Gammon Software Solutions\MUSHclient\Registration\User Name

  • Remove your "global preferences", including things like worlds to open at startup, General preferences, global plugins to load, Lua sandbox code. Save or write these down if you want to keep them.
  • Remove the files it installed (eg. standard plugins, standard script files). If you have modified the supplied files (eg. changed a plugin, modified the example scripts), then make a copy first.

#2
That explains and solves my problem, at least until next I move the MUSHclient-folder and forget all about this. ;) Thanks!