Devans;178958 Wrote: 
> 
> * What version of Vista are you running? (Home Premium, Ultimate,
> etc.)  Also specify if it's 32-bit or 64-bit.
> * What version of Slimserver have you installed?
> * What error messages are you getting? (if any)
> * What additional Security software are you using? (Firewalls,
> Antivirus, etc.)
> * What happens if you try running Slim.exe manually from a DOS
> prompt?  (Cut and paste any errors.)
> 

1) Windows Vista Ultimate 32-bit
2) 6.5.1
3) None during installation (apart from the prompt to enter the admin
password and to open the firewall)
4) None apart from Windows Firewall
5) When running as admin I get:

Service successfully installed.
2007-02-09 00:48:12.3659 Warning: Migrating from 6.3.x used with
MySQL!

However, when running as a normal user I get this:

Install/Remove of the Service Denied!
That operation should be made by an user with Administrator
privileges!
2007-02-09 00:44:20.3466 ERROR: MySQLHelper: startServer() Couldn't
install MySQL as a service! Will run as a process!


As I have stated elsewhere in this forum non-admin users can't normally
start or stop services under Windows Vista. Based on various testing I
gather that slim.exe creates the services (both Slimserver and the
MySQL instance) when it first runs. Usually, slim.exe is first started
by an account with administrative privileges since slimtray is started
by the installer. The problem is that the user may uncheck the box at
the end of the installation which means that slimtray.exe will not run
slim.exe and no services are created. If the computer is then
restarted, slimtray.exe is started as a normal user and can not create
the services. This is not so bad for slim.exe since slimtray will just
run another process but MySQL will not start at all.

If you ask me you should make the installer create both services before
the installation ends (regardless of 'autostart'). It should also
programmatically change the security settings for the services so that
any user can start or stop them (by using QueryServiceObjectSecurity
and setting an appropriate ACL after having created the service with
CreateService). Finally, it should run slimtray, but not as admin, but
as the user who started the installation. I also wonder why you don't
make use of the dependencies setting for the services (it would make
sense for slim.exe to be dependent on the MySQL instance).

In addition to the above I also noticed some other things:

- When uninstalling, not all executables are stopped which prevents the
uninstaller from removing all files in the Slimserver program folder
- When installing, the music folder and playlist folder are the admin
folders, not the user who started the installtion


-- 
bergek

Transporter - Squeezebox 3 - Serener GS-L02 - Via EPIA SP8000 - Ubuntu
6.06 Server
------------------------------------------------------------------------
bergek's Profile: http://forums.slimdevices.com/member.php?userid=7805
View this thread: http://forums.slimdevices.com/showthread.php?t=32578

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to