Creating an auto update function in an app

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2006
Posts: 24
Reputation: ishwar is an unknown quantity at this point 
Solved Threads: 0
ishwar's Avatar
ishwar ishwar is offline Offline
Newbie Poster

Creating an auto update function in an app

 
0
  #1
Aug 26th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: Creating an auto update function in an app

 
0
  #2
Aug 26th, 2006
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.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Re: Creating an auto update function in an app

 
0
  #3
Aug 26th, 2006
Use HTTP or FTP or something
(unless WF blocks those too. I wouldn't be surprised.)
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 24
Reputation: ishwar is an unknown quantity at this point 
Solved Threads: 0
ishwar's Avatar
ishwar ishwar is offline Offline
Newbie Poster

Re: Creating an auto update function in an app

 
0
  #4
Aug 26th, 2006
Then how come the latest programs like Adobe Photoshop, yahoo msngr have a auto update, and they work without WF blocking them.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: Creating an auto update function in an app

 
0
  #5
Aug 26th, 2006
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.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 24
Reputation: ishwar is an unknown quantity at this point 
Solved Threads: 0
ishwar's Avatar
ishwar ishwar is offline Offline
Newbie Poster

Re: Creating an auto update function in an app

 
0
  #6
Aug 26th, 2006
Originally Posted by WolfPack View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: Creating an auto update function in an app

 
0
  #7
Aug 26th, 2006
Originally Posted by ishwar View Post
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]

Originally Posted by ishwar View Post
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.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum


Views: 2085 | Replies: 6
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC