Bug 6140 - Unattended setup failed
: Unattended setup failed
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Installer
: 7.0
: PC Other
: P2 normal (vote)
: 7.x
Assigned To: Michael Herger
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-12 09:28 UTC by Ole Soellingvraa
Modified: 2009-07-31 10:15 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Soellingvraa 2007-11-12 09:28:41 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.
Comment 1 Ole Soellingvraa 2007-11-12 09:36:10 UTC
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

Comment 2 Ole Soellingvraa 2007-11-20 12:01:33 UTC
The missing key is "Common AppData" NOT "Common Data"
Comment 3 Michael Herger 2007-12-17 04:51:03 UTC
Do you have a %PROGRAMDATA% environement variable? could you please provide me with a complete dump of the environment ("set")?
Comment 4 Ole Soellingvraa 2007-12-17 06:58:46 UTC
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
Comment 5 Michael Herger 2007-12-18 02:48:23 UTC
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?
Comment 6 Ole Soellingvraa 2007-12-18 09:16:50 UTC
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
Comment 7 Michael Herger 2007-12-18 14:46:53 UTC
Thanks for the feedback!
Comment 8 Chris Owens 2008-07-30 15:30:08 UTC
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.
Comment 9 Chris Owens 2009-07-31 10:15:18 UTC
Reduce number of active targets for SC