MaximaPortable has two applications connected by a socket: maxima.exe and the wxmaxima.exe GUI. When the portable launches in Windows XP I get the following popup:
Windows Security Alert To help protect your computer, Windows Firewall has blocked some features of this program. Your computer administrator can unblock this program for you. Name: wxMaxima Publisher: Unknown [ ] For this program, don't show this message again [OK] --- Windows Firewall has blocked this program from accepting connections from the Internet or a network. If you recognize the program or trust the publisher, you can unblock it. When should I unblock a program?
The application actually works fine with the outside connections blocked; it really should be run in this manner. How can I suppress this warning when launching the portable app? There must be an NSIS script to change this temporarily, effectively checking the checkbox. Any pointers out there?
Windows doesn't like apps that communicate via sockets like that (it's uncommon unlike in other operating systems). The Windows firewall will show this warning. Some other firewalls like Comodo block apps like that. There's nothing you can do about it short of rewriting the app to not use this method of communicating.
Sometimes, the impossible can become possible, if you're awesome!
you could probably write an AHK(auto hot key) script to take care of it, see if JacobMastel pops up soon, he's good with AHK
Lead, Follow, or get out of the way.
I can't make it rewrite the program or change how it connects to the internet by any means but I could probably make it launcher the app, wait for the firewall window to show up and automatically allow/kill the firewall window. wmacevoy: If you could give me some more info on what causes what I could pull something for you.
Release Team Member
Trying to auto-dismiss firewall messages is malware-like behavior, unfriendly to the end user and not something we engage in.
Sometimes, the impossible can become possible, if you're awesome!
I was thinking more along the lines of a popup that you would like hit ok on and it would let it through the firewall for you, would that be possible and a good idea?
Lead, Follow, or get out of the way.
My thought was simply launch the specified app wait for the firewall and auto allow it. It wouldn't affect any other apps. I could probably do it in under 10 lines of code.
Release Team Member
Doing it at all is malware-like and is likely to get your app branded as such by others. Auto-dismissing security warnings is bad form.
To be perfectly clear, we will not allow any app that does the above behavior to become official in any way.
Sometimes, the impossible can become possible, if you're awesome!