View Issue Details

IDProjectCategoryView StatusLast Update
0010759MMW v4Install/Configpublic2013-12-06 03:07
Reporterpeke Assigned To 
PriorityurgentSeverityfeatureReproducibilityN/A
Status feedbackResolutionopen 
Product Version4.1 
Target Version4.1.1 
Summary0010759: Portable: There should be a way for easier set Portable MMW
DescriptionCurrently, MMW portable is defined by existence of Portable subfolder and MediaMonkey.ini containg [Portable] IsPortable=1

When user wants to use existing settings in testing newest MMW version by copying http://www.mediamonkey.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=17 to portable folder MMW do not start as portable but as regular version due teh fact that [Portable] IsPortable=1 is missing.

1. It could nice that MMW asks/notes user that Portable folder exists (along with INI and DB) let user decide if he want to import that folder and start MMW as portable or to continue

2. Due the possible Regression while Importing settings from 1. DBName Setting in INI File should be deleted or at least ignored.
TagsNo tags attached.
Fixed in build

Relationships

related to 0010680 closedLudek Removing Portable ini creates new one in standard install location 
related to 0010766 resolvedLudek Upgrade to build 1633 can start as portable (regression) 
related to 0011514 closedLudek Portable: MMW is not started as portable (regression) 

Activities

Ludek

2013-04-21 14:45

developer   ~0035716

Ok, so maybe just existence of the Portable folder could indicate the portable version.

peke

2013-04-22 03:14

developer   ~0035719

Not just Folder, to be sure, beside existing criteria I would Add
"If Portable folder exists and contain mediaMonkey.ini and MM.DB then add [Portable] IsPortable=1 to MediaMonkey.ini and start MMW Portable"
OR Just
"If Portable folder exists and contain mediaMonkey.ini and MM.DB then start MMW Portable"

Ludek

2013-04-22 09:43

developer   ~0035722

Last edited: 2013-04-22 09:43

Fixed in build 1633.

If Portable folder exists and contains mediaMonkey.ini then MMW is started in Portable mode.

i.e. [Portable] IsPortable=1 is no longer relevant.

peke

2013-04-22 18:41

developer   ~0035726

Last edited: 2013-04-22 19:33

Few more tweaks to add and to ensure that no regressions are made and make this more straight forward:
3. If MMW started as portable [Portable] IsPortable=1 is forced in MediaMonkey.ini

4. If MediaMonkey.ini contains [Portable] IsPortable=1 and INI is not loaded from Portable folder
a) MMW ignores setting
b) MMW loads/creates MM.DB in Same folder. This will render better support of /INI command line and mediaMonkey.ini which do not contain DBName set

Ludek

2013-04-23 09:34

developer   ~0035730

I reduced the portable mode detection. Currently if the 'Portable' subfolder exists, then MM runs as portable. If the folder doesn't exist, it runs as normal version.

This resolves also 0010680

Ludek

2013-04-24 08:54

developer   ~0035747

Last edited: 2013-04-24 09:13

Reverted, it casued a regression: 0010766

If MM is installed as portable and then subsequently as normal version to the same folder, the starter needs to know that MM is no longer portable, this is via
[Portable] IsPortable=0 in /Portable/MediaMonkey.ini where installer has written the info.

Ludek

2013-04-24 09:47

developer   ~0035751

Last edited: 2013-04-24 09:51

OK, so the solution could be that if MM is installed as portable and first time run, it should offer user to import the DB/settings from the standard version.

i.e.
- install MM portable and run
- Dialog appears:

'MediaMonkey has detected that you have already run a non-portable version of MediaMonkey on this computer. Do you wish to import data and settings from that version?'
[Yes] [No]

OR even better we should try to integrate this into the first time run wizard?

rusty

2013-12-04 23:56

administrator   ~0038495

Sounds good.

peke

2013-12-06 03:07

developer   ~0038546

Last edited: 2013-12-06 03:09

Assigned to me as there are still some cases where it is confusing which MMW version should be started. Due the various fixes and implementations in related bugs.