Рабочий вариант:
Код:

Select
Case @OSVersion='WIN_XP' and @OSServicePack='Service Pack 2'
RunWait('netsh firewall add allowedprogram program="'&@ProgramFilesDir&'\InterVideo\DVD7\WinDVD.exe" name=WinDVD7 profile=ALL mode=ENABLE ','',@SW_HIDE )
Case @OSVersion='WIN_2003' and @OSServicePack='Service Pack 1'
RunWait('netsh firewall add allowedprogram program="'&@ProgramFilesDir&'\InterVideo\DVD7\WinDVD.exe" name=WinDVD7 profile=ALL mode=ENABLE ','',@SW_HIDE )
EndSelect