Truly portable installation? [#12739]

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Truly portable installation? [#12739]

Post by KyleHx »

My installation = 4.1.7.1741 (Portable Mode)

I went through my .INIs after re-installing, and found a few pointers that reference a directory on the main drive. If I copy these to my network share, they won't work. Obviously, I can manually edit the ones I find, but, also obviously, there's a bit of a hiccup here. I guess some of the pointer-fixes would have to be done by addon developers.

But, in the meantime, can I use some sort of relative reference for these?
For example, instead of "C:\!apps\MediaMonkey" can I enter "\!apps\MediaMonkey" ??

This is what I found:

MediaMonkey.ini
[System]
WinampPath=C:\Program Files\Winamp\WinAmp.exe
[MonkeyRok]
TempDir=C:\!apps\MediaMonkey\Portable\Temp\

Extensions.ini
[MagicNodes]
ConfigurationScript=C:\!apps\MediaMonkey\Scripts\Auto\MagicNodes.vbs
[RegExpReplace]
ConfigurationScript=C:\!apps\MediaMonkey\Scripts\Auto\RegExpReplace.vbs
[300091 Lyricator]
#ConfigurationScript=C:\!apps\MediaMonkey\Scripts\Auto\lyricator.vbs
[Trucking Monkeyrc3s]
Description=Button id's in C:\1 Trucking Monkey

==============================
Also, I do have WinAmp installed, so why do I have a WinAmp.exe in the MediaMonkey directory?
For the portable-installation, should I copy WinAmp's own exe into MediaMonkey,
and not have any pointers to a WinAmp directory?
Lowlander
Posts: 58878
Joined: Sat Sep 06, 2003 5:53 pm

Re: Truly portable installation?

Post by Lowlander »

All but WinAmp come from MediaMonkey, that shows the same here. WinAmp.exe is a dummy file that is needed to trick WinAmp plugins to install in the MediaMonkey directory (some WinAmp plugins require winamp.exe to install).

As long as you don't set the Player to WinAmp this Path should be irrelevant and not cause any problems.
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

I think this is related ...
I'm still trying to detail files & all, and searching MM's forums.

I came across notes for this for mm.db:
[System]
DBName=

and I'm wondering if there is a corresponding option for the MediaMonkey.Registry file.

It might be quite useful in my tracking/debugging.
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

and a follow-up:

I went back to check my registry, and found that MM is still writing there.
The file MediaMonkey.Registry was installed, seemingly properly. I tried playing with it, but couldn't figure out why the edits I was making weren't having any effect, good or bad. It turns out that this "Portable" installation is still writing to (and reading from) the registry, at least for some things that should be in MediaMonkey.Registry.

The bulk of it seems to be under:
[HKEY_CURRENT_USER\Software\MediaMonkey]
I tried shutting down MM, deleting the entire registry key, and re-starting MM.
Sure enough, the key was recreated .. and MediaMonkey.Registry (or parts thereof) were being ignored.

So, where is MediaMonkey telling itself to use MediaMonkey.Registry instead of the Windows registry?
If I could find that pointer, maybe I could stabilize things somewhat.
Any info would be appreciated.
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

Sorry, getting discombobulated.
Should have said ...
My MediaMonkey.ini DOES have:
[Portable]
IsPortable=1
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

Also, the registry key
[HKEY_CURRENT_USER\Software\MediaMonkey]
is NOT being created as an empty/null entry.
It's fully populated, plus, as I said, edits to MediaMonkey.Registry aren't getting picked up (plus the file date-stamp doesn't change) when I make edits (like column order/size in detail view).
Lowlander
Posts: 58878
Joined: Sat Sep 06, 2003 5:53 pm

Re: Truly portable installation?

Post by Lowlander »

DBName is something you can add for a custom DB location: http://www.mediamonkey.com/support/inde ... e-location
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

I was saying that I found the DBName= option in the forums, and was wondering if there might be a comparable option for the MediaMonkey.Registry file. I was hoping that might force my portable-installation to actually use that file, since what's happening now is that the Windows registry key [HKEY_CURRENT_USER\Software\MediaMonkey] is getting the writes.
Lowlander
Posts: 58878
Joined: Sat Sep 06, 2003 5:53 pm

Re: Truly portable installation?

Post by Lowlander »

Then you may not be running a Portable Install anymore. I believe that somethings do get written to the Windows registry, but everything else is written to the .registry file if you're running a Portable Install.
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

Yeah, I'd been getting to that point of view myself. I copied out my critical files, and in the middle of a complete wipe for a re-install. Maybe you know: I've looked for anything in the registry I consider a major key, and don't bother with file-association type-things (I'd be days deleting those). Is there anything else critical I should look at before I re-install? (I did a whole system search for mm.db & mediamonkey*.* and came up with some wild locations from really old installations.)
Lowlander
Posts: 58878
Joined: Sat Sep 06, 2003 5:53 pm

Re: Truly portable installation?

Post by Lowlander »

I'd follow: http://www.mediamonkey.com/support/inde ... ediamonkey and run a registry cleaner (like CCleaner) after everything has been uninstalled/removed.
MMFrLife
Posts: 2894
Joined: Fri Oct 26, 2012 9:04 pm
Location: MM Forum

Re: Truly portable installation?

Post by MMFrLife »

You may also be interested in this thread:
viewtopic.php?f=1&t=69203&p=400333&hilit=+littered#p400333

After you re-install let me know if you still see it using the registry where you think it should be using the .registry.
MM user since 2003 (lifetime lic. 2012) "Trying to imagine life without music gives me a headache"
Top 2 scripts: RegExp Find & Replace (e.v.) and Magic Nodes (e.v.) ZvezdanD's scripts site
Please take a moment to read the bottom of the linked page to support the one and only - ZvezdanD! (the "originator" since 2006).
MMW 4.1.31.1919; 5.0.4.2690 || back it up...frequently!
|| software for power users: "Q-Dir" (free alt. to explorer) and file/folder renamer: "ReNamer" (den4b)
"The absurd is the essential concept and the first truth"
😜
terrypin
Posts: 945
Joined: Mon May 10, 2004 7:48 am

Re: Truly portable installation?

Post by terrypin »

For really thorough uninstalling (if you go down that route) I've had excellent results from Revo Uninstaller (the free version).
http://www.revouninstaller.com/

It frequently surprises me just how many additional files and registry entries it flags for deletion, after the regular uninstall has 'finished'.
Terry, East Grinstead, UK
MM 5.0.2.2532 (Gold), i7 4.0 GHz running Win 10 Pro
MM 4.1.31.1919 (Gold)
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

Well, I did a full wipe.
Unfortunately, I didn't check back here soon enough to pick up what looks like some very useful info from a lot of regulars. So thanks to Lowlander, MMFrLife, and terrypin. I have already saved your pointers for the next go around.

I gathered a bit of info that I think might be useful, or at least interesting, since I've seen more than a few posts about portability issues - esp. registry entries & drive-letter references. So, here it is.

This is after a major clean-up. I used Windows add/remove, and regedit, and manually deleted all MM files from the hard drive. The primary key name was completely deleted and constantly monitored. That's HKEY_CURRENT_USER\Software\MediaMonkey

And I'm using MediaMonkey_4.1.7.1741 (2015-04-28).exe, and installing as portable.
The last installation was an attempt to overwrite a non-portable installation with a portable one, without doing a real clean-up first, and mostly that was just a bad mistake -- essentially, the "portable" copy of MM ignored its own MediaMonkey.Registry and used the Windows registry key HKEY_CURRENT_USER\Software\MediaMonkey for tons of stuff.

======================================================
..install creates null registry entry:

[HKEY_CURRENT_USER\Software\MediaMonkey\Interface\V4]

..run creates null registry entries:

[HKEY_CURRENT_USER\Software\MediaMonkey\Interface\V4\Splitters]
[HKEY_CURRENT_USER\Software\MediaMonkey\Interface\V4\Toolbars]

..and these non-null entries:

[HKEY_CURRENT_USER\Software\MediaMonkey\Interface\V4\Forms\FMainWindow]
"State"=dword:00000000
"Left"=dword:00000019
"Top"=dword:00000019
"Width"=dword:000003cc
"Height"=dword:00000258

[HKEY_CURRENT_USER\Software\MediaMonkey\StatusBars]
"Bar10Minimized"=dword:00000001
"Bar0Minimized"=dword:00000001

[HKEY_CURRENT_USER\Software\MediaMonkey\Device\iRiver H]
"UpdateAfterAutoSync"=dword:00000001
"UpdateAfterAnyOp"=dword:00000000
"UpdateOnlyNew"=dword:00000000
"TruncateFilenames"=dword:00000000
"DBUnicode"=dword:00000001

[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys]
..with 72 sub-entries of format:
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\###]
..where "###" is actually: 1048577 thru 65621

----------------------------------------------------
HotKeys details:
----------------------------------------------------
..Hotkeys sub-entries all have 4 lines
"ActionId"=dword:########
"ActionTypeId"=dword:########
"Global"=dword:########
"MenuShortcut"=dword:########
----------------------------------------------------
..values found:
"ActionTypeId"=dword:00000001
"ActionTypeId"=dword:00000002
"ActionTypeId"=dword:00000003
"ActionTypeId"=dword:00000006
"ActionTypeId"=dword:00000007
"ActionTypeId"=dword:0000000b
----------------------------------------------------
"Global"=dword:00000000
"Global"=dword:00000001
----------------------------------------------------
"MenuShortcut"=dword:00000000
"MenuShortcut"=dword:00000001
----------------------------------------------------

For "ActionId" there were 65 different values.
I don't know if it's significant, but I thought it interesting that there were so many,
yet not an exact match between the counts: 72-entries but 65-values.

"ActionId"=dword:########
..in the 72 lines, there are 65 different entries, from:
"ActionId"=dword:00000001
..thru
"ActionId"=dword:00000081

The "ActionID" values that are duplicated are:

"ActionId"=dword:00000004
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\179]
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\32]
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\65616]

