Common questions about using Actual Installer.
-
AKP
- Posts: 11
- Joined: Fri May 14, 2021 7:55 pm
Post
by AKP »
Hello
How can I use the installer to add my application to the Windows Firewall exceptions?
I found the following, but how to do it with the installer?
Code: Select all
netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes
-
Leo
- Site Admin
- Posts: 464
- Joined: Fri Jan 22, 2010 12:40 pm
Post
by Leo »
Try the following examples on the System / Commands page:
Code: Select all
File: powershell.exe
Parameters: netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes
Code: Select all
File: <SystemDir>\WindowsPowerShell\v1.0\powershell.exe
Parameters: netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes
-
AKP
- Posts: 11
- Joined: Fri May 14, 2021 7:55 pm
Post
by AKP »
Do you have to put the variables in quotation marks?
Code: Select all
netsh advfirewall firewall add rule name=<AppName> dir=in action=allow program=<MainExecutable> enable=yes
-
Leo
- Site Admin
- Posts: 464
- Joined: Fri Jan 22, 2010 12:40 pm
Post
by Leo »
yes