by mcow » Sat May 05, 2012 12:43 pm
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?
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?