Hi Psygorn,
re:
> I installed Moi V5 just now and when I wanted to open it I ran into some errors.
It looks like those are all coming from startup scripts you have added to the
MoI appdata startup folder.
The problem is that those scripts are depending on modifications that you've made
to the MoI v4 browser pane.
You would get the same errors if you were to try and run a default v4 on your machine
that didn't have your modified browser pane.
There are various ways you can fix this up. Probably the best is since your startup scripts
depend on a specific customized version you should probably set them up to run only with
that version instead of having them in the common appdata folder where all versions will
find them.
To do that make a startup folder inside the install folder for v4 so you have
C:\Program Files\MoI 4.0\startup and move your startup scripts from their current
location in the shared appdata folder (%appdata%\Moi\startup) to the install-specific one.
After you have done that then those startup scripts should only run with that customized
v4 install and other installs of MoI will not see them.
The other options you could do would be to apply the same browser pane mod to the v5
beta so the scripts would be able to find what they are expecting there too, or another option
yet would be to modify the scripts so that they tolerate errors silently which you can do by
putting a try / catch block around the script code like this:
code:
try {
>>> code goes here <<<
} catch(e) {}
> (needless to say I changed some features in Moi V4 but I did not think they could affect V5!)
Things that you add to the central appdata folder will be seen by new versions automatically.
That's so you can do things like install plug-ins there and not need to copy them to individual
install folders with new program releases.
> Edit: When choose the dark theme those error messages appear again! but in dark theme windows.
When you switch themes the UI is reloaded and startup scripts are run again since many startup
scripts involve UI mods.
- Michael