You are here

Windows firewall warning in NSIS in MaximaPortable

8 posts / 0 new
Last post
wmacevoy
wmacevoy's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2009-02-20 00:12
Windows firewall warning in NSIS in MaximaPortable

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?

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 41 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

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!

alpha1
alpha1's picture
Offline
Last seen: 7 years 7 months ago
Joined: 2007-07-08 20:02
you could probably write an

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.

Jacob Mastel
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2007-06-13 19:36
I could probably do something like that....

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

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 41 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Bad Idea

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!

alpha1
alpha1's picture
Offline
Last seen: 7 years 7 months ago
Joined: 2007-07-08 20:02
I was thinking more along the

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.

Jacob Mastel
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2007-06-13 19:36
I wasn't thinking about doing it for everything..

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

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 41 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Absolutely Not

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!

Log in or register to post comments