View Issue Details

IDProjectCategoryView StatusLast Update
0001214OpenMPT[All Projects] Generalpublic2019-03-16 12:57
Reportermanx Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product VersionOpenMPT 1.29.00.* (current testing) 
Target VersionFixed in Version 
Summary0001214: Remove portable mode from installer
Description

Portable mode has about nothing in common with the regular install procedure. In particular, portable mode does not modify any global or user system state (and it should not), basically making it equivalent to just extracting the files. I think we should default the zip archive distributions to portable mode, and remove portable mode from the installer.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Relationships

related to 0001011 new Automatic update 
related to 0001123 assignedmanx Provide unified multi-arch installer 
related to 0000649 new Re-register MPT instantly 

Activities

Saga Musix

Saga Musix

2019-03-09 22:59

administrator   ~0003894

The problem with making it the default choice of the zip package is that it would have to contain an mptrack.ini and the user would have to remember with each upgrade that they mustn't overwrite their existing mptrack.ini. I have seen this kind of requirement with other (portable) software and I find it way too dangerous to be a sane default.

manx

manx

2019-03-10 07:18

administrator   ~0003895

The portable flag does not need to be stored in mptrack.ini. We can move this information to a totally separate file, like OpenMPT.portableand just check for its existence. Storing it in the configuration file itself is kind of a chicken-egg problem in itself because the portable flag determines where to look for mptrack.ini in the first place (yes, it works, but is somewhat confusing).

harbinger

harbinger

2019-03-11 17:51

reporter   ~0003897

What advantage does one gain by an app using Windows' registry? Will the transition require anything extra?

manx

manx

2019-03-11 17:58

administrator   ~0003898

This issue is not about using the windows registry to store settings. The windows registry is only used by OpenMPT to register file types (for which the registry is the only possible interface).

The transition discussed here is about how OpenMPT remembers whether it stores its data in the user directory (standard system-wide installed mode) or in its own program folder (portable mode), and will not require any extra action by the user.

Saga Musix

Saga Musix

2019-03-11 17:58

administrator   ~0003899

Last edited: 2019-03-11 17:59

View 2 revisions

This report is not about removing portable mode, merely about changing the way it is enabled. There will be no (manual) transition required for existing installations.

edit: manx beat me to it

manx

manx

2019-03-16 12:57

administrator   ~0003903

r11464 move the portable flag to OpenMPT.portable.

Issue History

Date Modified Username Field Change
2019-03-08 15:34 manx New Issue
2019-03-08 15:34 manx Relationship added related to 0001011
2019-03-08 15:34 manx Relationship added related to 0001123
2019-03-08 15:34 manx Relationship added related to 0000649
2019-03-09 22:59 Saga Musix Note Added: 0003894
2019-03-10 07:18 manx Note Added: 0003895
2019-03-11 17:51 harbinger Note Added: 0003897
2019-03-11 17:58 manx Note Added: 0003898
2019-03-11 17:58 Saga Musix Note Added: 0003899
2019-03-11 17:59 Saga Musix Note Edited: 0003899 View Revisions
2019-03-16 12:57 manx Note Added: 0003903