Bugzilla – Bug 4254
Installer does not open Vista firewall
Last modified: 2008-12-18 11:12:12 UTC
It looks like the ports the installer opens get stored in a legacy area of the registry and ignored. I had to manually add slim.exe to the exceptions list.
This has been repaired, wrapping up this bug.
Fixed in 6.5.2, which is now released and available for download at http://www.slimdevices.com/su_downloads.html If you're still experiencing this bug, please re-open it!
This is still not working for me with the 6.5.2 build or newer. I have attempted the install on a number of different Vista systems and I always need to modify the firewall manually after the install. These Vista systems were using the default settings from the Vista install. Ross, are you still able to install successfully on VIsta without modifying the firewall?
Adding Mickey to the CC.
updating target as 6.5.2 is already done.
Triode, Ross seems to be able to easily reproduce this. Did you do anything that might have un-done your earlier fix? Could you have a look? The excitement about our bad Vista support has died down now, but I'd like to keep it dead if you know what I mean. Thanks.
This is the last bug I care about before releasing 6.5.3, really. :)
Chris - previous fixes didn't include anything related to opening firewall ports for Vista! (I use Norton myself) The installer includes some code to open firewall ports by writing to the registry keys: [Registry] ; ; The following keys open required SlimServer ports in the XP Firewall ; Root: HKLM; Subkey: SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List; ValueType: string; ValueName: "9000:TCP"; ValueData: "9000:TCP:*:Enabled:SlimServer 9000 tcp"; MinVersion: 0,5.01; Root: HKLM; Subkey: SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List; ValueType: string; ValueName: "3483:UDP"; ValueData: "3483:UDP:*:Enabled:SlimServer 3483 udp"; MinVersion: 0,5.01; Root: HKLM; Subkey: SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List; ValueType: string; ValueName: "3483:TCP"; ValueData: "3483:TCP:*:Enabled:SlimServer 3483 tcp"; MinVersion: 0,5.01; Root: HKLM; Subkey: SOFTWARE\SlimDevices\SlimServer; ValueType: string; ValueName: Path; ValueData: {app}; MinVersion: 0,5.01 Can someone look at the registry keys associated with the Vista firewall and identify what they are?
Looks like the way to do it may be via netsh: http://support.microsoft.com/kb/555914 Does the following work from an elavated command prompt? netsh advfirewall firewall add rule name="SlimServer_Inbound" description="SlimServer Allow Inbound" dir=in action=allow program="C:\Program Files\SlimServer\server\slim.exe"
Ah perhaps Ross was mistaken in marking it resolved, then? He's going to give your command line a try.
It works! I couldn't copy and paste, it gave me a parameter error message. But when I typed it in from the elevated command prompt it works! Note, elevated command prompt in Vista: Click start, type CMD and hit CTRL + SHIFT + ENTER, then Alt + C.
Ross - I've added something to the installer script in change 12312 to add this line at install time. Could you test the next 6.5 build to see if it does the right thing?
Thanks Dean for building 12320 for me. It works! Opens the firewall and a player can connect. Thanks Triode! Fixed with change 12319, again thanks Triode.