So, I use my portable install in a few places. and now it's crashing on one of the computers. So I went looking in the INI file and it says an absolute path for E:\ like for the virtual CD path- When starting up, the E drive on this laptop is a CD rom, and the whole thing blows up.
Yes, it's a portable install-
Portable Install Path Problem
Moderator: Gurus
-
PeterleB
Re: Portable Install Path Problem
You have to use relative pathes like "\mediamonkey\portable\temp".
I installed MediaMonkey on a 500 GB external USB-HDD with all my mp3 music and start it with an link in the root of the hdd.
MediaMonkey.ini in (E:)\MediaMonkey\Portable\
::::
TempDir=\MediaMonkey\Portable\Temp\
CacheDir=\MediaMonkey\Portable\VirtualCD\
PreviewDir=\MediaMonkey\Portable\Previews\
::::
Works fine

I installed MediaMonkey on a 500 GB external USB-HDD with all my mp3 music and start it with an link in the root of the hdd.
MediaMonkey.ini in (E:)\MediaMonkey\Portable\
::::
TempDir=\MediaMonkey\Portable\Temp\
CacheDir=\MediaMonkey\Portable\VirtualCD\
PreviewDir=\MediaMonkey\Portable\Previews\
::::
Works fine
Re: Portable Install Path Problem
I had a similar issue creating a portable install for testing. I'm on Windows XP. Installer won't proceed unless I'm logged in as Administrator, even tho I'm making a portable. When I select "Portable" the path changes to "\MediaMonkey". I edited that to set the drive.
After installing, I tried to run as user and it kept throwing errors at me, 'Unable to create C:\Documents and Settings\Administrator\Local Settings\Application Data\..." for the VirtualCD and Preview and maybe something else.
To fix it, I went in to the portable's MediaMonkey.ini and changed all occurrences of "Administrator" to "All Users", but I still had to create that Local Settings folder as Administrator and then open it up to write access for all users. This includes CommonImagesFolder, Glb_DownloadLocation, [Last.fm]path, [PodcastMasks]Mask1,
Whereas, TempDir, UPNP_CacheDir, [DownloadMasks]Mask1 are all initialized with F: paths -- even tho, if I moved this installation to another computer, it might well be on a different drive letter.
1) Couldn't the creation of MediaMonkey.ini for a portable specify some useful paths instead of hardcoding for C: or <drive> paths? Definitely use relative paths for the things that need to be with the installation.
2) Couldn't the installer wait until "Portable" was specified, or not, before complaining that I'm not an Administrator?
3) Does anyone use Virtual CD or Previews? These seem like highly marginal features that might be better implemented as plugins. I don't even understand these features well, but are they at all useful on a portable installation? Can they simply be disabled for portable?
And why is there a last.fm section in my portable-install? Why is last.fm toolbutton showing up when I run the portable install? I don't have that plugin installed as part of the portable installation.
It seems the installer looking at the existing hard-disk installation and copying info over; shouldn't it be completely independent of what's on the disk?
After installing, I tried to run as user and it kept throwing errors at me, 'Unable to create C:\Documents and Settings\Administrator\Local Settings\Application Data\..." for the VirtualCD and Preview and maybe something else.
To fix it, I went in to the portable's MediaMonkey.ini and changed all occurrences of "Administrator" to "All Users", but I still had to create that Local Settings folder as Administrator and then open it up to write access for all users. This includes CommonImagesFolder, Glb_DownloadLocation, [Last.fm]path, [PodcastMasks]Mask1,
Whereas, TempDir, UPNP_CacheDir, [DownloadMasks]Mask1 are all initialized with F: paths -- even tho, if I moved this installation to another computer, it might well be on a different drive letter.
1) Couldn't the creation of MediaMonkey.ini for a portable specify some useful paths instead of hardcoding for C: or <drive> paths? Definitely use relative paths for the things that need to be with the installation.
2) Couldn't the installer wait until "Portable" was specified, or not, before complaining that I'm not an Administrator?
3) Does anyone use Virtual CD or Previews? These seem like highly marginal features that might be better implemented as plugins. I don't even understand these features well, but are they at all useful on a portable installation? Can they simply be disabled for portable?
And why is there a last.fm section in my portable-install? Why is last.fm toolbutton showing up when I run the portable install? I don't have that plugin installed as part of the portable installation.
It seems the installer looking at the existing hard-disk installation and copying info over; shouldn't it be completely independent of what's on the disk?