Got Windows Firewall script working for both Xp and Windows 7
We have been having problems with Windows FW. rules not working. After a lot of testing and reading old threads in this forum we finaly got it working.
I have added an working example of our powershellscript for Ibm Spss 21 that detects withc layer RO and RW is located in when you run it as an on post activation scipt.
The important thing is to use small letters inside the brackets so SWV won't rewrite them in the registry(that will break everything).
Hope this will help other if they have the same problems we had.