"ActionId"=dword:00000007
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\178]
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\65615]

"ActionId"=dword:00000008
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\177]
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\65602]

"ActionId"=dword:00000009
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\176]
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\65614]

"ActionId"=dword:0000000a
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\1048625]
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\39]

"ActionId"=dword:0000000b
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\1048626]
[HKEY_CURRENT_USER\Software\MediaMonkey\Hotkeys\37]
======================================================

looking for non-portable type entries in MM's files:

MediaMonkey.ini
[System]
WinampPath=C:\Program Files\Winamp\WinAmp.exe
[MonkeyRok]
TempDir=C:\!apps\MediaMonkey\Portable\Temp\\

MediaMonkey.Registry = NONE

Scripts.ini = NONE

Extensions.ini
[MagicNodes]
ConfigurationScript=C:\!apps\MediaMonkey\Scripts\Auto\MagicNodes.vbs
[RegExpReplace]
ConfigurationScript=C:\!apps\MediaMonkey\Scripts\Auto\RegExpReplace.vbs
[300091 Lyricator]
#ConfigurationScript=C:\!apps\MediaMonkey\Scripts\Auto\lyricator.vbs
[Trucking Monkeyrc3s]
Description=Button id's in C:\1 Trucking Monkey
======================================================

also looked for C: in Tools | options

MonkeyRok Settings
Temp Directory
C:\!apps\MediaMonkey\Portable\Temp\
Downloads/Podcasts
Default download location:
C:\!apps\MediaMonkey\Portable\Downloads\<Artist>\<Album>\<Title>
Download podcasts to:
C:\!apps\MediaMonkey\Portable\Podcasts\<Album>\<Title>
Media Sharing (UPnP/DLNA)
Cache auto-converted content to:
C:\!apps\MediaMonkey\Portable\Temp\Transcoded_Media_Files
======================================================

I have exported [HKEY_CURRENT_USER\Software\MediaMonkey] from RegEdit many times, now,
and it has NOT changed since all of the initial installation/configuration work.
So, it's looking clean.

So, that's it for now.
Next step is to copy in the old mm.db and try to incorporate some of the old
manual edits to .INIs that I've gathered (mostly from MM's forums) over the years.

Wish me luck!
KyleHx
Posts: 49
Joined: Fri Mar 13, 2015 11:09 am

Re: Truly portable installation?

Post by KyleHx »

add'l non-portable entries, after running

[TweakMonkey]
DBName_previous=C:\!apps\MediaMonkey\Portable\MM.DB
Post Reply