ReadMe.txt (1438B)
1 liteFirewall 1.0 -- based on nsisFirewall 1.2 2 3 http://liangsun.info/portfolio/nsis-plugin-litefirewall/ 4 http://nsis.sourceforge.net/LiteFirewall_Plugin 5 6 --------------------------------------------------------- 7 liteFirewall resolved the issue nsisFirewall exists on Vista/Windows 7 platforms. 8 It support the profiles (private, domain, public) of firewall rules. 9 It support Unicode NSIS, while another firewall plugin SimpleFC not. 10 ------------------------------------------------------------ 11 12 Usage 13 ---------------------------------------------------------- 14 liteFirewall::AddRule "<application path>" "<rule name>" 15 liteFirewall::RemoveRule "<application path>" "<rule name>" 16 17 <application path> is the full path to the application you want to be authorized to 18 access the network (or accept incoming connections) 19 20 <rule name> is the title that will be given to this exception entry in the firewall 21 control panel list 22 23 24 Notes 25 ----- 26 1) Your installer must be run with administrator rights for liteFirewall to work 27 2) When compiling with more recent compiler than VC60, you need to choose the compilation 28 option to use static MFC library. 29 30 Sample scripts 31 -------------- 32 33 ; Add NOTEPAD to the authorized list 34 liteFirewall::AddRule "$WINDIR\Notepad.exe" "liteFirewall Test" 35 Pop $0 36 37 ; Remove NOTEPAD from the authorized list 38 liteFirewall::RemoveRule "$WINDIR\Notepad.exe" "liteFirewall Test" 39 Pop $0