Jack Skelley <[email protected]> wrote:

>Tracy:
>I tried the Inno Setup but I couldn't make it work and had little time
>to investigate the reason so I stuck with installsheild which works ok
>for me.
>Thanks for the code. My guess is that this blocks the firewall for the
>execution of the program and then when the program closes the firewall
>is re-enabled with
>thisform.firewallaccess = .t. on program exit.
>I will try this on my Win 7 box.
>Thanks again!
>Best regards,
>Jack
>
>Jack,
>

You'll need to go a little further with the COM object. There are many options 
on setting an exception in the firewall. I open the port, and give the 
exception a meaningful name.
The code I pasted is from the forms init. It determines if access to the COM 
object is available.
Some of my clients would want to run me up a flagpole if I released the whole 
executable instead of the single port. Most wouldn't know the difference.

Inno has it's challenges. Installing a Windows service was interesting. I've 
done some other strange things I never expected to do in an installer.

How do you want the firewall configured. I'll post the netsh command and a VFP 
method.
-- 
Tracy Pearson
PowerChurch Software

Sent from my Android phone with K-9 Mail. 

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to