Due to popular demand (
on this thread over here), I've cleaned up and made available my script that can be used to automate the saving of the
HKCU/Software/JRiver/ registry key which contains all of the "settings" for MC11.1 and MC12 that aren't part of the Library itself. Because it saves the entire JRiver key, it will save settings for both MC11 and MC12 (it might even work with older versions if that's where they save their settings too).
Please note: Because MC's registration is machine specific, this script does NOT save the contents of
HKLM/Software/JRiver, and it will not restore your registration information. This must be done manually (like normal) if you do a fresh install or reinstall MC completely.
You can then restore these settings on another computer or on your computer after a un/re-install by simply double clicking on the REG file it creates. The script also saves the REG file it created last time (meaning a backup of the last copy it created) to a file called "previous.reg", so you have the option of "going back one version" if needed.
Click here to download it!Current Version: 1.05
Compatibility and Requirements:This script will work out-of-the-box on any Windows XP computer. It will also work with Windows 2000 if you have the Resource Kit Support Tools from Microsoft installed (these are free). Specificially, it requires the program REG.EXE (which performs the actual saving of the Registry keys).
To download these tools for Windows 2000 SP4 go here:
http://www.microsoft.com/windows2000/downloads/servicepacks/sp4/supporttools.mspxYou can also install the Support Tools directly from your Windows 2000 install disc (though if you don't have a slipstreamed copy of the Service Pack 4 install, then it would be best to use the link above and download the updated versions). Instructions for installing the tools from CD are here:
http://support.microsoft.com/kb/301423If you happen to be running Windows NT or 98/ME, the REG.EXE program is available for those platforms as well. You can download the NT version here:
http://www.petri.co.il/download_free_reskit_tools.htmThere was a version available for 98 and ME in the Resource Kit tools. I haven't found a download specifically for this version of the tool, but you could try the NT one available above as it will likely work. Simply extract it to your System32 directory (inside the Windows directory).
For both Windows NT and Windows 98/ME you will also need to install the latest version of the Windows Script Host utilities. They are available here free from Microsoft:
http://www.microsoft.com/downloads/details.aspx?FamilyId=0A8A18F6-249C-4A72-BFCF-FC6AF26DC390&displaylang=enTo install this script:Simply extract it to C:\scripts\MC_Scripts\. If you want to save it to a different location, you'll need to edit the script to tell it where you put it (this is easy and is documented in the script itself).
To run the script:Simply double click on the MC_Settings-Save.wsf file. You can also start it by going to the Start --> Run and browsing to where you saved the script.
If this doesn't work, you may not have WSH installed (or it may be disabled).
See the instructions below in this thread to reinstall or re-associate it.You'll notice that the script pops up a message box when it's done, telling you that it worked and where it saved the file. This message box conveniently auto-closes after 10 seconds. However, if you don't want it do do this at all (for using it with Scheduled Tasks for example), simply run the script with the /verbosity:off command line option. For example:
C:\scripts\MC_Scripts\MC_Settings-Save.wsf /verbosity:off
If you want to set up a Scheduled Task with this option: 1. Open the Scheduled Tasks dialog (
Start All Programs --> Accessories --> System Tools --> Scheduled Tasks).
2. Click "Add Scheduled Task" and click "Next" in the wizard that appears (it will then take a few minutes to build it's list).
3. Click Browse and navigate to locate where you installed the script. Select it and click "Open" (or double click on the script).
4. Choose how often you'd like to run the script.
5. Choose when you'd like it to run.
6. Enter your account's password twice if needed.
7. Check the "Open advanced properties" box, and click Finish.
8. In the Run box, add the "/verbosity:off" option next to the script's filename (it should look like the command line shown above).
9. Click OK and re-enter your password (twice) if it asks.
If you use MC to do MP3 encoding with LAME:After a re-install (or fresh install) but before you restore your settings, you'll want to go into MC and go to Tools --> Options --> Encoding and select MP3 encoder at least once. This is because the first time you choose MP3 Encoder, MC downloads and installs LAME. If you just restore your settings without doing that first, MC will get confused because it won't have installed LAME (but because of the settings restore it already "thinks" it already has). Once you do this, you can close MC and restore your settings.
If you forget to do this, just go into Tools --> Options --> Encoding and set one of them to something else (like APE) and then close out of the Options dialog. Open it back up again and re-select MP3 and it should properly download and install LAME that time.
To restore your settings saved with this script:1. Make sure MC is closed!2. Go to the folder where you installed the scripts.
3. Locate the file called "current.reg". This file will contain the settings from the most recent time you ran the script. Once you've run the script more than once, there will also be a file called "previous.reg", which contains the settings from the previous time you ran the script (which serves as a backup).
4. Double click on the "current.reg" file and answer yes when Windows asks if you're sure.
5. You should see the results immediately the next time you open MC.
If you have any questions, just ask!