Hello
Firstly, thanks very much to the PA team for releasing Musescore4 as a portable app.
I've noticed a strange (and alarming!) behaviour in Musescore4: whenever I exit the program, all the folders used to store the various user-created files get deleted from my hard drive. They are not available in the recycle bin. I set the Musescore preferences to store files in 'Documents/Musescore4/xxxxx' where 'xxxxx' is 'Scores', 'Styles', 'Templates' etc.
As I say, when I close the program these folders, including the parent 'Musescore4' folder get deleted from the hard drive. Obviously all the files contained therein are also gone. Strangely, when I re-launch Musescore4, the folders and files are returned.
Has anyone else experienced this and/or can anyone shed any light on why this is happening or provide a fix?
Kind regards
Paul vP
That is the expected behaviour, nothing to worry about. It is part of how many of our portable apps work.
Where a particular app doesn't give us an environment variable to redirect where user files/folders are placed the Launcher instead does the following when run:
When you close the portable app the reverse happens:
Thanks very much Ken. I didn't experience this issue with Musescore 3 so I guess it's a 'feature' of the new version :).
A complicating factor for me is that I backup all the files in my Documents folder (including Musescore *.mscz files) to the cloud. Since I have hundreds of *.mszc files, every time I open and close Musescore 4, these files are uploaded to, or deleted from, my cloud service. I guess I'll either just have to live with that or use the installed (non-portable) version of Musescore.
Cheers
Paul
That's not expected. PortableApps used setting environment variables, command line switches or "portable" defaults. No copying needed in most cases.
I've just realised there's something I didn't make clear in my original post:
While I use portable apps whenever possible, I install and run these apps from the fixed hard drive of my PC, not from a USB stick or external drive. Any content I create with these portable apps (e.g. OpenOffice documents; Musescore scores) are saved to the Windows Documents folder, not the Documents folder created by the PA Platform installation.
It is the Musescore content (scores, styles, templates) in the Windows Documents folder that disappears and reappears each time Musescore4 is closed or launched.
Not sure what difference this makes, if any.
Cheers
Paul vP
Hi paulvp,
as Ken explained, that's the way, Portable Apps from this site here are designed. Even if you use it locally on your hard drive (I do that most of the time), the mechanics behind the launcher make no difference to using it on an external drive. The main task of the PA.c-launcher is to prevent normal leftovers, mixing of local settings with the portable ones and adapting paths and drive letters when they change (more). These aspects don't really matter that much when used as a kind of self contained local installation but there is no way so far to tell the launcher to act differently in this situation.
That said - creating a new folder with settings, styles and content on a guest machine definitely needs handling by the launcher as no one wants to leave their files and settings behind when disconnecting the external drive.
But there is an easy fix for your problem. You said that you set the directories to
MuseScore4
inDocuments
, but that is the default that is portablized by the launcher for thr reasons mentioned before.You can easily set another folder -
Musescorecontent
for example - in theDocuments
root for your content manually in the settings. This folder then wil not be handled by the launcher and is persistant after closing MuseScore.Btw. I started using MuseScore4 two weeks ago as local installation and while testing your setup, I found some portablization issues.
This behavior will hopefully be changing shortly with a revision I am working on. I'll keep you in the loop.
Sometimes, the impossible can become possible, if you're awesome!
I know you don't like custom code, but take a look at the MuseScore Portable 2.x code. It has a nice solution for setting defaults.
Rev 2 has been posted which will keep scores, templates, etc within MuseScore Portable itself. It also won't move local scores, templates, etc. The only thing moved back and forth to the local machine now is the Cloud Scores directory as MuseScore has that hard-coded within the local Documents path.
Sometimes, the impossible can become possible, if you're awesome!
Thanks very much John.
Paul vP