Bugzilla – Bug 6140
Unattended setup failed
Last modified: 2009-07-31 10:15:18 UTC
Unattended setup failed on the Server Core version of Windows Server 2008 (RC0). The first startup of the SqueezeCenter Service after an (unattended) installation fails because of a missing registry key. On Server Core there are no HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Data key with the value C:\ProgramData, because the Server Core version don't have a desktop (no explorer) The C:\ProgramData folder does exists per default and there are a environment variable called ProgramData with the value C:\ProgramData.
SqueezeCenter Version: 7.0 - 14627 - Windows Server 2008 - EN - cp1252 Perl Version: 5.8.8 MSWin32-x86-multi-thread MySQL Version: 5.0.22-community-nt Platform Architecture: 586
The missing key is "Common AppData" NOT "Common Data"
Do you have a %PROGRAMDATA% environement variable? could you please provide me with a complete dump of the environment ("set")?
Complete dump of the environment: ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Administrator\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=SERVER-2008CORE ComSpec=C:\Windows\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\Administrator LOCALAPPDATA=C:\Users\Administrator\AppData\Local LOGONSERVER=\\SERVER-2008CORE NUMBER_OF_PROCESSORS=1 OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 2, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0f02 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files PROMPT=$P$G PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\ADMINI~1\AppData\Local\Temp\1 TMP=C:\Users\ADMINI~1\AppData\Local\Temp\1 USERDOMAIN=SERVER-2008CORE USERNAME=Administrator USERPROFILE=C:\Users\Administrator windir=C:\Windows
Thanks for the feedback! I've added detection of %ProgramData% in change 15413, which should be in the 18-12 build. Could you please give it a try?
Tried SqueezeCenter_trunk_v2007-12-18 on a "fresh" (Virtual PC) installation of Windows Server 2008 Server Core. Working perfect. Data (Cache, Logs, prefs) are now placed under the c:\ProgramData\SqueezeCenter folder
Thanks for the feedback!
This bug has now been fixed in the 7.1 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC