943,543 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2688
  • C RSS
Aug 26th, 2006
0

Creating an auto update function in an app

Expand Post »
Hi ppl,

I am creating a program that will update itself through the internet.

I am creating a windows app.
Can I use winsock to do this , without the "Windows Firewall has blocked this program" dialogue?

Ishwar
Last edited by ishwar; Aug 26th, 2006 at 8:40 am.
Similar Threads
Reputation Points: 8
Solved Threads: 0
Newbie Poster
ishwar is offline Offline
24 posts
since Jul 2006
Aug 26th, 2006
0

Re: Creating an auto update function in an app

No I don't think so. The windows firewall is external to your program. So unless you have administrative rights to unblock the port that the program needs to update itself, the Windows firewall will block it. Sometimes antivirus programs also may block certain ports.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Aug 26th, 2006
0

Re: Creating an auto update function in an app

Use HTTP or FTP or something
(unless WF blocks those too. I wouldn't be surprised.)
Reputation Points: 17
Solved Threads: 5
Posting Whiz in Training
mmiikkee12 is offline Offline
274 posts
since Oct 2004
Aug 26th, 2006
0

Re: Creating an auto update function in an app

Then how come the latest programs like Adobe Photoshop, yahoo msngr have a auto update, and they work without WF blocking them.
Reputation Points: 8
Solved Threads: 0
Newbie Poster
ishwar is offline Offline
24 posts
since Jul 2006
Aug 26th, 2006
0

Re: Creating an auto update function in an app

I don't know about Adobe update, but Windows Firewall definitely blocks Yahoo Messenger. The same for Windows Messenger too. The administrator should unblock it.

By the way, what is the big deal? Once you unblock it once, Windows Firewall won't trouble you again.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Aug 26th, 2006
0

Re: Creating an auto update function in an app

Click to Expand / Collapse  Quote originally posted by WolfPack ...
I don't know about Adobe update, but Windows Firewall definitely blocks Yahoo Messenger. The same for Windows Messenger too. The administrator should unblock it.

By the way, what is the big deal? Once you unblock it once, Windows Firewall won't trouble you again.
This program is kind of a chat system

Ok , but this program runs evrytime a user logs in , so evry time a user logs in , he/she has to unblock it?

Can't you unblock it once you install it, and WF will never bother you again for the rest of your life?

Yours,

Ishwar
Last edited by ishwar; Aug 26th, 2006 at 5:27 pm.
Reputation Points: 8
Solved Threads: 0
Newbie Poster
ishwar is offline Offline
24 posts
since Jul 2006
Aug 26th, 2006
0

Re: Creating an auto update function in an app

Click to Expand / Collapse  Quote originally posted by ishwar ...
Ok , but this program runs evrytime a user logs in , so evry time a user logs in , he/she has to unblock it?
Running a chat system every time a user logs in to the computer is bad practice unless the user explicitly wants it to do so. So you should provide an option for the user to check/uncheck this feature. However if the administrator has unblocked it, the user won't have to unblock it every time he/she logs in.[/quote]

Click to Expand / Collapse  Quote originally posted by ishwar ...
Can't you unblock it once you install it, and WF will never bother you again for the rest of your life?
Windows Firewall does not block a program when you install it. It blocks a program the first time the program tries to accept an unsolicited incoming connection. But if the administrator unblocks it, it won't trouble you again. However this cannot be done at installation time. It should be done at the initial execution. In any case this is a manual process and not a programable process. All depends on whether the administrator permits the program.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: String splitter
Next Thread in C Forum Timeline: Inserting Values into a .csv file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC