Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 61
  1. #31
    Senior Member
    Join Date
    May 2005
    Posts
    994
    I think there are 2 options you should try first before asking for user credentials at install time.

    1) The service currently runs under the Localsystem account which only has Guest privledges to network files so has problems with UNC shares.
    But it can be given higher privledges using the "Allow service to interact with desktop" option. This gives more privs to the service. It can be set at install time by setting
    HKLM\SYSTEM\CurrentControlSet\Services\SqueezeMySQ L\Type to 110(hex)

    or

    2) You can run the service as a Network service by setting the ObjectName key to NT Authority\NetworkService. That might also be better for network shares.

  2. #32
    Senior Member
    Join Date
    May 2005
    Posts
    994
    Just as an update. You should be able to find the users iTunes library at install time if the same user who installed iTunes is installing SC7 becuase the installer is running in the same user space.

    It's only afterwards that access becomes an issue for the service. In which case option 1 might help.


    I've just changed my Squeezecentre service to run under the NetworkService a/c by altering the ObjectName Reg key and rebooting. Everything seems to work fine. Squeezecentre started automatically. I just kicked off a resacan to confirm that it can see local files just fine and my external hard disk sprung to life.
    But I see that Scanner.exe is running under the SYSTEM account which may mean that UNC's are still an issue for the process.

  3. #33
    Junior Member MajorD's Avatar
    Join Date
    Nov 2005
    Location
    Northern Cali
    Posts
    24
    Let the default installation apply to the lowest common denominator; i.e. the average user who hears "Windows Service" and says "whaa?". I would vote to have the default installation as an application.

    The techy guys will soon enough figure out that there are plenty of great features that need a little tweaking, including the Service aspect. Maybe add an icon to the desktop for the Slim wiki. Add an extremely visible section within the wiki dedicated to SC's installation and configuration. I currently try to run everything as a Service and love the fact the Slim lets me do this.

    I would vote against complicating the installation program. As soon as you start mucking with the registry, it's been my experience that you start playing a bit with fire.

  4. #34
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,421

    Windows: service vs. application mode

    >>> (x) Start SqueezeCenter when I log in.
    >>> ( ) Start SqueezeCenter automatically when the computer starts.
    >>> ( ) Don't start SqueezeCenter automatically.

    >>
    >> I'd probably not even add the third option.

    >
    > Ideally, whatever options we choose here would be mirrored in the
    > tray application. We're close there. What we don't have is the
    > ability to get the user's credentials, right?


    You had this in your original draft - I only removed it to reduce the
    cited text. Sorry for the confusion.

    So... are we going the additional install wizard page way?

    --

    Michael

    -----------------------------------------------------------------
    http://www.herger.net/SlimCD - your SlimServer on a CD
    http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

  5. #35
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,421

    Windows: service vs. application mode

    > I would vote against complicating the installation program. As soon as
    > you start mucking with the registry, it's been my experience that you
    > start playing a bit with fire.


    Luckily enough we wouldn't have to add anything but the GUI part to the
    installer. All the funky part about registering the service to run under a
    given user account is already in place.

    In case we went the application way, I even considered adding a second
    simple wizard just to do the service registration.

    --

    Michael

    -----------------------------------------------------------------
    http://www.herger.net/SlimCD - your SlimServer on a CD
    http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

  6. #36
    Gadfly, Former Founder Slim Devices dean's Avatar
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    4,427

    Windows: service vs. application mode

    On Oct 26, 2007, at 2:08 PM, Michael Herger wrote:
    > So... are we going the additional install wizard page way?

    For now, I think it's our least evil choice.

    -ean


  7. #37
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,421

    Windows: service vs. application mode

    > But it can be given higher privledges using the "Allow service to
    > interact with desktop" option. This gives more privs to the service. It


    But as long as nobody is logged in, is there any desktop to interact with?
    I thought I had even tried accessing a user mounted network drive Z: and
    it didn't work while I was logged in.

    --

    Michael

    -----------------------------------------------------------------
    http://www.herger.net/SlimCD - your SlimServer on a CD
    http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

  8. #38
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,421

    Windows: service vs. application mode

    >> So... are we going the additional install wizard page way?
    > For now, I think it's our least evil choice.


    Ok, then I'll try to come up with an added page in the installer. Stay
    tuned.

    --

    Michael

    -----------------------------------------------------------------
    http://www.herger.net/SlimCD - your SlimServer on a CD
    http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

  9. #39
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,421
    Dean - could you please come up with a reasonable caption and description?
    Michael

    "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
    (LMS: Settings/Information)

  10. #40
    Senior Member JJZolx's Avatar
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    11,536
    Quote Originally Posted by mherger View Post
    Dean - could you please come up with a reasonable caption and description?
    The screenshot suggests that the installer will _require_ a username and password in order to be installed as a service. That's not reasonable. It should be permitted to run the service under the local SYSTEM account.

Posting Permissions

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