Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 26

Hybrid View

  1. #1

    Question Moving out of "Documents and Settings"?

    I just yesterday used some time and "upgraded" from 6.5 to 7.0 and are mostly happy with the outcome. However, the moving of prefs and DB to "Documents and Settings" is really a bad thing for me so I wonder how I can move it back?

    BTW! I didn't mean the thumbs down icon, edited the post, but it still shows. I mistook it for a questionmark )
    Last edited by Terje; 2008-01-19 at 13:28.
    //Terje.tel

  2. #2
    No way around this?
    //Terje.tel

  3. #3
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493
    c:\program files\squeezecenter\slim.exe --help

    consider using the --prefsdir and --cachedir options for the command line (edit the shortcut) or service (you should be able to edit the args in the services control panel).

    I can't recall if the db goes in the cache or not, because I use an existing mysql server. The move was to be more in line with current windows file placement, especially since Vista seems to be less forgiving about it.

    -kdf

  4. #4
    Quote Originally Posted by kdf View Post
    c:\program files\squeezecenter\slim.exe --help

    consider using the --prefsdir and --cachedir options for the command line (edit the shortcut) or service (you should be able to edit the args in the services control panel).
    Thanks, I'll check into this. If it works, it's okay for me.
    //Terje.tel

  5. #5
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    18,931

    Moving out of "Documents and Settings"?

    > c:\program files\squeezecenter\slim.exe --help

    Make this squeezecenter.exe.

    BTW: why is the new location a problem for you? It's imho what MS would
    expect us to do.

    Michael

  6. #6
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    Moving out of "Documents and Settings"?

    >> c:\program files\squeezecenter\slim.exe --help
    >
    > Make this squeezecenter.exe.


    sorry. I keep forgetting which names are changed and which aren't. The
    whole path tends to type from muscle-memory now
    -kdf


  7. #7
    Quote Originally Posted by Michael Herger View Post
    > c:\program files\squeezecenter\slim.exe --help

    Make this squeezecenter.exe.

    BTW: why is the new location a problem for you? It's imho what MS would
    expect us to do.
    I tried this with sqeezecenter.exe, but couldn't get it to work. When I use the services.msc I have a field "Parameters:", but whatever I write there is not saved. So I went ahead and edited the ImagePath in registry for the squeezesvc directly, but that didn't work either. Before I restarted the service I moved all the directories to the new location and also edited any references I found in those files to match the new location.

    As for the move of location I guess that's fine for most users as it would make it easier to migrate settings when reinstalling or such. For me this is running as a service on a server and in that scenario a DB has nothing to do in D&S, the cache I guess shouldn't be there either if it is just that, a cache? As for the prefs they really should reside in Registry if it was up to M$, but I totally agree in the open multi platform file based approach. The reason for me to have it with the installation is that I replicate server based service (as SC) and I can start up the service on one of many servers.

    Anyway, I'm happy as long as I can move it back in some way, if that means editing registry for the service, some files or more that's fine for me.
    //Terje.tel

  8. #8
    Senior Member
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    10,072
    Quote Originally Posted by Terje View Post
    I tried this with sqeezecenter.exe, but couldn't get it to work. When I use the services.msc I have a field "Parameters:", but whatever I write there is not saved. So I went ahead and edited the ImagePath in registry for the squeezesvc directly, but that didn't work either.
    Tonight I ran the SC7 installer and then set SC to run as a service. I also can't get the service to reccognize the --prefsdir option when entered in the registry in the ImagePath key. Historically, I've run into a lot of problems getting command line options recognized by Slim/Squeeze/Server/Center when run as a service. The --logsdir option seems to work, but the --cachdir option also fails. Strangely, I get different results when running the Perl code, so I have no idea where/why/how this is failing. It's very inconsistent.

  9. #9
    Member
    Join Date
    May 2005
    Location
    Edmonton, AB
    Posts
    76
    Quote Originally Posted by Michael Herger View Post
    > c:\program files\squeezecenter\slim.exe --help

    Make this squeezecenter.exe.

    BTW: why is the new location a problem for you? It's imho what MS would
    expect us to do.

    Michael
    Sorry for the thread necromancy but as a recent upgrader from Slimserver to Squeezecenter I too have been puzzled about this change. This was the closest thread I could find. Unless I am very much missing something this new location now leaves all the prefs, cache, and logs open to being blown away by any old user. As a "server" this is not really the way to go. I also had set the service back to system one.

  10. #10
    Senior Member
    Join Date
    Feb 2007
    Posts
    489
    I think that the change is essentially required by Vista.
    Running under UAC (User Account Control) programs should no longer change files under Program Files folder
    Last edited by y360; 2008-03-10 at 01:01.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •