hello
I trying create a fully portable app launcher and I find some difficulties.
What I need is launch command before and after myportableapp.exe
sequence example:
1. command for windows firewall create exception
2. ProgramExecutable=myportableapp.exe
3. command for windows firewall delete exception
What I know so Launcher cant execute more than 1 exe/command at once
any advice?
You'll need to use custom code to handle that. It's detailed in the manual for the PA.c Launcher. You will need to learn some NSIS to be able to do it.
Sometimes, the impossible can become possible, if you're awesome!
Just remember a few points:
1) Adding/removing exceptions for Windows Firewall won't help you if another firewall is installed, they will still need to be manually handled.
2) If you run it on a computer where the current user doesn't have permission to add exceptions to Windows Firewall, it won't work.
3) If you are planning to post the app here as a beta test, I would advise against automating something like that as some users may not want to automatically allow access to the app on every computer on which the app is run.
I dont know about your question but please let me know if you find how to block portable apps with Windows default Firewall. Here: https://portableapps.com/node/38773 I asked it but it could not find anything..
Thanks
firewall exception command is only for EXAMPLE!
I simply need find a way how to execute more exe's or commands before and after launching main portable app.exe